v2.1.48: OOPS! while "ls"

Meino Christian Cramer (mccramer@solfire.ludwigsburg.netsurf.de)
Thu, 07 Aug 1997 19:01:59 -0000 (???)


Hi kernelstics! ;-)

I have got an OOPS with kernel 2.1.48.

It happens after compiling. Suddenly there was
no access to an specific part of an path anymore.
It does not harm the filesystem (until now...)

Every other parts of the filesystem were
valid further.

"ls" produces an segmentation fault.
After this part of the path becomes
"crashed" (how to say?) the failure
was reproducable. After reboot all
things seem to be wonderfule again.

My system:

ncr53c8xx: at PCI bus 0, device 6, function 0
ncr53c8xx: unit=0 chip=815 rev=0x3 base=0xffbffc00, io_port=0xfc00, irq=9
ncr53c815-0: restart (scsi reset).
scsi0 : ncr53c8xx - revision 2.1b
scsi : 1 host.
Vendor: CONNER Model: CFA540S Rev: 0EAD
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: SANYO Model: CRD-254S Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: CONNER Model: CFP1080S Rev: 4040
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0
scsi : detected 2 SCSI disks total.
ncr53c815-0-<0,0>: FAST SCSI-2 10.0 MB/s (100 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 1056708 [515 MB] [0.5 GB]
ncr53c815-0-<2,0>: FAST SCSI-2 10.0 MB/s (100 ns, offset 8)
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2110812 [1030 MB] [1.0 GB]

32MBytes RAM.
Intel Plato board with Intel P90.

And now the oops-code from the syslog file

Aug 7 17:07:03 solfire kernel: Unable to handle kernel NULL pointer dereference
at virtual address 0000004f
Aug 7 17:07:03 solfire kernel: current->tss.cr3 = 01bc7000, <r3 = 01bc7000
Aug 7 17:07:03 solfire kernel: *pde = 00000000
Aug 7 17:07:03 solfire kernel: Oops: 0000
Aug 7 17:07:03 solfire kernel: CPU: 0
Aug 7 17:07:03 solfire kernel: EIP: 0010:[<c01296b6>]
Aug 7 17:07:03 solfire kernel: EFLAGS: 00010286
Aug 7 17:07:03 solfire kernel: eax: c1964660 ebx: c17c9300 ecx: 00000000
edx: ffffffff
Aug 7 17:07:03 solfire kernel: esi: c1964660 edi: c1e5cd40 ebp: c1e5cd40
esp: c0d2df1c
Aug 7 17:07:03 solfire kernel: ds: 0018 es: 0018 ss: 0018
Aug 7 17:07:03 solfire kernel: Process ls (pid: 1209, process nr: 20, stackpage
=c0d2d000)
Aug 7 17:07:03 solfire kernel: Stack: c17c9300 c1964660 c1f8e00e c0129843 c1e5c
d40 c1964660 c17c9300 000001b6
Aug 7 17:07:03 solfire kernel: 00000001 000081a4 a7810601 c1f8e002 00000
00c a7810634 c0129933 c1f8e000
Aug 7 17:07:03 solfire kernel: 00000000 00000001 c17c9300 000001b6 c1f8e
000 000001b6 c01a7ae0 40006000
Aug 7 17:07:03 solfire kernel: Call Trace: [<c0129843>] [<c0129933>] [<c01221cf
>] [<c0122383>] [<c010944a>]
Aug 7 17:07:03 solfire kernel: Code: 8b 42 50 85 c0 74 5d 83 78 2c 00 74 57 89
e0 89 c3 81 e3 00

And here the ksymoops output, printing this, ksysmoops segfaults...:-<

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

>>EIP: c01296b6 <do_follow_link+12/88>
Trace: c0129843 <lookup_dentry+117/14c>
Trace: c0129933 <open_namei+3f/2b0>
Trace: c01221cf <do_open+4b/134>
Trace: c0122383 <sys_open+3b/6c>
Trace: c010944a <system_call+3a/40>

Code: c01296b6 <do_follow_link+12/88>
Code: c01296b6 <do_follow_link+12/88> 8b 42 50 movl 0x50(%edx),%eax
Code: c01296b9 <do_follow_link+15/88> 85 c0 testl %eax,%eax
Code: c01296bb <do_follow_link+17/88> 74 5d je c012971a <do_follow_link+76/88>
Code: c01296bd <do_follow_link+19/88> 83 78 2c 00 cmpl $0x0,0x2c(%eax)
Code: c01296c7 <do_follow_link+23/88> 74 57 je c012971a <do_follow_link+76/88>
Code: c01296c9 <do_follow_link+25/88> 89 e0 movl %esp,%eax
Code: c01296cb <do_follow_link+27/88> 89 c3 movl %eax,%ebx
Code: c01296cd <do_follow_link+29/88> 81 e3 00 00 90 andl $0x90900000,%ebx
Code: c01296d8 <do_follow_link+34/88> 90
Code: c01296d9 <do_follow_link+35/88> 90 nop
>>EIP: c01296b6 <do_follow_link+12/88>
Trace: c0129843 <lookup_dentry+117/14c>
Trace: c0129933 <open_namei+3f/2b0>
Trace: c01221cf <do_open+4b/134>
Trace: c0122383 <sys_open+3b/6c>
Trace: c010944a <system_call+3a/40>

If I can give more informations or help in other
ways, please mail me.

KEEP HACKING!
meino

----------------------------------
E-Mail: Meino Christian Cramer <mccramer@solfire.ludwigsburg.netsurf.de>
Date: 07-Aug-97
Time: 18:53:08

This message was sent by XFMail
----------------------------------