Repository navigation
Open
Description
I'm having some issues where my Pi freezes completely.
It is crashing 4 times a day !!!!! Only thing I can do is to unplug/replug to reboot it.
The Pi is still responding to ping commands, but all the rest is unresponsive (no SSH either, so I can't look at logs/processes when it actually happens).
Syslog:
Jan 4 15:43:28 raspberrypi kernel: [ 4036.445856] Bluetooth: hci0: advertising data len corrected 30 -> 3
Jan 4 15:44:00 raspberrypi kernel: [ 4298.740680] INFO: task kworker/1:2:13023 blocked for more than 122 seconds.
Jan 4 15:44:31 raspberrypi kernel: [ 4298.740706] Tainted: G C 5.10.3-v7+ #1386
Jan 4 15:45:05 raspberrypi kernel: [ 4298.740718] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 4 15:45:38 raspberrypi kernel: [ 4298.740732] task:kworker/1:2 state:D stack: 0 pid:13023 ppid: 2 flags:0x00000000
Jan 4 15:46:03 raspberrypi kernel: [ 4298.740778] Workqueue: events_freezable mmc_rescan
Jan 4 15:46:36 raspberrypi kernel: [ 4298.740800] Backtrace:
kern.log:
Jan 4 15:09:06 raspberrypi kernel: [ 2240.848751] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:22:49 raspberrypi kernel: [ 3063.594965] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:22:49 raspberrypi kernel: [ 3063.595133] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:22:49 raspberrypi kernel: [ 3063.595214] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:22:49 raspberrypi kernel: [ 3063.595324] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:38:21 raspberrypi kernel: [ 3996.197103] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:38:21 raspberrypi kernel: [ 3996.197284] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:38:21 raspberrypi kernel: [ 3996.197332] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:38:21 raspberrypi kernel: [ 3996.197451] Bluetooth: hci0: Frame reassembly failed (-84)
Jan 4 15:43:28 raspberrypi kernel: [ 4036.445856] Bluetooth: hci0: advertising data len corrected 30 -> 3
Jan 4 15:44:00 raspberrypi kernel: [ 4298.740680] INFO: task kworker/1:2:13023 blocked for more than 122 seconds.
Jan 4 15:44:31 raspberrypi kernel: [ 4298.740706] Tainted: G C 5.10.3-v7+ #1386
Jan 4 15:45:05 raspberrypi kernel: [ 4298.740718] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 4 15:45:38 raspberrypi kernel: [ 4298.740732] task:kworker/1:2 state:D stack: 0 pid:13023 ppid: 2 flags:0x00000000
Jan 4 15:46:03 raspberrypi kernel: [ 4298.740778] Workqueue: events_freezable mmc_rescan
Jan 4 15:46:36 raspberrypi kernel: [ 4298.740800] Backtrace:
Jan 4 15:40:12 raspberrypi kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Jan 4 15:40:12 raspberrypi kernel: [ 0.000000] Linux version 5.10.3-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1386 SMP Sun Dec 27 14:01:57 GMT 2020
My Pi seems to be fully up-to-date as I've performed following already:
- rpi-update
- apt full-upgrade (with apt update before of course)
I'm completely desperate in this case...
My only option I'm evaluating now is to step away from the Pi and go with a full-fledged server :-(
Metadata
Metadata
Assignees
Labels
No labels
Activity
pelwell commentedon Jan 4, 2021
titiviking commentedon Jan 4, 2021
Are you using Bluetooth, and if so for what?
Yes I am. Used to fetch info from a Bluetooth sensor. Data is displayed in Home Assistant.
What's in your config.txt?
What power supply are you using?
I'm using the USB output of my NAS or TPLink router.
(Now I'm making a tast with real power plug to see if it offers any stability)
What external equipment is attached?
None.
Additional info on current running processes (after 10min of runtime):
popcornmix commentedon Jan 4, 2021
This is likely to be the issue. Not guaranteed to get more than 500mA from a USB port which isn't enough for any model of Pi (which Pi model is it?)
titiviking commentedon Jan 4, 2021
It's a Raspberry Pi 3B
JamesH65 commentedon Jan 4, 2021
For power requirements see this page. https://github.com/raspberrypi/documentation/tree/master/faqs
titiviking commentedon Jan 4, 2021
Issue reoccured now... Pi was properly powered through the provided adapter.
kern.log:
Any way we can find out what is causing this ?
titiviking commentedon Feb 4, 2021
I was able to solve the issues, but it required a small investment...
I did the following:
In order to attach the SSD I got an adapter board from amazon
.
All3xJ commentedon Apr 24, 2022
I still have this bug with 5.15.30-v8+ 64 bit Raspberry Pi 3B+.... the system freezed and resumed after 3 hours of freeze.
Here are journalctl logs:
journalctl.txt
pelwell commentedon Apr 28, 2022
Your system is struggling because there is insufficient power getting to the processor.
All3xJ commentedon Apr 29, 2022
I have these logs all the time, always.... and it never happened that it completely freezed for 3 hours, so I don't think that this is the real reason. I followed this workaround: https://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/
sresam89 commentedon Mar 3, 2024
I can confirm the same occurs on newer firmware too. Started happening after I migrated from 32-bit to 64-bit OS
RPI4 2GBRAM & its original power supply
Using Brand new 64GB samsung evo sd card. (Switched to a new card since 64 bit OS crash started)
Default partition size done by RPiOS flash tool.
No Wifi, hardwired to network.
No USB accessories, running headless (not while debugging the hanging state)
Occurs every two to three hours, hangs up and waits for forced reboot via removing power. Console, network-ping, everything becomes unresponsive.
Tried the solutions recommended in this post
no luck there