Page 1 of 1

Eleven RPI4 headless freezes from time to time

Posted: Mon May 11, 2020 12:46 pm
by FrankS
Hi,

i have a problem with eleven RPI4 2GB in headless mode. After a start it takes 24h, sometimes a few days an the the PRI freezes. Which means the it is not possible to connect via ssh. Even a ping shows that the PRI is not available. A quick look on the Ethernet switch shows that the ARP entry is not available anymore. After some hours the RPI is available again and the journald shows the following message:

additional Software: telegraf 1.14.2 from Influx repo

Mai 11 12:24:52 LD-RP-VE kernel: rcu: INFO: rcu_sched self-detected stall on CPU
Mai 11 12:24:52 LD-RP-VE kernel: rcu: 1-...!: (1514818 ticks this GP) idle=7de/1/0x40000002 softirq=268690/268690 fqs=0
Mai 11 12:24:52 LD-RP-VE kernel: rcu: (t=1514820 jiffies g=914557 q=260)
Mai 11 12:24:52 LD-RP-VE kernel: rcu: rcu_sched kthread starved for 1514820 jiffies! g914557 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=3
Mai 11 12:24:52 LD-RP-VE kernel: rcu: RCU grace-period kthread stack dump:
Mai 11 12:24:52 LD-RP-VE kernel: rcu_sched R running task 0 10 2 0x00000000
Mai 11 12:24:52 LD-RP-VE kernel: [<c0997424>] (__schedule) from [<c0997a94>] (schedule+0x50/0xa8)
Mai 11 12:24:52 LD-RP-VE kernel: [<c0997a94>] (schedule) from [<c099ba4c>] (schedule_timeout+0x1d0/0x
..
..
Mai 11 12:24:52 LD-RP-VE systemd[1]: systemd-udevd.service: Watchdog timeout (limit 3min)!
Mai 11 12:24:52 LD-RP-VE rngd[245]: stats: bits received from HRNG source: 640064
Mai 11 12:24:52 LD-RP-VE systemd[1]: systemd-udevd.service: Killing process 8038 (systemd-udevd) with signal SIGABRT.
Mai 11 12:24:52 LD-RP-VE rngd[245]: stats: bits sent to kernel pool: 595360
Mai 11 12:24:52 LD-RP-VE systemd[1]: systemd-journald.service: Watchdog timeout (limit 3min)!
Mai 11 12:24:52 LD-RP-VE rngd[245]: stats: entropy added to kernel pool: 595360
Mai 11 12:24:52 LD-RP-VE systemd[1]: systemd-journald.service: Killing process 8019 (systemd-journal) with signal SIGABRT.

After this everything works perfectly again.

What i have done so far without success:

- Install different stable kernel (latest and 4.19.75-v7l+)
- Update from dietpi 6.28 to dietpi 6.29.2
- Check firmware
- remove all X11 stuff
- remove RPI

remark: I use original SanDisk 32GB.

I hope that someone can help me to find a solution in the issue.
thx

br frank

Re: Eleven RPI4 headless freezes from time to time

Posted: Wed May 13, 2020 12:05 am
by Joulinar
Hi,

many thanks. Not sure if this is related to DietPi. Mayby more the underlying Raspbian Kernel. I found similar report on Raspberry PI forums. Unfortunately no solution provided.

https://www.raspberrypi.org/forums/view ... p?t=259145