Skip to contentSkip to conversation

2.6.17-rc5-mm1 panic on p-series

DISCUSSION Martin Bligh 2 participants 2 messages May 31, 2006

lore
Share & tools
lore
#0 lore raw

Get a different panic on -mm1 from mainline (and much earlier)

http://test.kernel.org/abat/33808/debug/console.log

Badness in local_bh_disable at kernel/softirq.c:86

Call Trace:
[C00000000051F280] [C00000000000EEC8] .show_stack+0x74/0x1b4 (unreliable)
[C00000000051F330] [C000000000338664] .program_check_exception+0x1f4/0x65c
[C00000000051F410] [C0000000000044EC] program_check_common+0xec/0x100
--- Exception: 700 at .local_bh_disable+0x34/0x4c
    LR = .do_softirq+0x64/0xd0
[C00000000051F790] [C000000000063B64] .irq_exit+0x64/0x7c
[C00000000051F810] [C0000000000228E0] .timer_interrupt+0x464/0x48c
[C00000000051F8E0] [C0000000000034EC] decrementer_common+0xec/0x100
--- Exception: 901 at .memset+0x80/0xfc
    LR = .__alloc_bootmem_core+0x39c/0x3dc

[C00000000051FBD0] [C0000000004460E8] 0xc0000000004460e8 (unreliable) [C00000000051FC90] [C0000000003D51B0] .__alloc_bootmem_nopanic+0x44/0xb0 [C00000000051FD30] [C0000000003D523C] .__alloc_bootmem+0x20/0x5c [C00000000051FDB0] [C0000000003D6124] .alloc_large_system_hash+0x130/0x268 [C00000000051FE70] [C0000000003D78D4] .vfs_caches_init_early+0x5c/0xd4 [C00000000051FEF0] [C0000000003BD718] .start_kernel+0x220/0x320 [C00000000051FF90] [C000000000008594] .start_here_common+0x88/0x8c Badness in __local_bh_enable at kernel/softirq.c:100

Call Trace:
[C00000000051F280] [C00000000000EEC8] .show_stack+0x74/0x1b4 (unreliable)
[C00000000051F330] [C000000000338664] .program_check_exception+0x1f4/0x65c
[C00000000051F410] [C0000000000044EC] program_check_common+0xec/0x100
--- Exception: 700 at .__local_bh_enable+0x60/0x7c
    LR = .do_softirq+0xb0/0xd0
[C00000000051F700] [C00000000000B518] .do_softirq+0xa8/0xd0 (unreliable)
[C00000000051F790] [C000000000063B64] .irq_exit+0x64/0x7c
[C00000000051F810] [C0000000000228E0] .timer_interrupt+0x464/0x48c
[C00000000051F8E0] [C0000000000034EC] decrementer_common+0xec/0x100
--- Exception: 901 at .memset+0x80/0xfc
    LR = .__alloc_bootmem_core+0x39c/0x3dc

[C00000000051FBD0] [C0000000004460E8] 0xc0000000004460e8 (unreliable) [C00000000051FC90] [C0000000003D51B0] .__alloc_bootmem_nopanic+0x44/0xb0 [C00000000051FD30] [C0000000003D523C] .__alloc_bootmem+0x20/0x5c [C00000000051FDB0] [C0000000003D6124] .alloc_large_system_hash+0x130/0x268 [C00000000051FE70] [C0000000003D78D4] .vfs_caches_init_early+0x5c/0xd4 [C00000000051FEF0] [C0000000003BD718] .start_kernel+0x220/0x320 [C00000000051FF90] [C000000000008594] .start_here_common+0x88/0x8c Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)

#1 lore raw
Quoted 7 lines · Martin Bligh

Get a different panic on -mm1 from mainline (and much earlier)

http://test.kernel.org/abat/33808/debug/console.log

Badness in local_bh_disable at kernel/softirq.c:86

That's a WARN_ON which should be removed.

kernel/softirq.c renamed from kernel/softirq.c~lock-validator-irqtrace-core-remove-softirqc-warn_on +0 -1
@@ -83,7 +83,6 @@ static void __local_bh_disable(unsigned 
 
 void local_bh_disable(void)
 {
-	WARN_ON_ONCE(irqs_disabled());
 	__local_bh_disable((unsigned long)__builtin_return_address(0));
 }
 
Quoted 5 lines
Call Trace:
[C00000000051F280] [C00000000000EEC8] .show_stack+0x74/0x1b4 (unreliable)
[C00000000051F330] [C000000000338664] .program_check_exception+0x1f4/0x65c
[C00000000051F410] [C0000000000044EC] program_check_common+0xec/0x100
--- Exception: 700 at .local_bh_disable+0x34/0x4c

But what's up with that? Does it mean that local_bh_disable() went BUG(), or what?

Quoted 5 lines
     LR = .do_softirq+0x64/0xd0

[C00000000051F790] [C000000000063B64] .irq_exit+0x64/0x7c [C00000000051F810] [C0000000000228E0] .timer_interrupt+0x464/0x48c [C00000000051F8E0] [C0000000000034EC] decrementer_common+0xec/0x100 --- Exception: 901 at .memset+0x80/0xfc

Quoted 8 lines
     LR = .__alloc_bootmem_core+0x39c/0x3dc

[C00000000051FBD0] [C0000000004460E8] 0xc0000000004460e8 (unreliable) [C00000000051FC90] [C0000000003D51B0] .__alloc_bootmem_nopanic+0x44/0xb0 [C00000000051FD30] [C0000000003D523C] .__alloc_bootmem+0x20/0x5c [C00000000051FDB0] [C0000000003D6124] .alloc_large_system_hash+0x130/0x268 [C00000000051FE70] [C0000000003D78D4] .vfs_caches_init_early+0x5c/0xd4 [C00000000051FEF0] [C0000000003BD718] .start_kernel+0x220/0x320 [C00000000051FF90] [C000000000008594] .start_here_common+0x88/0x8c

I don't know if this is a consequence of earlier happenings or a consequence of Andy ;)