[OpenAFS-devel] ppc64 / 1.3.85 / 2.6.5-7.191-pseries64 - afsd problem ? / compile error
Marco Hoehle
MHO@zurich.ibm.com
Fri, 15 Jul 2005 13:45:45 +0200
Building 1.3.85 on Power5 for PPC64 with SLES9 Kernel
2.6.5-7.191-pseries64.
During compilation of libafs for this kernel I got the flock64 error Frank
already described in February.
My workaround was just another IFDEF in src/afs/afs.h to use the struct
flock instead of struct flock64.
After this ugly patch the compilation was working and one can load the
module.
It says, that libafs cannot find the address of the system call table, but
it continues anyway.
In the earlier package provided from Sven Oehme for ppc (1.3.81 for
2.6.7.111.19 kernel) this behaviour was the same but it is anyway working.
Also in /proc/kallsyms libafs is in, so it may work.
But when loading afsd the following errors were thrown out ....
font:/opt/devel/openafs-1.3.85/src/afsd # ./afsd -memcache -verbose -debug
afsd: My home cell is 'test.zurich.ibm.com'
ParseCacheInfoFile: Opening cache info file '/usr/local/etc/openafs/cacheinfo'...
ParseCacheInfoFile: Cache info file successfully parsed:
cacheMountDir: '/afs'
cacheBaseDir: '/var/cache/openafs'
cacheBlocks: 107618
afsd: 13452 inode_for_V entries at 0x100487e0, 53808 bytes
SScall(137, 28, 17)=-1 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
SScall(137, 28, 48)=-1 afsd: Forking rxevent daemon.
SScall(137, 28, 0)=-1 afsd: Forking AFSDB lookup handler.
SScall(137, 28, 36)=-1 afsd: Error -1 in basic initialization.
afsd: Calling AFSOP_CACHEINIT: 300 stat cache entries, 13452 optimum cache files, 107618 blocks in the cache, flags = 0x1, dcache entries 13452
SScall(137, 28, 19)=-1 SScall(137, 28, 6)=-1 afsd: Sweeping workstation's AFS cache directory.
afsd: Using memory cache, not swept
afsd: Calling AFSOP_CACHEINFO: dcache file is '/CacheItems'
afsd: Calling AFSOP_CELLINFO: cell info file is '/CellItems'
SScall(137, 28, 34)=-1 SScall(137, 28, 29)=-1 Adding cell 'test.zurich.ibm.com': error -1
SScall(137, 28, 35)=-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
SScall(137, 28, 1)=-1 afsd: Forking 2 background daemons.
afsd: Calling AFSOP_VOLUMEINFO: volume info file is '/VolumeItems'
afsd: Calling AFSOP_AFSLOG: volume info file is '/usr/local/etc/openafs/AFSLog'
afsd: Calling AFSOP_CACHEINODE for each of the 13452 files in ''
afsd: Calling AFSOP_GO with cacheSetTime = 0
SScall(137, 28, 100)=-1 afsd: All AFS daemons started.
afsd: Forking trunc-cache daemon.
SScall(137, 28, 4)=-1 afsd: No check server daemon in client.
afsd: Mounting the AFS root on '/afs', flags: 0.
afsd: Can't mount AFS on /afs(22)
SScall(137, 28, 2)=-1 SScall(137, 28, 2)=-1 font:/opt/devel/openafs-1.3.85/src/afsd # SScall(137, 28, 3)=-1
The Point seems to be the : Error -1 in basic initialization
It does not fork the processes - only the afsd is running but forking nothing and waiting for a SIGKILL ...
font:/opt/devel/openafs-1.3.85/src/afsd # ps -aef | grep afs
root 18506 1 0 13:34 ? 00:00:00 ./afsd -memcache -verbose -debug
Any Ideas - patches I missed/ forgott ??
Thanks in advance
marco