[OpenAFS-devel] Problems using the RedHat patches to get OpenAFS working on Debian

Christine Nattrass christine.nattrass@yale.edu
Mon, 05 Jul 2004 16:37:39 -0400


Hi
I'm trying to get OpenAFS working on my computer and I started by 
looking at the patches put up by Jack Neely at 
http://linux.ncsu.edu/projects/openafs-rpms/ (mentioned in an earlier 
post here.)

I'm running Debian Linux with the 2.6.7 kernel.  Exactly what I did is 
up at:
http://pantheon.yale.edu/~cen8/Openafs.html
(because, ironically, in my optimism, I thought it was going to work and 
I was going to post something to help other people)

however when I type
    /usr/local/sbin/afsd
to start afs I get a segementation fault

I had no compiler errors, however, when I look in /var/log/messages I see:

Jul  5 14:36:41 tesla -- MARK --
Jul  5 14:56:41 tesla -- MARK --
Jul  5 15:16:41 tesla -- MARK --
Jul  5 15:26:18 tesla kernel: libafs: module license 'unspecified' 
taints kernel.
Jul  5 15:26:18 tesla kernel: Found sys_call_table at c0442200
Jul  5 15:30:30 tesla kernel: Starting AFS cache scan...<1>Unable to 
handle kernel NULL pointer dereference at virtual address 00000000
Jul  5 15:30:30 tesla kernel: 00000000
Jul  5 15:30:30 tesla kernel: PREEMPT
Jul  5 15:30:30 tesla kernel: Modules linked in: libafs snd_intel8x0 
snd_ac97_codec snd_mpu401_uart snd_rawmidi nls_iso8859_1
Jul  5 15:30:30 tesla kernel: CPU:    0
Jul  5 15:30:30 tesla kernel: EIP:    0060:[<00000000>]    Tainted: P 
Jul  5 15:30:30 tesla kernel: EFLAGS: 00010202   (2.6.7)
Jul  5 15:30:30 tesla kernel: EIP is at 0x0
Jul  5 15:30:30 tesla kernel: eax: c64dc51c   ebx: c1ea5000   ecx: 
00000000   edx: c044cb60
Jul  5 15:30:30 tesla kernel: esi: cff9f600   edi: c64dc51c   ebp: 
c1ea5098   esp: c72ede04
Jul  5 15:30:30 tesla kernel: ds: 007b   es: 007b   ss: 0068
Jul  5 15:30:30 tesla kernel: Process afsd (pid: 30077, 
threadinfo=c72ec000 task=c5aba830)
Jul  5 15:30:30 tesla kernel: Stack: d1d8f8a3 028c1a1e 00000000 028c1a1e 
d1e1d000 00000001 d1d57752 00200200
Jul  5 15:30:30 tesla kernel:        c020bccc c1ea5000 00000000 c72ec000 
c72ec000 00000000 00000000 d1d907af
Jul  5 15:30:30 tesla kernel:        0000000a c72edf1c cef71080 028c1a1e 
d1d94590 c692acb0 c5aba830 c692acb0
Jul  5 15:30:30 tesla kernel: Call Trace:
Jul  5 15:30:30 tesla kernel:  [pg0+293824675/1068126208] 
osi_UFSOpen+0x177/0x1b8 [libafs]
Jul  5 15:30:30 tesla kernel:  [pg0+293594962/1068126208] 
afs_InitCacheFile+0x1d1/0x45e [libafs]
Jul  5 15:30:30 tesla kernel:  [linvfs_open+99/110] linvfs_open+0x63/0x6e
Jul  5 15:30:30 tesla kernel:  [pg0+293828527/1068126208] 
afs_osi_Sleep+0x64/0x85 [libafs]
Jul  5 15:30:30 tesla kernel:  [pg0+293844368/1068126208] 
afs_syscall_call+0x54d/0x8f5 [libafs]
Jul  5 15:30:30 tesla kernel:  [pte_alloc_one+27/77] pte_alloc_one+0x1b/0x4d
Jul  5 15:30:30 tesla kernel:  [pg0+293845846/1068126208] 
afs_syscall+0x1f2/0x226 [libafs]
Jul  5 15:30:30 tesla kernel:  [pg0+293827878/1068126208] 
afs_ioctl+0x57/0x61 [libafs]
Jul  5 15:30:30 tesla kernel:  [filp_open+76/78] filp_open+0x4c/0x4e
Jul  5 15:30:30 tesla kernel:  [file_ioctl+100/375] file_ioctl+0x64/0x177
Jul  5 15:30:30 tesla kernel:  [dput+25/503] dput+0x19/0x1f7
Jul  5 15:30:30 tesla kernel:  [sys_ioctl+258/553] sys_ioctl+0x102/0x229
Jul  5 15:30:30 tesla kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jul  5 15:30:30 tesla kernel:
Jul  5 15:30:30 tesla kernel: Code:  Bad EIP value.
Jul  5 15:56:42 tesla -- MARK --
Jul  5 16:16:42 tesla -- MARK --

(sorry for all the crap)

So...  at this point I'm lost.  I would greatly appreciate any help.
thanks
Christine Nattrass