"scheduling while atomic: kworker" kernel errors

I’m running Ubuntu 11.10-r5 (uname -a says “Linux omap 3.2.0-psp1 #1 Fri Feb 3 15:15:23 UTC 2012 armv7l armv7l armv7l GNU/Linux”) on a BeagleBone, and have seen the following message in /var/log/kern.log:

Jul 19 14:39:32 omap kernel: [ 101.736571] BUG: scheduling while atomic: kworker/0:1/19/0x00000000
Jul 19 14:39:32 omap kernel: [ 101.743205] Modules linked in:
Jul 19 14:39:32 omap kernel: [ 101.743217] Backtrace:
Jul 19 14:39:32 omap kernel: [ 101.743284] [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
Jul 19 14:39:32 omap kernel: [ 101.743300] r6:cf3bb000 r5:c06ee1c8 r4:00000000 r3:60050013
Jul 19 14:39:32 omap kernel: [ 101.743330] [] (dump_stack+0x0/0x1c) from [] (__schedule_bug+0x58/0x64)
Jul 19 14:39:32 omap kernel: [ 101.743359] [] (__schedule_bug+0x0/0x64) from [] (__schedule+0x50/0x43c)
Jul 19 14:39:32 omap kernel: [ 101.743373] r4:cf91c400 r3:00000000
Jul 19 14:39:32 omap kernel: [ 101.743394] [] (__schedule+0x0/0x43c) from [] (schedule+0x78/0x7c)
Jul 19 14:39:32 omap kernel: [ 101.743423] [] (schedule+0x0/0x7c) from [] (worker_thread+0x2a4/0x2b4)
Jul 19 14:39:32 omap kernel: [ 101.743452] [] (worker_thread+0x0/0x2b4) from [] (kthread+0x90/0x98)
Jul 19 14:39:32 omap kernel: [ 101.743484] [] (kthread+0x0/0x98) from [] (do_exit+0x0/0x64c)
Jul 19 14:39:32 omap kernel: [ 101.743498] r6:c003aca4 r5:c004f848 r4:cf83dee8

This repeats hundreds of times. After 60 seconds the processor resets, due to the watchdog timer (which I’ve enabled). Thereafter the system appears to have gone into a cycle of resetting, although the above message doesn’t show up again.

Are there any known issues like this? A search hasn’t turned up any problems with kworker on the Beaglebone.

Thanks,
Peter Woo

Hi Peter,

I'm running Ubuntu 11.10-r5 (uname -a says "Linux omap 3.2.0-psp1 #1 Fri Feb
3 15:15:23 UTC 2012 armv7l armv7l armv7l GNU/Linux") on a BeagleBone, and
have seen the following message in /var/log/kern.log:

That release was very early into 3.2.x can you please reset via
upgrading, to 3.2.23-psp19...

On BeagleBone:

wget http://rcn-ee.net/deb/oneiric-armel/v3.2.23-psp19/install-me.sh
/bin/bash install-me.sh

(restart board)

Regards,

Robert,

Thanks for the tip. Is there a release between 3.2.0-psp1 and 3.2.23-psp19 that addressed a kworker issue, specifically, or are you just advising in general that I keep my distro. up to date?

Thanks again,
Peter

Oh, there's about 18 release's between those, starting back on Feb 2nd
with psp1 along with 23 mainline stable patches...

So, i'd upgrade to see if the issue is fixed, if it's not, you can
always stay with what your running now as the files will be backed
up...

Regards,