[OpenAFS-devel] Weird problem, afs_syscall not working?

Derek Atkins warlord@MIT.EDU
31 Oct 2002 21:00:24 -0500


2.4.18-17.7.x is known not to work with stock-openafs-1.2.7

There is a patch in the RH RPMS (the NEW rh7.3.2 rpms) that
fixes the problem.

-derek

Miles Davis <miles@cs.stanford.edu> writes:

> Over the past couple of days, I've had OpenAFS stop working on several 
> RedHat-7.3 based systems. The weird thing is, I didn't change any software 
> on the systems, and I can't find any commonalities. They are running any 
> combination of RH stock kernels 2.4.18-5, 2.4.18-10, and 2.4.18-17.7.x. 
> All were working fine last week. I've tried different kernels, and 
> different openafs versions from 1.2.5 to 1.2.7, even rebuilding the rpms 
> on each of those kernels to no avail. I am stumped.
> 
> Here are the symptom details. I start afs, and I see this:
> 
> # service afs start
> Found libafs-2.4.18-17.7.x-i686.mp.o from SymTable... Loading...
> Starting AFS services..... 
> afsd: No check server daemon in client.
> afsd: All AFS daemons started.
> afsd: Can't mount AFS on /afs(22)
> 
> If I do the insmod by hand and strace afsd, I see lots of afs_syscalls 
> failing:
> 
> [pid  2146] afs_syscall(0x1c, 0x13, 0, 0xfffffff6, 0xbfffc4c0) = -1 ENOSYS (Function not implemented)
> 
> And yet, no errors from modload, and afs_syscall seems to be there:
> 
> # grep afs_syscall /proc/ksyms 
> f896bcc0 afs_syscall_icreate	[libafs-2.4.18-17.7.x-i686.mp]
> f896bce0 afs_syscall_iincdec	[libafs-2.4.18-17.7.x-i686.mp]
> f8973ac0 afs_syscall	[libafs-2.4.18-17.7.x-i686.mp]
> f8972220 afs_syscall_call	[libafs-2.4.18-17.7.x-i686.mp]
> f8978600 afs_syscall_pioctl	[libafs-2.4.18-17.7.x-i686.mp]
> f896bcd0 afs_syscall_iopen	[libafs-2.4.18-17.7.x-i686.mp]
> 
> The results are the same for other kernels too. If anybody could give me a 
> clue, I'd greatly appreciate it.
> 
> attached: output of 
> 
> /sbin/insmod -P smp_ -f -m /usr/vice/etc/modload/libafs-2.4.18-17.7.x-i686.mp.o
> 
> and
> 
> strace -f /usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70
> 
> -- 
> // Miles Davis - miles@cs.stanford.edu - http://www.cs.stanford.edu/~miles
> // Computer Science Department - Computer Facilities
> // Stanford University
> 
> 

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available