kernel error "BUG: scheduling while atomic"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I tried linux-image-
kernel: [ $time] BUG: scheduling while atomic: $process/...
every other second, where $process was any newly started or already running process on the raspi. [0]
After a few minutes the system would either hang or reboot.
After a bit of searching on the web, I stumbled upon the patch in
https:/
added it to the source package, rebuilt the kernel package (wow, that takes forever on the pi!), and since the reboot into this kernel I don't see those errors anymore.
I'm not sure if this really was the problem, if this really is the fix etc. The patch also is not in the foundation's kernel, and nevertheless I didn't see the kernel problems there. I haven't checked Debian kernel sources ...
So I'm not sure how helpful this is alltogether but I thought I'd report my findings.
I'm attaching the debdiff [1] for easier testability.
Cheers,
gregor
[0]
syslog shows 42 different processes from A like apache_processes (munin) until Z like zsh.
[1]
"time ... 59:58.30 total"
Hi gregor!
It looks like 'your' patch has been included in the linux-image- 3.18.0- trunk-rpi kernel package already (and maybe even earlier then that).
Do you still want to keep this issue open or can we close it as fixed?