[OpenAFS-devel] 1.3.73 in new cell

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Fri, 29 Oct 2004 20:52:07 +0200


Hi,
  they were caused by the kernel module not loaded.
Could handling of this error be more transparent ===> error
messages more descriptive? ;-)
Martin


Martin MOKREJŠ wrote:
> Hi,
>  while configuring new cell on one linux box 2.4.28-pre3, I went across 
> this problem:
> 
> /usr/vice/etc/afsd -debug
> afsd: My home cell is 'biomed.cas.cz'
> ParseCacheInfoFile: Opening cache info file '/usr/vice/etc/cacheinfo'...
> ParseCacheInfoFile: Cache info file successfully parsed:
>        cacheMountDir: '/afs'
>        cacheBaseDir: '/usr/vice/cache'
>        cacheBlocks: 50
> afsd: WARNING: cache probably too small!
> afsd: 25 inode_for_V entries at 0x8074c80, 100 bytes
> SScall(137, 28, 17)=-1 afsd: Forking rx listener daemon.
> afsd: Forking rx callback listener.
> afsd: Forking rxevent daemon.
> SScall(137, 28, 48)=-1 SScall(137, 28, 0)=-1 SScall(137, 28, 36)=-1 
> afsd: Error -1 in basic initialization.
> 
> --------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> 
> Couldn't it die immediately? cacheinfo contains 
> "/afs:/usr/vice/cache:50", yes it is very small. ;)
> 
> 
> afsd: Calling AFSOP_CACHEINIT: 300 stat cache entries, 25 optimum cache 
> files, 50 blocks in the cache, flags = 0x0, dcache entries 300
> SScall(137, 28, 6)=-1 afsd: Sweeping workstation's AFS cache directory.
> doSweepAFSCache: Opening cache directory '/usr/vice/cache'
> SScall(137, 28, 19)=-1 doSweepAFSCache: Current directory entry:
>        inode=2, reclen=16, name='.'
> doSweepAFSCache: Current directory entry:
>        inode=2, reclen=16, name='..'
> doSweepAFSCache: Current directory entry:
>        inode=11, reclen=24, name='lost+found'
> doSweepAFSCache: Current directory entry:
>        inode=12, reclen=24, name='CacheItems'
> doSweepAFSCache: Current directory entry:
>        inode=13, reclen=24, name='VolumeItems'
> doSweepAFSCache: Current directory entry:
>        inode=14, reclen=24, name='CellItems'
> doSweepAFSCache: Current directory entry:
>        inode=32641, reclen=16, name='D0'
> doSweepAFSCache: Opening cache directory '/usr/vice/cache/D0'
> doSweepAFSCache: Current directory entry:
>        inode=32641, reclen=16, name='.'
> doSweepAFSCache: Current directory entry:
>        inode=2, reclen=16, name='..'
> doSweepAFSCache: Current directory entry:
>        inode=32642, reclen=16, name='V0'
> doSweepAFSCache: Current directory entry:
> [cut]
> doSweepAFSCache: Current directory entry:
>        inode=32666, reclen=16, name='V24'
> doSweepAFSCache: Closing cache directory.
> doSweepAFSCache: Closing cache directory.
> afsd: 25 out of 25 data cache files found in sweep 1.
> afsd: Calling AFSOP_CACHEINFO: dcache file is '/usr/vice/cache/CacheItems'
> SScall(137, 28, 7)=-1 afsd: Calling AFSOP_CELLINFO: cell info file is 
> '/usr/vice/cache/CellItems'
> SScall(137, 28, 34)=-1 SScall(137, 28, 29)=-1 Adding cell 
> 'biomed.cas.cz': error -1
> ----------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> 
> This I don't know how to interpret.
> 
> 
> SScall(137, 28, 35)=-1 afsd: Forking AFS daemon.
> afsd: Forking Check Server Daemon.
> SScall(137, 28, 1)=-1 afsd: Forking 2 background daemons.
> SScall(137, 28, 4)=-1 afsd: No check server daemon in client.
> ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Is this another error? What's that?
> 
> 
> afsd: Calling AFSOP_VOLUMEINFO: volume info file is 
> '/usr/vice/cache/VolumeItems'
> SScall(137, 28, 2)=-1 SScall(137, 28, 8)=-1 afsd: Calling AFSOP_AFSLOG: 
> volume info file is '/usr/vice/etc/AFSLog'
> SScall(137, 28, 2)=-1 SScall(137, 28, 11)=-1 afsd: Calling 
> AFSOP_CACHEINODE for each of the 25 files in '/usr/vice/cache'
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 SScall(137, 28, 10)=-1 
> SScall(137, 28, 10)=-1 afsd: Calling AFSOP_GO with cacheSetTime = 1
> SScall(137, 28, 100)=-1 afsd: All AFS daemons started.
> afsd: Forking trunc-cache daemon.
> afsd: Mounting the AFS root on '/afs', flags: 0.
> SScall(137, 28, 3)=-1 afsd: Can't mount AFS on /afs(19)
> 
> 
> 
> Changing the cacheinfo size to 50000 helps to fix the first error. This 
> one maybe causes
> teh subsequent 2.
> 
> # /usr/vice/etc/afsd -debug
> afsd: My home cell is 'biomed.cas.cz'
> ParseCacheInfoFile: Opening cache info file '/usr/vice/etc/cacheinfo'...
> ParseCacheInfoFile: Cache info file successfully parsed:
>        cacheMountDir: '/afs'
>        cacheBaseDir: '/usr/vice/cache'
>        cacheBlocks: 50000
> afsd: 5000 inode_for_V entries at 0x8075078, 20000 bytes
> SScall(137, 28, 17)=-1 afsd: Forking rx listener daemon.
> afsd: Forking rx callback listener.
> afsd: Forking rxevent daemon.
> SScall(137, 28, 48)=-1 SScall(137, 28, 0)=-1 SScall(137, 28, 36)=-1 
> afsd: Error -1 in basic initialization.
> afsd: Calling AFSOP_CACHEINIT: 300 stat cache entries, 5000 optimum 
> cache files, 50000 blocks in the cache, flags = 0x0, dcache entries 2000
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
> 
>