Re: BUG-lockdep and freeze (was: Arrr! Linux 2.6.18)

From: Eric Rannaud
Date: Sat Sep 30 2006 - 16:57:38 EST


On 9/30/06, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18/2.6.18-mm1/broken-out/slab-fix-lockdep-warnings.patch
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18/2.6.18-mm1/broken-out/slab-fix-lockdep-warnings-fix.patch
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18/2.6.18-mm1/broken-out/slab-fix-lockdep-warnings-fix-2.patch

Those should rid you off the trace seen under:

> ---- console for (1) without numa=noacpi
> Sep 30 15:54:06 liw64 kernel:


Somehow, it doesn't freeze anymore, althought the BUG is still there
with more or less the same stacktrace.

er.

---- (v2.6.18 with the 3 patches, w/o numa=noacpi)
[ 209.281596] BUG: warning at
kernel/lockdep.c:565/print_infinite_recursion_bug()
[ 209.281667]
[ 209.281668] Call Trace:
[ 209.281862] [<ffffffff8020b22d>] show_trace+0xad/0x3b0
[ 209.281921] [<ffffffff8020b775>] dump_stack+0x15/0x20
[ 209.281981] [<ffffffff8024ba6d>] print_infinite_recursion_bug+0x3d/0x50
[ 209.282098] [<ffffffff8024bb7f>] find_usage_backwards+0x2f/0xd0
[ 209.282212] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282326] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282439] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282567] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282695] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282822] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.282949] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283076] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283203] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283330] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283457] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283584] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283711] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283838] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.283965] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.284092] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.284220] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.284353] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.284398] powernow-k8: Found 16 Dual Core AMD Opteron(tm)
Processor 880 processors (version 2.00.00)
[ 209.284442] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284479] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284516] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284558] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284599] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284638] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284682] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284720] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284767] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284891] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284932] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.284972] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.285014] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.285051] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.285454] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.285581] [<ffffffff8024bbe3>] find_usage_backwards+0x93/0xd0
[ 209.285709] [<ffffffff8024c590>] check_usage+0x40/0x2b0
[ 209.285836] [<ffffffff8024de60>] __lock_acquire+0xa50/0xd20
[ 209.285964] [<ffffffff8024e4bb>] lock_acquire+0x8b/0xc0
[ 209.286095] [<ffffffff804ac595>] _spin_lock+0x25/0x40
[ 209.286227] [<ffffffff80227e4b>] double_rq_lock+0x2b/0x50
[ 209.286327] [<ffffffff8022cffa>] rebalance_tick+0x19a/0x340
[ 209.286430] [<ffffffff8022d21f>] scheduler_tick+0x7f/0x390
[ 209.286534] [<ffffffff8023b013>] update_process_times+0x73/0x90
[ 209.286648] [<ffffffff8021639b>] smp_local_timer_interrupt+0x2b/0x60
[ 209.286733] [<ffffffff80216b58>] smp_apic_timer_interrupt+0x58/0x70
[ 209.286819] [<ffffffff8020a76f>] apic_timer_interrupt+0x6b/0x70
[ 209.286894] [<ffffffff804aca80>] _spin_unlock_irq+0x30/0x40
[ 209.287024] [<ffffffff80249d69>] hrtimer_run_queues+0x159/0x180
[ 209.287149] [<ffffffff8023b34a>] run_timer_softirq+0x2a/0x200
[ 209.287265] [<ffffffff80237320>] __do_softirq+0x80/0x110
[ 209.287373] [<ffffffff8020adf8>] call_softirq+0x1c/0x28
[ 209.287442] [<ffffffff8020c57d>] do_softirq+0x3d/0xc0
[ 209.287512] [<ffffffff80236ff7>] irq_exit+0x57/0x60
[ 209.287619] [<ffffffff80216b5d>] smp_apic_timer_interrupt+0x5d/0x70
[ 209.287704] [<ffffffff8020a76f>] apic_timer_interrupt+0x6b/0x70
[ 209.287772] [<ffffffff802086b2>] default_idle+0x42/0x80
[ 209.287836] [<ffffffff8020875a>] cpu_idle+0x6a/0x90
[ 209.287903] [<ffffffff80a4c9ac>] start_secondary+0x4fc/0x510
[ 209.288027] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.288134] powernow-k8: MP systems not supported by PSB BIOS structure
[ 209.288614] Freeing unused kernel memory: 256k freed
[ 209.310446] SCSI subsystem initialized
[ 209.314846] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16
00:01:03 EST 2006)
----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/