xfs
[Top] [All Lists]

ls segfaults, kernel does NULL pointer dereference...

To: linux-xfs@xxxxxxxxxxx
Subject: ls segfaults, kernel does NULL pointer dereference...
From: Clem Taylor <clemtaylor@xxxxxxxxx>
Date: Fri, 13 Sep 2002 02:02:50 -0400
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020908
I came home to find my 1.1TB disk array in a sick state, a drive is
failing...  When I do an ls on the volume, ls segfaults and the log shows
that the kernel tried to dereference a NULL pointer.

I'm running 2.4.19-rc1-xfs on a dual Athlon with a 3ware 7xxx controller
and 6 160G Maxtor drives. I repaired the drive (and ordered a new one) and after reboot everything seems to be okay. It does seem a little strange that XFS would fail this way....

Here's what ksymoops says... Any ideas?

                    --Clem

  <1>Unable to handle kernel NULL pointer dereference at virtual address
0000010e
c01f2130
*pde = 00000000
Oops: 0000
CPU:    1
EIP:    0010:[<c01f2130>]    Tainted: PF
EFLAGS: 00010246
eax: 00000000   ebx: ffffffe8   ecx: c03c9440   edx: 00000000
esi: d8311ae4   edi: f7dae000   ebp: d0aabe48   esp: d0aabe08
ds: 0018   es: 0018   ss: 0018
Process ls (pid: 2695, stackpage=d0aab000)
Stack: d8311af8 c03c9440 000001f0 00000000 f7d56240 00000012 f7dae000 00000004
        00000000 00000000 00000000 01000100 00000000 00000000 d0aabebc
f4f15e50
        d0aabe98 c020b495 f7dae000 00000000 01000100 00000000 00000000
d0aabebc
Call Trace: [<c020b495>] [<c01f2716>] [<c02105f3>] [<c021d5b3>] [<c014a0a2>]
    [<c014a83d>] [<c014ae91>] [<c014728e>] [<c01177e0>] [<c01092ab>]
Code: 66 83 bb 26 01 00 00 00 74 27 89 34 24 c7 44 24 04 84 00 00

 >>EIP; c01f2130 <xfs_iget+b0/1a0>   <=====
Trace; c020b495 <xfs_dir_lookup_int+155/380>
Trace; c01f2716 <xfs_ilock_map_shared+26/40>
Trace; c02105f3 <xfs_lookup+a3/e0>
Trace; c021d5b3 <linvfs_lookup+63/c0>
Trace; c014a0a2 <real_lookup+e2/130>
Trace; c014a83d <link_path_walk+5fd/730>
Trace; c014ae91 <__user_walk+61/70>
Trace; c014728e <sys_lstat64+1e/80>
Trace; c01177e0 <do_page_fault+0/59a>
Trace; c01092ab <system_call+33/38>
Code;  c01f2130 <xfs_iget+b0/1a0>
00000000 <_EIP>:
Code;  c01f2130 <xfs_iget+b0/1a0>   <=====
    0:   66 83 bb 26 01 00 00      cmpw   $0x0,0x126(%ebx)   <=====
Code;  c01f2137 <xfs_iget+b7/1a0>
    7:   00
Code;  c01f2138 <xfs_iget+b8/1a0>
    8:   74 27                     je     31 <_EIP+0x31>
Code;  c01f213a <xfs_iget+ba/1a0>
    a:   89 34 24                  mov    %esi,(%esp,1)
Code;  c01f213d <xfs_iget+bd/1a0>
    d:   c7 44 24 04 84 00 00      movl   $0x84,0x4(%esp,1)
Code;  c01f2144 <xfs_iget+c4/1a0>
   14:   00



<Prev in Thread] Current Thread [Next in Thread>