Skip to contentSkip to conversation

Oops with 2.6.2-rc3

DISCUSSION Christian Guggenberger 2 participants 10 messages Feb 1, 2004 – Feb 3, 2004

lore
Share & tools
lore

Christian Guggenberger

#0 lore raw

Hi,

on a UE2 running debian/unstable I get the attached oops with linux-2.6.2-rc3 booted with silo-1.4.4 .

thanks.
Christian

ksymoops 2.4.9 on sparc64 2.6.2-rc3. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.6.2-rc3/ (default) -m /boot/System.map-2.6.2-rc3 (default)

Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options.

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod

Feb  1 20:51:50 eclipse kernel: Unable to handle kernel NULL pointer dereference
Feb  1 20:51:50 eclipse kernel: tsk->{mm,active_mm}->context = 00000000000006a4
Feb  1 20:51:50 eclipse kernel: tsk->{mm,active_mm}->pgd = fffff80045f54000
Feb  1 20:51:50 eclipse kernel:               \|/ ____ \|/
Feb  1 20:51:50 eclipse kernel:               "@'/ .. \`@"
Feb  1 20:51:50 eclipse kernel:               /_| \__/ |_\
Feb  1 20:51:50 eclipse kernel:                  \__U_/
Feb  1 20:51:50 eclipse kernel: events/1(8): Oops [#1]
Feb  1 20:51:51 eclipse kernel: TSTATE: 0000001980f09604 TPC: 000000000044f334 TNPC: 000000000044f338 Y: fffff800    Not tainted
Using defaults from ksymoops -t elf32-sparc -a sparc
Feb  1 20:51:51 eclipse kernel: g0: 006e6673345f7061 g1: 0000000000000000 g2: 00000000004671e0 g3: fffff800458a3b80
Feb  1 20:51:51 eclipse kernel: g4: fffff8004031cc60 g5: 0000000000000001 g6: fffff80040364000 g7: 0000000000000000
Feb  1 20:51:51 eclipse kernel: o0: 00000000000001aa o1: 0000000000000000 o2: 0000000000000001 o3: 000000000061bed8
Feb  1 20:51:51 eclipse kernel: o4: 000000000000000a o5: fffff800458a3b00 sp: fffff80040367401 ret_pc: 00000000004674f8
Feb  1 20:51:51 eclipse kernel: l0: 0000000000000001 l1: 0000000000000000 l2: 0000000000000000 l3: 0000000000000000
Feb  1 20:51:51 eclipse kernel: l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: 0000000000000000
Feb  1 20:51:51 eclipse kernel: i0: fffff800458a3bc0 i1: 0000000000000003 i2: 0000000000000001 i3: 0000000000000000
Feb  1 20:51:51 eclipse kernel: i4: 0000000000000002 i5: 0000000000000000 i6: fffff800403674c1 i7: 000000000044f520
Quoted 6 lines
Quoted 6 lines

PC; 0044f334 <__wake_up_common+14/80> <=====

g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

Feb  1 20:51:51 eclipse kernel: Instruction DUMP: b0062008  80a04018  02600017 <e2584000> b3366000  b73ee000  90007fe8  e0007fe8  92100019 

Code; 0044f328 <__wake_up_common+8/80>
00000000 <_PC>:
Code; 0044f328 <__wake_up_common+8/80>
0: b0 06 20 08 add %i0, 8, %i0
Code; 0044f32c <__wake_up_common+c/80>
4: 80 a0 40 18 cmp %g1, %i0
Code; 0044f330 <__wake_up_common+10/80>
8: 02 60 00 17 unknown
Code; 0044f334 <__wake_up_common+14/80>
c: e2 58 40 00 unknown
Code; 0044f338 <__wake_up_common+18/80>
10: b3 36 60 00 srl %i1, 0, %i1
Code; 0044f33c <__wake_up_common+1c/80>
14: b7 3e e0 00 sra %i3, 0, %i3
Code; 0044f340 <__wake_up_common+20/80>
18: 90 00 7f e8 add %g1, -24, %o0
Code; 0044f344 <__wake_up_common+24/80>
1c: e0 00 7f e8 ld [ %g1 + -24 ], %l0
Code; 0044f348 <__wake_up_common+28/80>
20: 92 10 00 19 mov %i1, %o1

Feb  1 20:51:51 eclipse kernel: TSTATE: 0000009980f09604 TPC: 000000000044c20c TNPC: 000000000044c210 Y: 00000000    Not tainted
Feb  1 20:51:51 eclipse kernel: g0: fffff80047a45e20 g1: 0000000077359400 g2: 000000020791e729 g3: 0008000000000000
Feb  1 20:51:51 eclipse kernel: g4: 0000000000650a80 g5: 0000000000000a4f g6: 000000000064ca80 g7: 0000000000000a4f
Feb  1 20:51:51 eclipse kernel: o0: 00000002079209e5 o1: 0000000000000001 o2: 0000000000000001 o3: fffff80040726fa0
Feb  1 20:51:51 eclipse kernel: o4: fffff80000c6f1a4 o5: 0000000000000002 sp: 000000000064fea1 ret_pc: 000000000041da10
Feb  1 20:51:51 eclipse kernel: l0: 0000008f7c68e5ad l1: 0000000000000096 l2: 00000000006ca018 l3: 0000000000000000
Feb  1 20:51:51 eclipse kernel: l4: 00000000006c40c0 l5: 0000000000000000 l6: 0000000000000000 l7: 00000000006df000
Feb  1 20:51:51 eclipse kernel: i0: fffff8004786cce0 i1: 0000000000000a4f i2: 0000000000416254 i3: 0000000000000000
Feb  1 20:51:51 eclipse kernel: i4: 00000000ffff0001 i5: 0000000000ffff00 i6: 000000000064ff61 i7: 000000000044eb1c
Quoted 12 lines
Quoted 12 lines

PC; 0044c20c <recalc_task_prio+2c/260> <=====

g4; 00650a80 <init_task+0/600>
g6; 0064ca80 <init_thread_union+0/4000>
sp; 0064fea1 <init_thread_union+3421/4000>
ret_pc; 0041da10 <sched_clock+10/40>
l2; 006ca018 <__per_cpu_offset+0/10>
l4; 006c40c0 <per_cpu____cpu_data+0/40>
l7; 006df000 <obp_gettod.2+90/100>
i2; 00416254 <cpu_idle+34/c0>
i6; 0064ff61 <init_thread_union+34e1/4000>
i7; 0044eb1c <schedule+2dc/a60>

1 warning and 1 error issued. Results may not be reliable.

#1 lore raw
Quoted 1 line

Using defaults from ksymoops -t elf32-sparc -a sparc

You need to pass the right arguments to ksymoops. It defaults to sparc32. Use "-t elf64-sparc -a sparc:v9"

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
#2 lore raw
In reply to Christian Guggenberger
Quoted 4 lines · Ben Collins
Quoted 1 line

Using defaults from ksymoops -t elf32-sparc -a sparc

You need to pass the right arguments to ksymoops. It defaults to sparc32. Use "-t elf64-sparc -a sparc:v9"

sorry. Right one attached.
Cheers.
Christian

ksymoops 2.4.9 on sparc64 2.6.2-rc3. Options used

     -V (specified)
     -K (specified)
     -l /proc/modules (specified)
     -o /lib/modules/2.6.2-rc3/ (specified)
     -m /boot/System.map-2.6.2-rc3 (specified)
     -t elf64-sparc -a sparc:v9

No modules in ksyms, skipping objects
No ksyms, skipping lsmod

Feb  2 03:15:01 rphlx1 kernel: Unable to handle kernel NULL pointer dereference
Feb  2 03:15:01 rphlx1 kernel: tsk->{mm,active_mm}->context = 00000000000006b1
Feb  2 03:15:01 rphlx1 kernel: tsk->{mm,active_mm}->pgd = fffff800462a2000
Feb  2 03:15:01 rphlx1 kernel:               \|/ ____ \|/
Feb  2 03:15:01 rphlx1 kernel:               "@'/ .. \`@"
Feb  2 03:15:01 rphlx1 kernel:               /_| \__/ |_\
Feb  2 03:15:01 rphlx1 kernel:                  \__U_/
Feb  2 03:15:01 rphlx1 kernel: events/1(8): Oops [#1]
Feb  2 03:15:01 rphlx1 kernel: TSTATE: 0000001980f09604 TPC: 000000000044f334 TNPC: 000000000044f338 Y: fffff800    Not tainted
Feb  2 03:15:01 rphlx1 kernel: g0: 006e6673345f7061 g1: 0000000000000000 g2: 00000000004671e0 g3: fffff80045f63b80
Feb  2 03:15:01 rphlx1 kernel: g4: fffff8004031cc60 g5: 0000000000000001 g6: fffff80040364000 g7: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: o0: 00000000000001b5 o1: 0000000000000000 o2: 0000000000000001 o3: 000000000061bed8
Feb  2 03:15:01 rphlx1 kernel: o4: 000000000000000a o5: fffff80045f63b00 sp: fffff80040367401 ret_pc: 00000000004674f8
Feb  2 03:15:01 rphlx1 kernel: l0: 0000000000000001 l1: 0000000000000000 l2: 0000000000000000 l3: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: i0: fffff80045f63bc0 i1: 0000000000000003 i2: 0000000000000001 i3: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: i4: 0000000000000002 i5: 0000000000000000 i6: fffff800403674c1 i7: 000000000044f520
Quoted 6 lines
Quoted 6 lines

TPC; 0044f334 <__wake_up_common+14/80> <=====

g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

Feb  2 03:15:01 rphlx1 kernel: Instruction DUMP: b0062008  80a04018  02600017 <e2584000> b3366000  b73ee000  90007fe8  e0007fe8  92100019 

Code; 000000000044f328 <__wake_up_common+8/80>
0000000000000000 <_TPC>:
Code; 000000000044f328 <__wake_up_common+8/80>
0: b0 06 20 08 add %i0, 8, %i0
Code; 000000000044f32c <__wake_up_common+c/80>
4: 80 a0 40 18 cmp %g1, %i0
Code; 000000000044f330 <__wake_up_common+10/80>
8: 02 60 00 17 be,pn %xcc, 64 <_TPC+0x64>
Code; 000000000044f334 <__wake_up_common+14/80>
c: e2 58 40 00 ldx [ %g1 ], %l1
Code; 000000000044f338 <__wake_up_common+18/80>
10: b3 36 60 00 srl %i1, 0, %i1
Code; 000000000044f33c <__wake_up_common+1c/80>
14: b7 3e e0 00 sra %i3, 0, %i3
Code; 000000000044f340 <__wake_up_common+20/80>
18: 90 00 7f e8 add %g1, -24, %o0
Code; 000000000044f344 <__wake_up_common+24/80>
1c: e0 00 7f e8 ld [ %g1 + -24 ], %l0
Code; 000000000044f348 <__wake_up_common+28/80>
20: 92 10 00 19 mov %i1, %o1

Feb  2 03:15:01 rphlx1 kernel: TSTATE: 0000004480f09603 TPC: 000000000044eaa0 TNPC: 000000000044eaa4 Y: 00000000    Not tainted
Feb  2 03:15:01 rphlx1 kernel: g0: 000000000040f574 g1: 00000000000518ea g2: 0000000000000001 g3: 0000000000400400
Feb  2 03:15:01 rphlx1 kernel: g4: 0000000000650a80 g5: 00000000006ca018 g6: 000000000064ca80 g7: 0000000000000a31
Feb  2 03:15:01 rphlx1 kernel: o0: 000000039f7e486c o1: 000000000064ce80 o2: 0000000000416254 o3: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: o4: 00000000ffff0001 o5: 0000000000ffff00 sp: 000000000064ff61 ret_pc: 000000000044e8ac
Feb  2 03:15:01 rphlx1 kernel: l0: fffff80000c6e8b8 l1: fffff8004788c158 l2: fffff8004788c120 l3: 0000000000650a80
Feb  2 03:15:01 rphlx1 kernel: l4: 0000000000000000 l5: fffff80000c6df80 l6: 000000039f7e486c l7: 0000000000650dc0
Feb  2 03:15:01 rphlx1 kernel: i0: 0000000000000400 i1: 000000000064ca88 i2: 0000000000000104 i3: 0000000000000000
Feb  2 03:15:01 rphlx1 kernel: i4: 000000000002ec06 i5: 00000000011fb0fc i6: 0000000000650031 i7: 00000000004162a4
Quoted 15 lines
Quoted 15 lines

TPC; 000000000044eaa0 <schedule+260/a60> <=====

g0; 000000000040f574 <rt_continue+20/a8> g4; 0000000000650a80 <init_task+0/600>
g5; 00000000006ca018 <__per_cpu_offset+0/10> g6; 000000000064ca80 <init_thread_union+0/4000> o1; 000000000064ce80 <init_thread_union+400/4000> o2; 0000000000416254 <cpu_idle+34/c0>
sp; 000000000064ff61 <init_thread_union+34e1/4000> ret_pc; 000000000044e8ac <schedule+6c/a60> l3; 0000000000650a80 <init_task+0/600>
l7; 0000000000650dc0 <init_task+340/600> i1; 000000000064ca88 <init_thread_union+8/4000> i6; 0000000000650031 <init_thread_union+35b1/4000> i7; 00000000004162a4 <cpu_idle+84/c0>

Feb  2 04:05:42 rphlx1 kernel: Unable to handle kernel NULL pointer dereference
Feb  2 04:05:42 rphlx1 kernel: tsk->{mm,active_mm}->context = 00000000000006d3
Feb  2 04:05:42 rphlx1 kernel: tsk->{mm,active_mm}->pgd = fffff80045a88000
Feb  2 04:05:42 rphlx1 kernel:               \|/ ____ \|/
Feb  2 04:05:42 rphlx1 kernel:               "@'/ .. \`@"
Feb  2 04:05:42 rphlx1 kernel:               /_| \__/ |_\
Feb  2 04:05:42 rphlx1 kernel:                  \__U_/
Feb  2 04:05:42 rphlx1 kernel: events/0(7): Oops [#2]
Feb  2 04:05:42 rphlx1 kernel: TSTATE: 0000001980f09604 TPC: 000000000044f334 TNPC: 000000000044f338 Y: 00000000    Not tainted
Feb  2 04:05:42 rphlx1 kernel: g0: 00000000004088ac g1: 0000000000000000 g2: 00000000004671e0 g3: fffff800456dfb80
Feb  2 04:05:42 rphlx1 kernel: g4: fffff8004031d260 g5: 0000000000000001 g6: fffff80040368000 g7: 0000000000000000
Feb  2 04:05:42 rphlx1 kernel: o0: 00000000000001d1 o1: 0000000000000000 o2: 0000000000000001 o3: 000000000061bed8
Feb  2 04:05:42 rphlx1 kernel: o4: 000000000000000a o5: fffff800456dfb00 sp: fffff8004036b401 ret_pc: 00000000004674f8
Feb  2 04:05:42 rphlx1 kernel: l0: 0000000000000001 l1: 0000000000000000 l2: 0000000000000000 l3: 0000000000000000
Feb  2 04:05:42 rphlx1 kernel: l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7: 0000000000000000
Feb  2 04:05:42 rphlx1 kernel: i0: fffff800456dfbc0 i1: 0000000000000003 i2: 0000000000000001 i3: 0000000000000000
Feb  2 04:05:42 rphlx1 kernel: i4: 0000000000000002 i5: 0000000000000000 i6: fffff8004036b4c1 i7: 000000000044f520
Quoted 7 lines
Quoted 7 lines

TPC; 000000000044f334 <__wake_up_common+14/80> <=====

g0; 00000000004088ac <tl0_irq5+c/40>
g2; 00000000004671e0 <wait_for_helper+0/a0>
o3; 000000000061bed8 <small_digits.0+0/28>
ret_pc; 00000000004674f8 <queue_work+f8/120>
i7; 000000000044f520 <complete+40/a0>

Feb  2 04:05:42 rphlx1 kernel: Instruction DUMP: b0062008  80a04018  02600017 <e2584000> b3366000  b73ee000  90007fe8  e0007fe8  92100019 

Code; 000000000044f328 <__wake_up_common+8/80>
0000000000000000 <_TPC>:
Code; 000000000044f328 <__wake_up_common+8/80>
0: b0 06 20 08 add %i0, 8, %i0
Code; 000000000044f32c <__wake_up_common+c/80>
4: 80 a0 40 18 cmp %g1, %i0
Code; 000000000044f330 <__wake_up_common+10/80>
8: 02 60 00 17 be,pn %xcc, 64 <_TPC+0x64>
Code; 000000000044f334 <__wake_up_common+14/80>
c: e2 58 40 00 ldx [ %g1 ], %l1
Code; 000000000044f338 <__wake_up_common+18/80>
10: b3 36 60 00 srl %i1, 0, %i1
Code; 000000000044f33c <__wake_up_common+1c/80>
14: b7 3e e0 00 sra %i3, 0, %i3
Code; 000000000044f340 <__wake_up_common+20/80>
18: 90 00 7f e8 add %g1, -24, %o0
Code; 000000000044f344 <__wake_up_common+24/80>
1c: e0 00 7f e8 ld [ %g1 + -24 ], %l0
Code; 000000000044f348 <__wake_up_common+28/80>
20: 92 10 00 19 mov %i1, %o1

Feb  2 04:05:42 rphlx1 kernel: TSTATE: 0000004480f09602 TPC: 000000000044eaa0 TNPC: 000000000044eaa4 Y: 00000000    Not tainted
Feb  2 04:05:42 rphlx1 kernel: g0: 000000000040f6c0 g1: 0000000000045228 g2: 0000000000000001 g3: 0000000000400400
Feb  2 04:05:42 rphlx1 kernel: g4: fffff80047eec640 g5: 00000000006ca018 g6: fffff80040334000 g7: 00000000000008a4
Feb  2 04:05:42 rphlx1 kernel: o0: 00000003a3396327 o1: fffff80040334400 o2: 000000000041627c o3: 0000000000000000
Feb  2 04:05:42 rphlx1 kernel: o4: 00000000ffff0001 o5: 0000000000ffff00 sp: fffff800403375b1 ret_pc: 000000000044e8ac
Feb  2 04:05:42 rphlx1 kernel: l0: fffff80000c75fd8 l1: fffff8004788c158 l2: fffff8004788c120 l3: fffff80047eec640
Feb  2 04:05:42 rphlx1 kernel: l4: 0000000000000000 l5: fffff80000c75f80 l6: 00000003a3396327 l7: fffff80047eec980
Feb  2 04:05:42 rphlx1 kernel: i0: 0000000000000400 i1: fffff80040334008 i2: fffff80040554150 i3: fffff80045f48f28
Feb  2 04:05:42 rphlx1 kernel: i4: fffff80040554150 i5: 000000000175c225 i6: fffff80040337681 i7: 00000000004162a4
Quoted 7 lines
Quoted 7 lines

TPC; 000000000044eaa0 <schedule+260/a60> <=====

g0; 000000000040f6c0 <kern_fpucheck+84/c4>
g5; 00000000006ca018 <__per_cpu_offset+0/10>
o2; 000000000041627c <cpu_idle+5c/c0>
ret_pc; 000000000044e8ac <schedule+6c/a60>
i7; 00000000004162a4 <cpu_idle+84/c0>

#3 lore raw
In reply to Christian Guggenberger
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

TPC; 0044f334 <__wake_up_common+14/80> <==>
g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

My best guess is that this is occuring from call_usermodehelper() or request_module() (the only place that wait_for_helper() is referenced is in kernel/kmod.c).

What's the last lines printed before you get this oops? You can try disabling kmod to see if that fixes it, but I'd rather find out why it's occuring.

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
#4 lore raw
In reply to Christian Guggenberger
Quoted 6 lines · On 02.02.2004 14:32 Ben Collins wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

TPC; 0044f334 <__wake_up_common+14/80> <==> >
g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

Quoted 9 lines

My best guess is that this is occuring from call_usermodehelper() or request_module() (the only place that wait_for_helper() is referenced is in kernel/kmod.c).

What's the last lines printed before you get this oops? You can try disabling kmod to see if that fixes it, but I'd rather find out why it's occuring.

well, there are no suspicious lines printed before the oops. Sometimes I see 'request_module: runaway loop modprobe net-pf-10', but these are printed out hours later than the oops.
So, for now I have net-pf-10 aliased to off in modprobe.conf. To your info, right before booting 2.6.2-rc3 for the first time I upgraded module-init-tools from pre5 to pre9, cause I have been annoyed by these 'request_module: failed /sbin/modprobe -- net-pf-10. error = 256' messages.

IMHO this oops is somehow correlated to SMP, because for now it's running fine since 4 hours in UP mode.
(normally in SMP mode the oops occured within an hour of uptime - no special load, no one logged in, no X)

I'll let this machine run in UP mode for the next 5 hours and will then do tests in SMP with kmod off.
This is a SBUS 2way UltrasparcI.

- Christian

#5 lore raw
In reply to Christian Guggenberger
Quoted 8 lines

well, there are no suspicious lines printed before the oops. Sometimes I see 'request_module: runaway loop modprobe net-pf-10', but these are printed out hours later than the oops.
So, for now I have net-pf-10 aliased to off in modprobe.conf. To your info, right before booting 2.6.2-rc3 for the first time I upgraded module-init-tools from pre5 to pre9, cause I have been annoyed by these 'request_module: failed /sbin/modprobe -- net-pf-10. error = 256' messages.

Quoted 8 lines

IMHO this oops is somehow correlated to SMP, because for now it's running fine since 4 hours in UP mode.
(normally in SMP mode the oops occured within an hour of uptime - no special load, no one logged in, no X)

I'll let this machine run in UP mode for the next 5 hours and will then do tests in SMP with kmod off.
This is a SBUS 2way UltrasparcI.

My mistake. I assumed this occured at boot. The net-pf-10 is the ipv6 module. Do you have 'alias net-pf-10 ipv6' in modules.conf? I suspect this is occuring when something is doing an AAAA DNS lookup (glibc does this on most calls for DNS lookups).

Not sure if that's the cause of the oops though, but it would make sense. request_module() uses vsnprintf, which would explain why we see small_digits in the backtrace. It also invokes call_usermodehelper() with the wait flag, and this is what the backtrace shows is happening.

If it's related to SMP, then try enabling the spinlock debug. See if that prints anything interesting.

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
#6 lore raw
In reply to Christian Guggenberger
Quoted 5 lines
Quoted 5 lines

IMHO this oops is somehow correlated to SMP, because for now it's running fine since 4 hours in UP mode.
(normally in SMP mode the oops occured within an hour of uptime - no special load, no one logged in, no X)

Quoted 9 lines
Quoted 3 lines

I'll let this machine run in UP mode for the next 5 hours and will then do tests in SMP with kmod off.
This is a SBUS 2way UltrasparcI.

My mistake. I assumed this occured at boot. The net-pf-10 is the ipv6 module. Do you have 'alias net-pf-10 ipv6' in modules.conf? I suspect this is occuring when something is doing an AAAA DNS lookup (glibc does this on most calls for DNS lookups).

as I said before, I have 'alias net-pf-10 off' in modprobe.conf. (although there's neither ipv6 enabled in kernel nor available as module) Your DNS lookup theory may be right, cause from the timestamps in the kern logs the oops has always been at times when exim is run by cron. (and debian/unstable's exim3 is ipv6 capable, me thinks)

Quoted 9 lines

Not sure if that's the cause of the oops though, but it would make sense. request_module() uses vsnprintf, which would explain why we see small_digits in the backtrace. It also invokes call_usermodehelper() with the wait flag, and this is what the backtrace shows is happening.

If it's related to SMP, then try enabling the spinlock debug. See if that prints anything interesting.

okay, will do so.

- Christian

#7 lore raw
In reply to Christian Guggenberger
Quoted 22 lines · Ben Collins
Quoted 8 lines

well, there are no suspicious lines printed before the oops. Sometimes I see 'request_module: runaway loop modprobe net-pf-10', but these are printed out hours later than the oops.
So, for now I have net-pf-10 aliased to off in modprobe.conf. To your info, right before booting 2.6.2-rc3 for the first time I upgraded module-init-tools from pre5 to pre9, cause I have been annoyed by these 'request_module: failed /sbin/modprobe -- net-pf-10. error = 256' messages.

Quoted 8 lines

IMHO this oops is somehow correlated to SMP, because for now it's running fine since 4 hours in UP mode.
(normally in SMP mode the oops occured within an hour of uptime - no special load, no one logged in, no X)

I'll let this machine run in UP mode for the next 5 hours and will then do tests in SMP with kmod off.
This is a SBUS 2way UltrasparcI.

My mistake. I assumed this occured at boot. The net-pf-10 is the ipv6 module. Do you have 'alias net-pf-10 ipv6' in modules.conf? I suspect this is occuring when something is doing an AAAA DNS lookup (glibc does this on most calls for DNS lookups).

Quoted 7 lines

Not sure if that's the cause of the oops though, but it would make sense. request_module() uses vsnprintf, which would explain why we see small_digits in the backtrace. It also invokes call_usermodehelper() with the wait flag, and this is what the backtrace shows is happening.

If it's related to SMP, then try enabling the spinlock debug. See if that prints anything interesting.

Ben,

this doesn't compile with CONFIG_DEBUG_SPINLOCK=y ... (linux-2.6.2-rc3, uptodate debian/unstable)

  CC      arch/sparc64/kernel/chmc.o
  CC      arch/sparc64/kernel/smp.o
  AS      arch/sparc64/kernel/trampoline.o
  AS      arch/sparc64/kernel/sys32.o
  CC      arch/sparc64/kernel/sys_sparc32.o
In file included from include/linux/ip.h:84,
                 from include/linux/tcp.h:192,
                 from include/linux/ipv6.h:175,
                 from arch/sparc64/kernel/sys_sparc32.c:47:

include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:827: warning: implicit declaration of function `_raw_write_trylock'

any idea?

thanks,
Christian

#8 lore raw
In reply to Christian Guggenberger
Quoted 11 lines · Christian Guggenberger
Quoted 10 lines · Ben Collins
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

TPC; 0044f334 <__wake_up_common+14/80> <==> > >
g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

My best guess is that this is occuring from call_usermodehelper() or request_module() (the only place that wait_for_helper() is referenced is in kernel/kmod.c).

Quoted 6 lines
Quoted 3 lines

What's the last lines printed before you get this oops? You can try disabling kmod to see if that fixes it, but I'd rather find out why it's occuring.

Disabling kmod seems to help in this situation, it's been up for 6 hours in SMP mode now - no oops occured.

We should really try to track down the race condition that seems to be occuring with kmod and call_usermodehelper() then. Are you up for some more testing?

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
#9 lore raw
In reply to Christian Guggenberger
Quoted 6 lines · Ben Collins
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

TPC; 0044f334 <__wake_up_common+14/80> <==> >
g2; 004671e0 <wait_for_helper+0/a0>
o3; 0061bed8 <small_digits.0+0/28>
ret_pc; 004674f8 <queue_work+f8/120>
i7; 0044f520 <complete+40/a0>

Quoted 7 lines

My best guess is that this is occuring from call_usermodehelper() or request_module() (the only place that wait_for_helper() is referenced is in kernel/kmod.c).

What's the last lines printed before you get this oops? You can try disabling kmod to see if that fixes it, but I'd rather find out why it's occuring.

Disabling kmod seems to help in this situation, it's been up for 6 hours in SMP mode now - no oops occured.

- Christian