Unable to handle kernel NULL pointer... on cat /proc/pci

Magnus Sjoegren (m-23347@mailbox.swipnet.se)
Tue, 23 Sep 1997 22:42:24 +0200 (MET DST)


[Sent this mail once, didn't recieve it from the list myself. Resending]

Have a 486 here which have a peculiar behaviour. It has a noname
motherboard built with an acer chipset (ALI M1429G, ALI M1435, ALI M1431).
Linux kernel 2.0.30 usually doesn't recognize the chipset on boot but it
has happend (unstable hardware?).

Warning : Unknown PCI device (efff:ffff). Please read include/linux/pci.h
[alot of these on boot, usually nothing to worry about]

The first time viewing /proc/pci with cat after a reboot produces the
result below.

atlas:~$ cat /proc/pci
Unable to handle kernel NULL pointer dereference at virtual address
c0000000
current->tss.cr3 = 00307000, %cr3 = 00307000
*pde = 00102067
*pte = 00000027
Oops: 0000
CPU: 0
EIP: 0010:[<001b6317>]
EFLAGS: 00010246
eax: 00000000 ebx: 0000008b ecx: ffffffff edx: 00000000
esi: 0000007f edi: 00000000 ebp: 002488cc esp: 00447ed8
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process cat (pid: 511, process nr: 27, stackpage=00447000)
Stack: 00000013 007d7013 001c8978 007d7000 00000c00 00000073 001c8978
007d7000
00000001 00447f54 0000007f 00000000 001c898a ffff4ec4 ffffffff
efffffff
ffffffff 001b6665 002488cc 007d7013 00000fc9 00000c00 00fb0cc0
00001000
Call Trace: [<001b6665>] [<00166362>] [<00166546>] [<00121652>]
[<0010a5d2>]
Code: f2 ae f7 d1 49 01 d9 89 4c 24 14 8b 44 24 50 39 c1 0f 87 c0
Segmentation fault

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

>>EIP: 1b6317 <sprint_dev_config+203/4f8>
Trace: 1b6665 <get_pci_list+59/94>
Trace: 166362 <get_root_array+b2/144>
Trace: 166546 <array_read+ca/234>
Trace: 121652 <sys_read+8a/b0>
Trace: 10a5d2 <system_call+52/80>

Code: 1b6317 <sprint_dev_config+203/4f8> repnz scasb %es:(%edi),%al
Code: 1b6319 <sprint_dev_config+205/4f8> notl %ecx
Code: 1b631b <sprint_dev_config+207/4f8> decl %ecx
Code: 1b631c <sprint_dev_config+208/4f8> addl %ebx,%ecx
Code: 1b631e <sprint_dev_config+20a/4f8> movl %ecx,0x14(%esp,1)
Code: 1b6322 <sprint_dev_config+20e/4f8> movl 0x50(%esp,1),%eax

Code: 1b6326 <sprint_dev_config+212/4f8> cmpl %eax,%ecx
Code: 1b6328 <sprint_dev_config+214/4f8> ja 909000d7 <_EIP+909000d7>
Code: 1b632e <sprint_dev_config+21a/4f8> nop

Magnus