[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 17:37:18 -0400


On Tue, Jun 15, 2004 at 10:38:57PM +0200, Rainer Schöpf wrote:
> regparm(0). Diffs of my changes are attached.

Well, progress. With all of your patches applied (except the inodesecurity
one -- that doesn't apply cleanly and when modified to apply, makes the
module not load complaining about security_inode_alloc, so I removed that
and just left in the "ip->i_security = NULL;" change), I can do ls in /afs
and see the dynroot properly. But changing to bu.edu and doing an ls there
gives a familiar-looking oops:

Unable to handle kernel NULL pointer dereference at virtual address 00000001
 printing eip:
3387e249
*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:[<3387e249>]    Tainted: P  
EFLAGS: 00010203   (2.6.6-1.435) 
EIP is at xdr_afs_uint32+0x8/0x2b [libafs]
eax: 00000001   ebx: 00000000   ecx: 13cfad64   edx: 00000000
esi: 00000001   edi: 00000001   ebp: 0000001e   esp: 13cfac44
ds: 007b   es: 007b   ss: 0068
Process ls (pid: 15114, threadinfo=13cfa000 task=0a59ee30)
Stack: 3387c225 00000001 00000000 02883000 00000168 3387e0ce 13cfacac
02883000 
       ffffffff 00000001 13cfad68 13cfacac 31f5b138 13cfacac 13cfad64
13cfad5c 
       3387c599 00000032 0000000c 3387c218 33881386 28f287d8 0000581b
3047de94 
Call Trace:
 [<3387c225>] xdr_AFSFid+0xd/0x3f [libafs]
 [<3387e0ce>] afs_xdr_arrayN+0xc6/0x108 [libafs]
 [<3387c599>] xdr_AFSCBFids+0x13/0x1f [libafs]
 [<3387c218>] xdr_AFSFid+0x0/0x3f [libafs]
 [<33881386>] RXAFS_InlineBulkStatus+0x3e/0x150 [libafs]
 [<33872868>] afs_DoBulkStat+0x83c/0x14eb [libafs]
 [<338602d2>] afs_dir_GetBlob+0xb/0x1e [libafs]
 [<338603de>] FindItem+0xc1/0xdb [libafs]
 [<3386011d>] afs_dir_LookupOffset+0x4c/0x53 [libafs]
 [<33873e6c>] afs_lookup+0x955/0xfb5 [libafs]
 [<338924d0>] vcache2inode+0x1e/0x25 [libafs]
 [<02121c00>] sys_setsid+0x5b/0x87
 [<33893f17>] 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 08 83 f9 01 75 06 8b 48 04 ff 11 c3 85 c9 75 07 8b 48 04 


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