[OpenAFS] kernel module on 2.6.9 amd64

Andrej Filipcic andrej.filipcic@ijs.si
Tue, 26 Oct 2004 12:20:31 +0200


Hi, 

I am trying to install today's cvs on FC3 RC1 amd64. With plain FC3 kernel
2.6.9-1.640, the module can not be loaded since it still requires exported 
ia32_sys_call_table (defined in afsconfig.h, a configure bug?). I have 
recompiled the kernel with sys_call_table and ia32_sys_call_table exported
and have both defined in afsconfig.h. The openafs builds fine. When I start 
the afsd, it hangs:

[root@f9pc39 ~]# ps ax|grep afs
 3341 pts/0    S+     0:00 strace /usr/vice/etc/afsd -stat 2000 -dcache 800 
-daemons 3 -volumes 70 -dynroot
 3342 pts/0    S+     0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 
3 -volumes 70 -dynroot
 3343 pts/0    S<+    0:00 /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 
3 -volumes 70 -dynroot
 3344 pts/0    Z+     0:00 [afsd] <defunct>
 3345 ?        S      0:00 [afs_cbstart]
 3346 pts/0    Z<+    0:00 [afsd] <defunct>
 3347 ?        S      0:00 [afs_evtstart]

The end of strace output:

....
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, SIOCGIFCONF, {80, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, 
{"eth0",{AF_INET, inet_addr("194.249.156.39")}}}}) = 0
ioctl(3, SIOCGIFFLAGS, 0x7fbffed5c0)    = 0
ioctl(3, SIOCGIFNETMASK, 0x7fbffed5c0)  = 0
ioctl(3, SIOCGIFMTU, 0x7fbffed5c0)      = 0
ioctl(3, SIOCGIFFLAGS, 0x7fbffed5e8)    = 0
ioctl(3, SIOCGIFNETMASK, 0x7fbffed5e8)  = 0
ioctl(3, SIOCGIFMTU, 0x7fbffed5e8)      = 0
close(3)                                = 0
open("/opt/openafs/etc/openafs/NetRestrict", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = 3
ioctl(3, CAPI_REGISTER or SNDCTL_COPR_LOAD, 0x7fbfffbe80) = 0
close(3)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x2a95587ed0) = 3343
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x2a95587ed0) = 3344
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x2a95587ed0) = 3346
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = 3
ioctl(3, CAPI_REGISTER or SNDCTL_COPR_LOAD

The file /proc/fs/openafs/afs_ioctl exists, but the cursor is just waiting at 
the end of the line with ioctl. Any idea what could be wrong?

Cheers,
Andrej

-- 
_____________________________________________________________
   doc. dr. Andrej Filipcic,   E-mail: Andrej.Filipcic@ijs.si
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-1-477-3674    Fax: +386-1-425-7074
-------------------------------------------------------------