Bug + OOPS in 2.1.95 and pre-2.1.96-1

Roy P. Turner (ecstasy@dopamine.com)
Mon, 13 Apr 1998 12:28:57 -0400


I'm getting an oops when doing 'cat /proc/ioports' after having
loaded and unloaded my sound modules (sound.o, uart401.o, sb.o).
'cat /proc/ioports' will work fine as long as the sound modules have
not been loaded since bootup. After having loaded the sound modules,
'cat /proc/ioports' will only work while the sound modules are loaded.
It segfaults with the following oops if the sound modules aren't loaded.

Unable to handle kernel paging request at virtual address c881b7ef
current->tss.cr3 = 02b80000, %cr3 = 02b80000
*pde = 07eac063
*pte = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c019956b>]
EFLAGS: 00010297
eax: c881b7ef ebx: ffffffff ecx: c881b7ef edx: fffffffe
esi: ffffffff edi: c286d0eb ebp: 00000000 esp: c2a79ee4
ds: 0018 es: 0018 ss: 0018
Process cat (pid: 1053, process nr: 57, stackpage=c2a79000)
Stack: c01cca24 000000df c286d000 00000c00 c77b500d c7ec4220 00000246 ffffffff
0000001b c43c9a40 c0199714 c286d0df c019c46d c2a79f34 c011738c c286d0df
c019c45e 00000330 00000333 c881b7ef 00000000 c2a79f90 c75d1d00 c0142fce
Call Trace: [<c0199714>] [<c019c46d>] [<c011738c>] [<c019c45e>] [<c881b7ef>] [<c0142fce>] [<c0143162>]
[<c010e4df>] [<c012336e>] [<c01098f8>]
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c6 f7 c5 10 00

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

>>EIP: c019956b <vsprintf+28f/424>
Trace: c0199714 <sprintf+14/b90>
Trace: c019c46d <tvecs+6a5/781b>
Trace: c011738c <get_ioport_list+38/64>
Trace: c019c45e <tvecs+696/781b>
Trace: c881b7ef
Trace: c0142fce <get_root_array+15e/1ac>
Trace: c0143162 <array_read+be/1e0>
Trace: c010e4df <do_page_fault+143/328>
Trace: c012336e <sys_read+b2/104>
Trace: c01098f8 <system_call+38/3c>
Code: c019956b <vsprintf+28f/424>
Code: c019956b <vsprintf+28f/424> 80 38 00 cmpb $0x0,(%eax)
Code: c019956e <vsprintf+292/424> 74 07 je c0199577 <vsprintf+29b/424>
Code: c0199570 <vsprintf+294/424> 40 incl %eax
Code: c0199571 <vsprintf+295/424> 4a decl %edx
Code: c0199572 <vsprintf+296/424> 83 fa ff cmpl $0xffffffff,%edx
Code: c019957b <vsprintf+29f/424> 75 f4 jne c019956b <vsprintf+28f/424>
Code: c019957d <vsprintf+2a1/424> 29 c8 subl %ecx,%eax
Code: c019957f <vsprintf+2a3/424> 89 c6 movl %eax,%esi
Code: c0199581 <vsprintf+2a5/424> f7 c5 10 00 00 testl $0x90000010,%ebp
Code: c019958d <vsprintf+2b1/424> 90 nop
Code: c019958e <vsprintf+2b2/424> 90 nop

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