Oops on sb module unload (2.1.90)

Damien Miller (dmiller@vitnet.com.sg)
Thu, 19 Mar 1998 15:06:34 +1100 (EST)


When I try to rmmod the sb driver I get an Oops and my module list gets
corrupted:

[root@mothra /root]# lsmod
Module Size Used by
nfs 31928 2 (autoclean)
lockd 27640 0 (autoclean) [nfs]
sunrpc 49456 1 (autoclean) [nfs lockd]
3c509 6912 1 (autoclean)
nls_iso8859-1 2016 1 (autoclean)
nls_cp437 3540 1 (autoclean)
vfat 13668 1 (autoclean)
fat 24300 1 (autoclean) [vfat]
sb 22100 0 (unused)
uart401 5560 0 [sb]
sound 63868 0 [sb uart401]
[root@mothra /root]# rmmod sb
kfree: Bad obj c482a000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 03418000, %cr3 = 03418000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c012464f>]
EFLAGS: 00010296
eax: 0000001b ebx: c482a000 ecx: 0000000d edx: 00000000
esi: c4823000 edi: c482a000 ebp: bffffb30 esp: c341bf54
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 369, process nr: 45, stackpage=c341b000)
Stack: c01c0ed0 c482a000 c482a000 c4823000 00000000 bffffb30 00000000 00000000
00000000 c4825698 c482a000 c4823000 c4824536 c4828550 c4824673 c4828550
c0119e18 c4823000 fffffff0 0804f968 c0119236 c4823000 00000000 c341a000
Call Trace: [<c01c0ed0>] [<c482a000>] [<c482a000>] [<c4823000>] [<c4825698>] [<c482a000>] [<c4823000>]
[<c4824536>] [<c4828550>] [<c4824673>] [<c4828550>] [<c0119e18>] [<c4823000>] [<c0119236>] [<c4823000>]
[<c0109f3a>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 0c
Segmentation fault
[root@mothra /root]# lsmod
Module Size Used by
nfs 31928 2 (autoclean)
lockd 27640 0 (autoclean) [nfs]
sunrpc 49456 1 (autoclean) [nfs lockd]
3c509 6912 1 (autoclean)
nls_iso8859-1 2016 1 (autoclean)
nls_cp437 3540 1 (autoclean)
vfat 13668 1 (autoclean)
fat 24300 1 (autoclean) [vfat]
lsmod: QM_INFO: No such file or directory

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

>>EIP: c012464f <kfree+1c7/1dc>
Trace: c01c0ed0 <tvecs+12b0/5087>
Trace: c482a000
Trace: c482a000
Trace: c4823000
Trace: c4825698
Trace: c482a000
Trace: c4823000
Trace: c4824536
Trace: c4828550
Trace: c4824673
Trace: c4828550
Trace: c0119e18 <free_module+20/9c>
Trace: c4823000
Trace: c0119236 <sys_delete_module+196/260>
Trace: c4823000
Trace: c0109f3a <system_call+3a/40>
Code: c012464f <kfree+1c7/1dc>
Code: c012464f <kfree+1c7/1dc> c7 05 00 00 00 movl $0x0,0x0
Code: c0124654 <kfree+1cc/1dc> 00 00 00 00 00
Code: c012465f <kfree+1d7/1dc> 83 c4 08 addl $0x8,%esp
Code: c0124662 <kfree+1da/1dc> 5b popl %ebx
Code: c0124663 <kfree+1db/1dc> 5e popl %esi
Code: c0124664 <kfree_s> 5f popl %edi
Code: c0124665 <kfree_s+1/1e0> 5d popl %ebp
Code: c0124666 <kfree_s+2/1e0> 83 c4 0c addl $0xc,%esp

Regards,
Damien Miller

| WWW: http://silicon.vitnet.com.sg
| PGP public key: send me an email with "send file pgp_key" as the subject

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