[OpenAFS] Linux 2.6.10-rc2 - still no luck

Helmut Jarausch jarausch@igpm.rwth-aachen.de
Mon, 13 Dec 2004 12:00:15 +0100 (CET)


On Fri, 10 Dec 2004, Derrick J Brashear wrote:
> On Fri, 10 Dec 2004, Helmut Jarausch wrote:

>> On Thu, 9 Dec 2004, Derrick J Brashear wrote
>>> what happens if you just load the kernel module by hand and then run afsd?
>>
>> Yes, the loading of the kernel modules failed already by
>>
>> failed to find address of sys_call_table

> did it actually fail to load, or only print that message?

It did load and I could even start afsd.
But the first
ls /afs/<CELL>/<a directory>
caused the kernel to die

Here is the log
libafs: module license 'unspecified' taints kernel.
Failed to find address of sys_call_table
Starting AFS cache scan...found 14510 non-empty cache files (13%%).
### here the   ls /afs/<CELL>/<a directory>

Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c016fdaf
*pde = 00000000
Oops: 0002 [#1]
PREEMPT SMP 
Modules linked in: libafs
CPU:	0
EIP:	0060:[generic_delete_inode+47/256]    Tainted: P      VLI
EFLAGS: 00010282   (2.6.10-rc2) 
EIP is at generic_delete_inode+0x2f/0x100
eax: f8962460	ebx: f8962450	ecx: 00000000	edx: 00000000
esi: f8955040	edi: f8962678	ebp: f6c0e25c	esp: f6c2dcb0
ds: 007b   es: 007b   ss: 0068
Process ls (pid: 1330, threadinfo=f6c2c000 task=f7f2b5c0)
Stack: f8962474 00000001 c0305d41 f8962450 00000000 c0170053 f8962450 c04df824 
       f6c2c000 f88f1a38 f8962450 00000000 f8962450 f8962450 f88fb35b f8962450 
       f6c2dd74 00000000 00000000 f6c2dd44 f6c2dd4c 00000001 f88f2eac f8962000 
Call Trace:
 [_atomic_dec_and_lock+49/80] _atomic_dec_and_lock+0x31/0x50
 [iput+99/144] iput+0x63/0x90
 [pg0+942697016/1067529216] afs_PutVCache+0x88/0x130 [libafs]
 [pg0+942736219/1067529216] afs_lookup+0x9cb/0x147f [libafs]
 [pg0+942702252/1067529216] afs_CopyOutAttrs+0x13c/0x230 [libafs]
 [pg0+942907133/1067529216] crget+0x4d/0xc0 [libafs]
 [pg0+942935066/1067529216] afs_linux_lookup+0x6a/0x1d0 [libafs]
 [real_lookup+209/256] real_lookup+0xd1/0x100
 [do_lookup+150/176] do_lookup+0x96/0xb0
 [link_path_walk+1695/3360] link_path_walk+0x69f/0xd20
 [read_cache_page+155/592] read_cache_page+0x9b/0x250
 [page_getlink+58/176] page_getlink+0x3a/0xb0
 [link_path_walk+1982/3360] link_path_walk+0x7be/0xd20
 [path_lookup+145/352] path_lookup+0x91/0x160
 [__user_walk+51/96] __user_walk+0x33/0x60
 [vfs_stat+31/96] vfs_stat+0x1f/0x60
 [do_brk+429/640] do_brk+0x1ad/0x280
 [sys_stat64+27/64] sys_stat64+0x1b/0x40
 [sys_brk+238/288] sys_brk+0xee/0x120
 [do_page_fault+0/1513] do_page_fault+0x0/0x5e9
 [syscall_call+7/11] syscall_call+0x7/0xb
Code: 0c 8b 5c 24 18 8b 83 a0 00 00 00 8b 53 08 8b 70 24 8d 43 08 8b 48 04 89 4a 04 89 11 8b 53 10 89 40 04 89 43 08 8d 43 10 8b 48 04 <89> 4a 04 89 11 89 40 04 83 8b 24 01 00 00 10 89 43 10 b8 24 f8 
 <6>note: ls[1330] exited with preempt_count 2

Thanks for a road map on how to proceed now,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany