kernel error "BUG: scheduling while atomic"

Bug #1197932 reported by gregor herrmann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
Fix Released
Undecided
Unassigned

Bug Description

When I tried linux-image-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi2) instead of the foundation's 3.6.11+ kernel for the first time a few days ago, I got kernel errors right from the reboot

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://patchwork.kernel.org/patch/2270131/
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"

Revision history for this message
gregor herrmann (gregoa) wrote :
Revision history for this message
Diederik (didi-debian) wrote :

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?

Changed in raspbian:
status: New → Incomplete
Revision history for this message
gregor herrmann (gregoa) wrote :

Right, I think it can be closed. I haven't seen this problem in quite some time when using the official raspbian-kernels.

Thanks for your bug triaging work :)

Revision history for this message
Diederik (didi-debian) wrote :

Thanks for the quick response :)

1 down, 176 to go ... LOL

Changed in raspbian:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.