login
Header Space

 
 

2.6.25-rc8-mm1 - BUG: scheduling while atomic: swapper/0/0xffffffff

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, <mingo@...>
Cc: <linux-kernel@...>
Date: Monday, April 7, 2008 - 2:21 am

On Tue, 01 Apr 2008 21:32:14 PDT, Andrew Morton said:

Been seeing these crop up once in a while - can take hours after a reboot
before I see the first one, but once I see one, I'm likely to see more, at
a frequency of anywhere from ~5seconds to ~10 minutes between BUG msgs.

BUG: scheduling while atomic: swapper/0/0xffffffff
Pid: 0, comm: swapper Tainted: P          2.6.25-rc8-mm1 #4

Call Trace:
 [<ffffffff8020b2f4>] ? default_idle+0x0/0x74
 [<ffffffff8022be19>] __schedule_bug+0x5d/0x61
 [<ffffffff80552aea>] schedule+0x11a/0x9e4
 [<ffffffff805536ce>] ? preempt_schedule+0x3c/0xaa
 [<ffffffff802480f1>] ? hrtimer_forward+0x82/0x96
 [<ffffffff804600a4>] ? cpuidle_idle_call+0x0/0xd5
 [<ffffffff8020b2f4>] ? default_idle+0x0/0x74
 [<ffffffff8020b2e0>] cpu_idle+0xf6/0x10a
 [<ffffffff80540cb2>] rest_init+0x86/0x8a

Eventually, I end up with a basically hung system, and need to alt-sysrq-B.

Yes, I know it's tainted, and it's possible the root cause is a self-inflicted
buggy module - but the traceback above seems odd.  Did some of my code manage
to idle the CPU while is_atomic was set, or is the path from cpu_idle on down
doing something it shouldn't be?

(I admit being confused - if my code was the source of the is_atomic error,
shouldn't it have been caught on the *previous* call to schedule - the one
that ran through all the queues and decided we should invoke idle?
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.25-rc8-mm1, Andrew Morton, (Wed Apr 2, 12:32 am)
2.6.25-rc8-mm1 - BUG: scheduling while atomic: swapper/0/0xf..., , (Mon Apr 7, 2:21 am)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Tilman Schmidt, (Thu Apr 3, 7:08 pm)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Andrew Morton, (Thu Apr 3, 7:17 pm)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Tilman Schmidt, (Sun Apr 13, 8:28 pm)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Tilman Schmidt, (Tue Apr 15, 7:33 pm)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Andrew Morton, (Sun Apr 13, 10:05 pm)
Re: 2.6.25-rc8-mm1: Intel SATA boot failure, Tilman Schmidt, (Wed Apr 9, 10:29 am)
Re: 2.6.25-rc8-mm1, Dave Airlie, (Thu Apr 3, 8:11 am)
Re: 2.6.25-rc8-mm1, Andrew Morton, (Thu Apr 3, 12:59 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Josef Bacik, (Wed Apr 2, 3:27 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Stephen Smalley, (Thu Apr 3, 2:25 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Andrew Morton, (Wed Apr 2, 3:39 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Stephen Smalley, (Thu Apr 3, 2:18 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Jan Kara, (Fri Apr 4, 6:15 am)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c', Josef Bacik, (Fri Apr 4, 8:53 am)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, James Morris, (Thu Apr 3, 7:02 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Stephen Smalley, (Fri Apr 4, 8:46 am)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, James Morris, (Sun Apr 6, 7:54 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Josef Bacik, (Wed Apr 2, 3:41 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Andrew Morton, (Wed Apr 2, 3:30 pm)
Re: 2.6.25-rc8-mm1 - BUG in fs/jbd/transaction.c, Jan Kara, (Thu Apr 3, 4:57 am)
Re: 2.6.25-rc8-mm1 sparc64 build problem: size of array 'typ..., Mariusz Kozlowski, (Wed Apr 2, 12:20 pm)
Re: 2.6.25-rc8-mm1, Miles Lane, (Wed Apr 2, 6:49 am)
RE: 2.6.25-rc8-mm1, Chatre, Reinette, (Wed Apr 2, 12:58 pm)
Re: 2.6.25-rc8-mm1, , (Wed Apr 2, 3:15 pm)
Re: 2.6.25-rc8-mm1, , (Wed Apr 2, 7:08 am)
[BUG] 2.6.25-rc8-mm1 kernel panic while bootup on powerpc, Kamalesh Babulal, (Wed Apr 2, 2:25 am)
Re: 2.6.25-rc8-mm1, , (Wed Apr 2, 2:04 am)
Re: 2.6.25-rc8-mm1, Andrew Morton, (Wed Apr 2, 2:15 am)
Re: 2.6.25-rc8-mm1, Dmitri Vorobiev, (Wed Apr 2, 1:40 am)
Re: 2.6.25-rc8-mm1, Andrew Morton, (Wed Apr 2, 2:03 am)
Re: 2.6.25-rc8-mm1 (mips build failure), Christoph Lameter, (Wed Apr 2, 1:33 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Andrew Morton, (Wed Apr 2, 2:29 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Christoph Lameter, (Wed Apr 2, 2:33 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Sam Ravnborg, (Wed Apr 2, 3:06 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Ralf Baechle, (Thu Apr 3, 12:02 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Christoph Lameter, (Thu Apr 3, 6:17 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Ralf Baechle, (Fri Apr 4, 6:24 am)
Re: 2.6.25-rc8-mm1 (mips build failure), Christoph Lameter, (Fri Apr 4, 1:36 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Christoph Lameter, (Fri Apr 4, 1:50 pm)
Re: 2.6.25-rc8-mm1 (mips build failure), Dmitri Vorobiev, (Thu Apr 3, 7:26 pm)
speck-geostationary