[OpenAFS] Re: OpenAFS 1.4.2 on latest FC5 kernel

David Howells dhowells@redhat.com
Thu, 26 Oct 2006 22:48:04 +0100


Axel Thimm <Axel.Thimm@ATrpms.net> wrote:

> ATrpms doesn't ship debuginfo packages due to mirror size
> constraints. But for openafs I copied them over to
> http://people.atrpms.net/~athimm/openafs-debug/, could you try using
> the ATrpms' builds and the matching debuginfo packages?

I extracted the contents of your i386 openafs-client package and ran the fs
program directly.  That shows:

open("/usr/afs/admin/.AFSSERVER", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/.AFSSERVER", 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, 0xff801d90) = -1 ETIMEDOUT (Connection timed out)
close(3)                                = 0
write(2, "fs:\'/afs\'", 9fs:'/afs')              = 9
write(2, ": Connection timed out\n", 23: Connection timed out
) = 23
exit_group(1)                           = ?
Process 8650 detached


Running the x86_64 program does something similar:

open("/usr/afs/admin/.AFSSERVER", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/.AFSSERVER", 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, 0x7ffff388fbe0) = -1 ETIMEDOUT (Connection timed out)
close(3)                                = 0
write(2, "fs:\'/afs\'", 9fs:'/afs')              = 9
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 8679 detached

So it looks like it's trying to print the error message for ETIMEDOUT at the
point the SEGV occurs.


However, there's an earlier problem: why is the ioctl returning ETIMEDOUT?

I've also tried this on an i686 box too, and that exhibits the timeout problem
too.  Is there a step I've missed in my script?

David