[OpenAFS-devel] 2004-06-15 snap on FC2: no good still (sys_call_table, Error -1 in basic initialization)

Matthew Miller mattdm@mattdm.org
Tue, 15 Jun 2004 14:51:25 -0400


[yeesh. sending again with 1.2 million character log lines removed]


I'm still having no luck getting OpenAFS to go on Fedora Core 2. This is
with the 2.6.6-1.435 Fedora Core 2 kernel and the OpenAFS CVS snapshot from
this morning (openafs-snap-2004-06-15).

When running configure , I notice this:

  $ ./configure --with-linux-kernel-headers=3D/lib/modules/`uname -r`/build/
  [...]
  checking for inode_setattr return type... yes
  checking for linux/syscall.h in kernel... no=20
  checking for redhat kernel configuration... no
  checking for recalc_sigpending arg type... yes
  [...]
  checking if kernel uses MODVERSIONS... no
  checking which kernel modules to build... MP SP
  configure: WARNING: Cannot determine sys_call_table status. assuming it
      isn't exported
  checking your AFS sysname... i386_linux26
  [and so on]

Which all looks about right to me. And the module actually loads, which is
exciting. But dmesg shows this:

  libafs: module license 'unspecified' taints kernel.
  Failed to find address of sys_call_table

The first is expected; but the second -- I thought it just decided that it
wasn't going to need that.

And then, when I try to actually run afsd:

  $ sudo ./afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 -dynroot
  afsd: Error -1 in basic initialization.
  afsd: Error enabling dynroot support.
  Adding cell 'bu.edu': error -1
  afsd: No check server daemon in client.
  afsd: All AFS daemons started.
  afsd: Can't mount AFS on /afs(22)

and then it exits. I'd really appreciate it if someone could decode these
messages. The error enabling dynroot makes me think that it's something very
basic -- well, as does "error in basic initialization" -- not a problem with
my network config or anything. But all advice or comments very welcome.

Following, please find the results of adding -debug -verbose to the afsd
command above. No more text from me after that. I have taken the liberty of
removing about 100,000 lines of "doSweepAFSCache" -- 4MB or so. And several
of the SScall lines are over a million (!) characters long -- if those would
be helpful, I can send them to someone directly.



=2E.....................................................................

afsd: My home cell is 'bu.edu'
ParseCacheInfoFile: Opening cache info file '/usr/local/etc/openafs/cachein=
fo'...
ParseCacheInfoFile: Cache info file successfully parsed:
	cacheMountDir: '/afs'
	cacheBaseDir: '/var/cache/afs'
	cacheBlocks: 524288
afsd: 52428 inode_for_V entries at 0xf6feb008, 209712 bytes
SScall(137, 28, 17)=3D-1 afsd: Forking rx listener daemon.
SScall(137, 28, 48)=3D-1 afsd: My home cell is 'bu.edu'
ParseCacheInfoFile: Opening cache info file '/usr/local/etc/openafs/cachein=
fo'...
ParseCacheInfoFile: Cache info file successfully parsed:
	cacheMountDir: '/afs'
	cacheBaseDir: '/var/cache/afs'
	cacheBlocks: 524288
afsd: 52428 inode_for_V entries at 0xf6feb008, 209712 bytes
SScall(137, 28, 17)=3D-1 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
SScall(137, 28, 0)=3D-1 afsd: My home cell is 'bu.edu'
ParseCacheInfoFile: Opening cache info file '/usr/local/etc/openafs/cachein=
fo'...
ParseCacheInfoFile: Cache info file successfully parsed:
	cacheMountDir: '/afs'
	cacheBaseDir: '/var/cache/afs'
	cacheBlocks: 524288
afsd: 52428 inode_for_V entries at 0xf6feb008, 209712 bytes
SScall(137, 28, 17)=3D-1 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
afsd: Forking rxevent daemon.
SScall(137, 28, 19)=3D-1 afsd: My home cell is 'bu.edu'
ParseCacheInfoFile: Opening cache info file '/usr/local/etc/openafs/cachein=
fo'...
ParseCacheInfoFile: Cache info file successfully parsed:
	cacheMountDir: '/afs'
	cacheBaseDir: '/var/cache/afs'
	cacheBlocks: 524288
afsd: 52428 inode_for_V entries at 0xf6feb008, 209712 bytes
SScall(137, 28, 17)=3D-1 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
afsd: Forking rxevent daemon.
SScall(137, 28, 36)=3D-1 afsd: Error -1 in basic initialization.
afsd: Calling AFSOP_CACHEINIT: 2000 stat cache entries, 52428 optimum cache=
 files, 524288 blocks in the cache, flags =3D 0x0, dcache entries 800
