ide oops

Kevin Fenzi (kevin@scrye.com)
Wed, 8 Apr 1998 22:37:18 -0600 (MDT)


Not sure if this will be of any use, but I thought I would mention
it, since people are looking at the ide code...

I was poking around /proc/ide/ide0/ and tried to do a:

cat /proc/ide/ide0/config

and got the following oops:

Unable to handle kernel NULL pointer dereference at virtual address 00000010
current->tss.cr3 = 04241000, %cr3 = 04241000
*pde = 00000000
Oops: 0000
CPU: 1
EIP: 0010:[<c018cba1>]
EFLAGS: 00010246
eax: 00000000 ebx: c7f1e300 ecx: c0086540 edx: c0233a34
esi: 00000000 edi: 00000000 ebp: 00000c00 esp: c0ce5f30
ds: 0018 es: 0018 ss: 0018
Process cat (pid: 31109, process nr: 93, stackpage=c0ce5000)
Stack: 00000000 00000000 00000000 00000000 c7f1e300 00000000 ffffffea 00000c00
01e80067 00000001 c014d486 c7c80000 c0ce5f98 00000000 00000c00 c0ce5f94
c0233a34 c7f1e300 00000000 ffffffea 00001000 c7624c80 c0086540 00000000
Call Trace: [<c014d486>] [<c012a5a2>] [<c010a098>]
Code: 8b 47 10 50 8b 07 8a 40 18 25 ff 00 00 00 50 68 57 04 1e c0

Ksymoops gives:

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

>>EIP: c018cba1 <proc_ide_read_config+31/130>
Trace: c014d486 <proc_file_read+102/1b4>
Trace: c012a5a2 <sys_read+102/174>
Trace: c010a098 <system_call+38/40>
Code: c018cba1 <proc_ide_read_config+31/130>
Code: c018cba1 <proc_ide_read_config+31/130> 8b 47 10 movl 0x10(%edi),%eax
Code: c018cba4 <proc_ide_read_config+34/130> 50 pushl %eax
Code: c018cba5 <proc_ide_read_config+35/130> 8b 07 movl (%edi),%eax
Code: c018cba7 <proc_ide_read_config+37/130> 8a 40 18 movb 0x18(%eax),%al
Code: c018cbaa <proc_ide_read_config+3a/130> 25 ff 00 00 00 andl $0xff,%eax
Code: c018cbb5 <proc_ide_read_config+45/130> 50 pushl %eax
Code: c018cbb6 <proc_ide_read_config+46/130> 68 57 04 1e c0 pushl $0xc01e0457

Config:

dual p166 machine.
128meg ram
1 ide HD (master)
1 ide cd (slave)

If anyone needs/wants more info, let me know...

Likely this is just another case of ide not being smp safe yet. ;)

kevin

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