derykmarl
Posts: 9
Joined: Wed Dec 13, 2017 3:33 pm

Panic on boot 9/10 times: "attempted to kill the idle task"

Wed Apr 18, 2018 10:18 am

Two different Pis (3B) with different PSUs and cables, both running Raspbian.

As of the latest round of "apt-get update, apt-get upgrade", about 9 out of 10 boots of either of the Pis crashes with "Kernel panic - not syncing: Attempted to kill the idle task!" as in this screen:

Image

If you keep unplugging the Pi and plugging it back in, occasionally (about 1 in 10 times) the splash screen will come up and it'll boot normally.

The only "cause" I can think of is that we're using read-only booting (they're for displays that get turned off at the wall, so we use an overlay to protect the filesystem) as per this thread: viewtopic.php?t=161416
I did of course generate a new initrd7.img when the kernel updated.
Just wondering if something has changed that makes this method unstable...

derykmarl
Posts: 9
Joined: Wed Dec 13, 2017 3:33 pm

Re: Panic on boot 9/10 times: "attempted to kill the idle task"

Thu Apr 19, 2018 10:10 am

This is it: viewtopic.php?f=29&t=197689

Adding dwc_otg.fiq_enable=0 and dwc_otg.fiq_fsm_enable=0 to /boot/cmdline.txt as per paul433's comment appears to have either worked around the problem or at least made it a lot more stable.

Return to “Troubleshooting”