Mailinglist Archive: opensuse-kernel (77 mails)

< Previous Next >
Re: [opensuse-kernel] scheduling while atomic with 2.6.31.8
Hi Andreas,

On Tue, Dec 15, 2009 at 01:24:45PM +0100, Andreas Jaeger wrote:
I saw with 2.6.31.7 and now again with 2.6.31.8 some OOPS during boot.
Should
I open a bugreport for this? Does this happen for others as well?

I've never seen this. Did you get to the bottom of it yet?


Andreas
[ 0.003261] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes)
[ 0.004593] Inode-cache hash table entries: 131072 (order: 8, 1048576
bytes)
[ 0.005509] Mount-cache hash table entries: 256
[ 0.006207] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.006211] CPU: L2 cache: 4096K
[ 0.006216] CPU 0/0x0 -> Node 0
[ 0.006219] CPU: Physical Processor ID: 0
[ 0.006222] CPU: Processor Core ID: 0
[ 0.006226] mce: CPU supports 6 MCE banks
[ 0.006237] CPU0: Thermal monitoring enabled (TM2)
[ 0.006242] using mwait in idle threads.
[ 0.006244] Performance Counters: Core2 events, Intel PMU driver.
[ 0.006252] ... version: 2
[ 0.006254] ... bit width: 40
[ 0.006256] ... generic counters: 2
[ 0.006258] ... value mask: 000000ffffffffff
[ 0.006261] ... max period: 000000007fffffff
[ 0.006263] ... fixed-purpose counters: 3
[ 0.006265] ... counter mask: 0000000700000003
[ 0.007663] Unpacking initramfs...
[ 0.015027] BUG: scheduling while atomic: swapper/0/0x10000002

This is strange. I think preempt is supposed to be enabled at this point,
but your preempt count is 2, and also you have 0x10000000 bit set in the
preempt_count and I don't know where that comes from.

Seems maybe your preempt counter is corrupted or unbalanced somehow?
Early bootup code is a real tangle to work out what is going on, but
perhaps you could print out preempt_count() from various places to narrow
down where it is going wrong?

[ 0.015037] Modules linked in:
[ 0.015042] Pid: 0, comm: swapper Not tainted 2.6.31.8-0.0.0.0.239ecb7-
desktop #1
[ 0.015045] Call Trace:
[ 0.015063] [<ffffffff81011a19>] try_stack_unwind+0x189/0x1b0
[ 0.015071] [<ffffffff8101025d>] dump_trace+0xad/0x3a0
[ 0.015078] [<ffffffff81011524>] show_trace_log_lvl+0x64/0x90
[ 0.015085] [<ffffffff81011573>] show_trace+0x23/0x40
[ 0.015093] [<ffffffff81552302>] dump_stack+0x81/0x9e
[ 0.015101] [<ffffffff81056ef2>] __schedule_bug+0x92/0xa0
[ 0.015108] [<ffffffff8155323f>] thread_return+0x2a7/0x3c8
[ 0.015115] [<ffffffff81060d88>] __cond_resched+0x38/0x80
[ 0.015121] [<ffffffff815534fd>] _cond_resched+0x4d/0x60
[ 0.015128] [<ffffffff81100dfa>] generic_perform_write+0x15a/0x220
[ 0.015135] [<ffffffff81100f50>] generic_file_buffered_write+0x90/0x160
[ 0.015141] [<ffffffff8110170f>]
__generic_file_aio_write_nolock+0x28f/0x4d0
[ 0.015148] [<ffffffff81101aaf>] generic_file_aio_write+0x7f/0x110
[ 0.015155] [<ffffffff8114bb12>] do_sync_write+0x102/0x160
[ 0.015161] [<ffffffff8114be98>] vfs_write+0xd8/0x1c0
[ 0.015167] [<ffffffff8114c82b>] sys_write+0x5b/0xa0
[ 0.015175] [<ffffffff819d508d>] do_copy+0x97/0xd7
[ 0.015182] [<ffffffff819d49c9>] flush_buffer+0x8c/0xc8
[ 0.015188] [<ffffffff81a01140>] gunzip+0x425/0x500
[ 0.015196] [<ffffffff819d4ed1>] unpack_to_rootfs+0x2f6/0x41b
[ 0.015202] [<ffffffff819d59e3>] populate_rootfs+0x72/0x13a
[ 0.015208] [<ffffffff819d3639>] start_kernel+0x3bf/0x3e6
[ 0.015214] [<ffffffff819d268d>] x86_64_start_reservations+0x134/0x14f
[ 0.015221] [<ffffffff819d2803>] x86_64_start_kernel+0x15b/0x17e

--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
References