[OpenAFS] How to decipher error codes

jarausch@igpm.rwth-aachen.de jarausch@igpm.rwth-aachen.de
Tue, 19 Mar 2002 09:51:32 +0100


On 18 Mar, Derek Atkins wrote:
> 22 is EINVAL.  (It's a standard errno code).
> 
> Did libafs get loaded properly into your kernel?

On 18 Mar, Derrick J Brashear wrote:
It's a standard error code from e.g. /usr/include/errno.h
However, this one usually means /afs doesn't exist; try mkdir /afs

I checked both:
libafs-2.4.18.mp.o  is loaded
the mountpoint /afs  does exist.

Here is the log of the afs start on a freshly booted system

Starting AFS services..... 
afsd: My home cell is 'igpm.rwth-aachen.de'
SScall(137, 28, 17)=0 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
afsd: Forking rxevent daemon.
afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
afsd: Forking 5 background daemons.
SScall(137, 28, 29)=0
afsd: Calling AFSOP_CACHEINIT: 2800 stat cache entries, 
104857 optimum cache files, 1048576 blocks in the cache, flags = 0x0,
dcache entries 2400
SScall(137, 28, 6)=0 afsd: Sweeping workstation's AFS cache directory.
afsd: 104857 out of 104857 data cache files found in sweep 1.
SScall(137, 28, 7)=0
SScall(137, 28, 8)=0
SScall(137, 28, 11)=0
SScall(137, 28, 100)=0
lots of  SScall(137, 28, 10)=0  entries
afsd: All AFS daemons started.
afsd: Forking trunc-cache daemon.
afsd: Mounting the AFS root on '/afs', flags: 0.
afsd: Can't mount AFS on /afs(22)

Any idea how to dig further?

Many thanks,
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany