[OpenAFS-devel] 2004-06-15 snap on FC2: no good still (sys_call_table, Error -1 in basic initialization)

Matthew Miller mattdm@mattdm.org
Tue, 15 Jun 2004 16:21:31 -0400


On Tue, Jun 15, 2004 at 10:04:12PM +0200, Rainer Schöpf wrote:
> If you see a kernel Oops in inode_doinit_with_dentry or a segmentation
> fault of afsd, try the following. I'm not so sure whether it's entirely
> correct, especially the panic call.

afsd loads file, but an attempt to do `ls /afs` gives me a segfault and the
following oops. Any subsequent attempts to list /afs hang indefinitely (and
unkillably). I'll try your new patch.


Unable to handle kernel NULL pointer dereference at virtual address 00000001
 printing eip:
3388c941
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: libafs parport_pc lp parport autofs4 sunrpc tg3
ipt_REJECT ip          t_state ip_conntrack iptable_filter ip_tables floppy
sg microcode pcspkr dm_mod           uhci_hcd ehci_hcd button battery
asus_acpi ac ipv6 ext3 jbd aic7xxx sd_mod scsi_          mod
CPU:    0
EIP:    0060:[<3388c941>]    Tainted: P  
EFLAGS: 00010287   (2.6.6-1.435) 
EIP is at afs_xdr_char+0x7/0x54 [libafs]
eax: 00000001   ebx: 00000001   ecx: 00000584   edx: 00000000
esi: 00000000   edi: 00000041   ebp: 22f42d14   esp: 22f42cbc
ds: 007b   es: 007b   ss: 0068
Process ls (pid: 2615, threadinfo=22f42000 task=30fb1830)
Stack: 00000584 23564401 00000001 338791e3 22f42d14 23564401 ffffffff
23564400 
       22f42d14 23564400 2358ddd8 33888cd3 00000001 3388c93a 31f5b538
22f42d14 
       3388858a 33856380 00005b1b 036ff0d4 00000000 294ed990 00000001
338aec40 
Call Trace:
 [<338791e3>] afs_xdr_vector+0x18/0x39 [libafs]
 [<33888cd3>] xdr_uvldbentry+0x17/0x1d4 [libafs]
 [<3388c93a>] afs_xdr_char+0x0/0x54 [libafs]
 [<3388858a>] VL_GetEntryByNameU+0x61/0x136 [libafs]
 [<33856380>] afs_ConnByHost+0xa0/0xa9 [libafs]
 [<338563b7>] afs_ConnByMHosts+0x2e/0x42 [libafs]
 [<33878944>] afs_NewVolumeByName+0x120/0x2cf [libafs]
 [<33855634>] afs_choose_cell_by_name+0x0/0x2b [libafs]
 [<33855500>] afs_UpdateCellLRU+0x52/0x94 [libafs]
 [<3386e75a>] EvalMountPoint+0x1aa/0x3d8 [libafs]
 [<3385d11d>] afs_dir_LookupOffset+0x4c/0x53 [libafs]
 [<3387113a>] afs_lookup+0xc2f/0xfb5 [libafs]
 [<02121c00>] sys_setsid+0x5b/0x87
 [<33890a7b>] afs_linux_lookup+0x31/0x11f [libafs]
 [<0214ba55>] real_lookup+0x66/0xc8
 [<0214bc23>] do_lookup+0x43/0x72
 [<0214c1ba>] link_path_walk+0x568/0x786
 [<0214c62b>] path_lookup+0xf8/0x128
 [<0214c767>] __user_walk+0x21/0x51
 [<02148a11>] vfs_lstat+0x11/0x37
 [<0213fe44>] rw_vm+0x1f8/0x218
 [<02148f6f>] sys_lstat64+0xf/0x23
 [<021400e6>] put_user_size+0x29/0x2d
 [<0214fd83>] sys_getdents64+0xa0/0xaa
 [<021143fc>] do_page_fault+0x0/0x446

Code: 8b 00 83 f8 01 74 22 72 0c 83 f8 02 ba 01 00 00 00 74 34 eb 



-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>