SScall(137, 28, 6)=3D-1 afsd: Sweeping workstation's AFS cache directory.
doSweepAFSCache: Opening cache directory '/var/cache/afs'
doSweepAFSCache: Current directory entry:
	inode=3D235579, reclen=3D16, name=3D'D7'
doSweepAFSCache: Opening cache directory '/var/cache/afs/D7'
doSweepAFSCache: Current directory entry:
	inode=3D235579, reclen=3D16, name=3D'.'
doSweepAFSCache: Current directory entry:
	inode=3D212993, reclen=3D16, name=3D'..'
doSweepAFSCache: Current directory entry:
	inode=3D237395, reclen=3D24, name=3D'V16151'
doSweepAFSCache: Current directory entry:
	inode=3D237014, reclen=3D24, name=3D'V15770'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251276, reclen=3D24, name=3D'V21895'
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
SScall(137, 28, 1)=3D-1 node=3D250686, reclen=3D24, name=3D'V21305'
doSweepAFSCache: Current directory entry:
	inode=3D251349, reclen=3D24, name=3D'V21968'
doSweepAFSCache: Current directory entry:
	inode=3D251405, reclen=3D24, name=3D'V22024'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
SScall(137, 28, 4)=3D-1 afsd: No check server daemon in client.
node=3D250686, reclen=3D24, name=3D'V21305'
doSweepAFSCache: Current directory entry:
	inode=3D251349, reclen=3D24, name=3D'V21968'
doSweepAFSCache: Current directory entry:
	inode=3D251405, reclen=3D24, name=3D'V22024'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
afsd: Forking 3 background daemons.
SScall(137, 28, 2)=3D-1 node=3D250686, reclen=3D24, name=3D'V21305'
doSweepAFSCache: Current directory entry:
	inode=3D251349, reclen=3D24, name=3D'V21968'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
afsd: Forking 3 background daemons.
SScall(137, 28, 2)=3D-1 node=3D250686, reclen=3D24, name=3D'V21305'
doSweepAFSCache: Current directory entry:
	inode=3D251349, reclen=3D24, name=3D'V21968'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
afsd: Forking 3 background daemons.
SScall(137, 28, 2)=3D-1 node=3D250686, reclen=3D24, name=3D'V21305'
doSweepAFSCache: Current directory entry:
	inode=3D251349, reclen=3D24, name=3D'V21968'
[snip]
doSweepAFSCache: Current directory entry:
	inode=3D251895, reclen=3D24, name=3D'V22514'
doSweepAFSCache: Current directory entry:
	inode=3D251187, reclen=3D24, name=3D'V21806'
doSweepAFSCache: Closing cache directory.
doSweepAFSCache: Closing cache directory.
afsd: 52429 out of 52428 data cache files found in sweep 1.
afsd: Calling AFSOP_CACHEINFO: dcache file is '/var/cache/afs/CacheItems'
SScall(137, 28, 7)=3D-1 afsd: Calling AFSOP_CELLINFO: cell info file is '/v=
ar/cache/afs/CellItems'
SScall(137, 28, 34)=3D-1 afsd: Enabling dynroot support in kernel.
SScall(137, 28, 31)=3D-1 afsd: Error enabling dynroot support.
SScall(137, 28, 29)=3D-1 Adding cell 'bu.edu': error -1
SScall(137, 28, 32)=3D-1 SScall(137, 28, 35)=3D-1 afsd: Forking AFS daemon.
afsd: Forking Check Server Daemon.
afsd: Forking 3 background daemons.
afsd: Calling AFSOP_VOLUMEINFO: volume info file is '/var/cache/afs/VolumeI=
tems'
SScall(137, 28, 8)=3D-1 afsd: Calling AFSOP_AFSLOG: volume info file is '/u=
sr/local/etc/openafs/AFSLog'
SScall(137, 28, 11)=3D-1 afsd: Calling AFSOP_CACHEINODE for each of the 524=
28 files in '/var/cache/afs'
SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 [... ridiculously long li=
ne ...] SScall(137, 28, 10)=3D-1 afsd: Calling AFSOP_GO with cacheSetTime =
=3D 1
SScall(137, 28, 100)=3D-1 afsd: All AFS daemons started.
afsd: Forking trunc-cache daemon.
SScall(137, 28, 3)=3D-1 137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 SScall(1=
37, 28, 10)=3D-1 SScall(137, 28, 10)=3D-1 afsd: Calling AFSOP_GO with cache=
SetTime =3D 1
SScall(137, 28, 100)=3D-1 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)








--=20
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>