2.1.124 oops, and rmmod soundcore

Ragnar Hojland Espinosa (ragnar@lightside.ddns.org)
Mon, 5 Oct 1998 02:05:51 +0100 (MET)


This is just after bootup. The modules (sb16) are used to set volume.
soundcore.o count is wrong since nothing is using it.

lightside:/etc# rmmod soundcore
lightside:~# lsmod
Module Size Used by
sb 22860 0 (autoclean)
uart401 5624 0 (autoclean) [sb]
sound 56152 0 (autoclean) [sb uart401]
soundcore 1948 5 (autoclean) [sb sound]
lightside:/lib/modules# cd 2.1.124-UP/misc/
lightside:/lib/modules/2.1.124-UP/misc# ls
adlib_card.o parport.o psaux.o soundcore.o
lp.o parport_pc.o sb.o sunrpc.o
opl3.o parport_probe.o sound.o uart401.o
lightside:/lib/modules/2.1.124-UP/misc# modprobe *
/lib/modules/2.1.124-UP/misc/opl3.o: init_module: Device or resource busy
sound: Device or resource busy
opl3: No such file or directory
lightside:/lib/modules/2.1.124-UP/misc# lsmod
Module Size Used by
parport_probe 2864 0 (autoclean)
parport_pc 4948 1 (autoclean)
lp 4768 0 (unused)
parport 6256 1 [parport_probe parport_pc lp]
sb 22860 0 (autoclean)
uart401 5624 0 (autoclean) [sb]
sound 56152 0 (autoclean) [sb uart401]
soundcore 1948 5 (autoclean) [sb sound]
lightside:/lib/modules/2.1.124-UP/misc# rmmod -a; rmmod -a; rmmod -a
lightside:/lib/modules/2.1.124-UP/misc# lsmod
Module Size Used by
parport_pc 4948 1 (autoclean)
lp 4768 0 (unused)
parport 6256 1 [parport_pc lp]
soundcore 1948 1 (autoclean)
lightside:/etc# rmmod soundcore
rmmod: soundcore: Device or resource busy

A bit after that,

lightside:/lib/modules/2.1.124-UP/misc# modprobe sb
lightside:/lib/modules/2.1.124-UP/misc# setmixer line 100 vol 100
Oops: 0000
CPU: 0
EIP: 0010:[<ffffe000>]
EFLAGS: 00010286
eax: ffffe000 ebx: c5f72200 ecx: 00000000 edx: 00000000
esi: c5fe3a78 edi: c5fe3a78 ebp: c60039a0 esp: c5f5bf5c
ds: 0018 es: 0018 ss: 0018
Process setmixer (pid: 161, process nr: 17, stackpage=c5f5b000)
Stack: c5f72200 00000000 c5f72200 c0123d26 c5fe3a78 c5f72200 c5f72200 00000000
c5fe3a78 c0122b3f c5fe3a78 c5f72200 c5d82000 00000003 c5d82000 00000000
c0122ca1 c5d82000 00000002 00000000 00000003 c5f5a000 bffffa6f 00000090
Call Trace: [<c0123d26>] [<c0122b3f>] [<c0122ca1>] [<c01087b4>]
Code: <1>Unable to handle kernel paging request at virtual address ffffe000
current->tss.cr3 = 05f58000, %cr3 = 05f58000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c0108cb7>]
EFLAGS: 00010096
eax: ffffe000 ebx: 00000000 ecx: 0000000d edx: 00000000
esi: 0000002b edi: c5f5c000 ebp: c7000000 esp: c5f5be98
ds: 0018 es: 0018 ss: 0018
Process setmixer (pid: 161, process nr: 17, stackpage=c5f5b000)
Stack: c5f5bf20 c01bd760 0000000b c5fe3a78 c5fe3a78 c60039a0 ffffe000 c5f72200
00000000 00000000 ffffe000 00010286 c7000000 c7800000 c0108d18 c5f5bf20
c0193804 c019468d 00000000 00000000 c010d976 c019468d c5f5bf20 c0110000
Call Trace: [<c7000000>] [<c7800000>] [<c0108d18>] [<c0193804>]
[<c019468d>] [<c010d976>] [<c019468d>]
[<c0110000>] [<c01088ed>] [<c0110000>] [<c70152ad>] [<c0123d26>]
[<c0122b3f>] [<c0122ca1>] [<c01087b4>]
Code: 0f b6 0c 03 89 4c 24 38 51 68 fc 37 19 c0 e8 0e 91 00 00 83
Segmentation fault

The first oops trace corresponds to
Trace: c0123d26 <chrdev_open+3e/4c>
Trace: c0122b3f <do_open+af/130>
Trace: c0122ca1 <sys_open+39/68>
Trace: c01087b4 <system_call+34/40>
(ksymoops gently segfaulted since no code was available)

The second one corresponds to
Using `/usr/src/linux/System.map' to map addresses to symbols.

>>EIP: c0108cb7 <show_registers+26b/29c>
Trace: c7000000
Trace: c7800000
Trace: c0108d18 <die+30/38>
Trace: c0193804 <error_table+6e8/160c>
Trace: c019468d <error_table+1571/160c>
Trace: c010d976 <do_page_fault+30e/318>
Trace: c019468d <error_table+1571/160c>
Trace: c0110000 <update_process_times+60/64>
Trace: c01088ed <error_code+2d/40>
Trace: c0110000 <update_process_times+60/64>
Trace: c70152ad
Trace: c0123d26 <chrdev_open+3e/4c>
Trace: c0122b3f <do_open+af/130>
Trace: c0122ca1 <sys_open+39/68>
Trace: c01087b4 <system_call+34/40>

Code: c0108cb7 <show_registers+26b/29c>
Code: c0108cb7 <show_registers+26b/29c> 0f b6 0c 03 movzbl (%ebx,%eax,1),%ecx
Code: c0108cbb <show_registers+26f/29c> 89 4c 24 38 movl %ecx,0x38(%esp,1)
Code: c0108cbf <show_registers+273/29c> 51 pushl %ecx
Code: c0108cc0 <show_registers+274/29c> 68 fc 37 19 c0 pushl $0xc01937fc
Code: c0108ccb <show_registers+27f/29c> e8 0e 91 00 00 call c0111dd8 <printk>
Code: c0108cd0 <show_registers+284/29c> 83 00 90 addl $0xffffff90,(%eax)
Code: c0108cd9 <show_registers+28d/29c> 90 nop
Code: c0108cda <show_registers+28e/29c> 90 nop

-- 
____/|  Ragnar Hojland  (ragnar@lightside.ddns.org)      Fingerprint  94C4B
\ o.O|                                                   2F0D27DE025BE2302C
 =(_)=  "Thou shalt not follow the NULL pointer for      104B78C56 B72F0822
   U     chaos and madness await thee at its end."       hkp://keys.pgp.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/