Re: rmmoding sb driver (90pre3/2.1.90) oops

Andrea Arcangeli (arcangeli@mbox.queen.it)
Wed, 18 Mar 1998 17:12:25 +0100 (CET)


On Wed, 18 Mar 1998, Mark Orr wrote:

>Upon further review....
>
>It's not as bad as it looked at first...the oops/trashing that happens
>when rmmod'ing the sb driver (either manually, or by kmod) doesnt stop
>ppp.o/slhc.o/ppp_deflate.o from loading -- so that's good.
>
>lets go to the videotape:

*oops snipped*

Here my Oops:

kfree: Bad obj c2827000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 0190c000, %cr3 = 0190c000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c011ec67>]
EFLAGS: 00010296
eax: 0000001b ebx: c2827000 ecx: c1c38000 edx: c01a0534
esi: c2827000 edi: 00000000 ebp: bffffbb0 esp: c199ff54
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 169, process nr: 19, stackpage=c199f000)
Stack: c018a2ab c2827000 c2827000 c2820000 00000000 bffffbb0 00000000 00000000
00000000 c282263c c2827000 c2820000 c2821486 c28254e0 c28215c3 c28254e0
c0115684 c2820000 fffffff0 00000000 c0114bfe c2820000 00000000 c199e000
Call Trace: [<c018a2ab>] [<c2827000>] [<c2827000>] [<c2820000>] [<c282263c>] [<c2827000>] [<c2820000>]
[<c2821486>] [<c28254e0>] [<c28215c3>] [<c28254e0>] [<c0115684>] [<c2820000>] [<c0114bfe>] [<c2820000>]
[<c0109916>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 0c

Using `/System.map' to map addresses to symbols.

>>EIP: c011ec67 <kfree+19f/1b4>
Trace: c018a2ab <tvecs+11ab/453a>
Trace: c2827000 by hand sb_dsp_unload + 0x4a54 #I am to lazy to calc all
by hand ;-)
Trace: c2827000
Trace: c2820000 c281d65c unload_uart401, c2821434 attach_sb_card
Trace: c282263c c28225ac sb_dsp_unload, c282f0d0 attach_awe
Trace: c2827000
Trace: c2820000
Trace: c2821486 c282147c unload_sb, c2821f24 sb_dsp_detect
Trace: c28254e0 c28225ac sb_dsp_unload, c282f0d0 attach_awe
Trace: c28215c3 c282147c unload_sb, c2821f24 sb_dsp_detect
Trace: c28254e0 c28225ac sb_dsp_unload, c282f0d0 attach_awe
Trace: c0115684 <free_module+20/9c>
Trace: c2820000
Trace: c0114bfe <sys_delete_module+132/1d8>
Trace: c2820000
Trace: c0109916 <system_call+3a/40>
Code: c011ec67 <kfree+19f/1b4>
Code: c011ec67 <kfree+19f/1b4> c7 05 00 00 00 movl $0x0,0x0
Code: c011ec6c <kfree+1a4/1b4> 00 00 00 00 00
Code: c011ec77 <kfree+1af/1b4> 83 c4 08 addl $0x8,%esp
Code: c011ec7a <kfree+1b2/1b4> 5b popl %ebx
Code: c011ec7b <kfree+1b3/1b4> 5e popl %esi
Code: c011ec7c <kfree_s> 5f popl %edi
Code: c011ec7d <kfree_s+1/1b4> 5d popl %ebp
Code: c011ec7e <kfree_s+2/1b4> 83 c4 0c addl $0xc,%esp

Andrea[s] Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu