Re: afs product

Troy Dawson (dawson@fnal.gov)
Thu, 23 Sep 1999 07:54:27 -0500

Hi Jeff,
First off, I am unsure as to the licencing of AFS. I wrote the afs-3.5 rpm
for Fermilab machines. I believe when I rewrite it it needs to be named
afs-fermi-3.5. But for now I'll assume that you are installing it for a
fermilab machine. If you arn't installing it for a Fermilab machine, but
still have a valid AFS server running and licenses, write me and I'll tell you
the one or two things you need to change.

Jeffrey McDonald wrote:
>
> Hi,
>
> I'm trying to install the afs file system at a remote linux host.
> I found the afs-3.5-3.i386.rpm on linux.fnal.gov, but I try to
> run afs, I get:
>
> # /usr/sbin/install-afs35
> libafs-2.2.3.mp.o
> Failed to load AFS client, not starting AFS services.
>
> I've traced the problem to a kernel version mismatch. I am using kernel
> 2.2.5-22smp and the afs product was compile for 2.2.3 kernel.

You are very close as to the problem, it is a kernel problem. But my afs rpm
has been changed a bit, it forces the kernel in (insmod -f) and it really
seems to do well, except for if certain things are in a kernel.

For a smp kernel, you need to turn off the 'set version info on all symbols
for modules' option. Then recompile the kernel. This is a bit of a pain, but
so far it's the only option I've been able to find to get around this problem.

>
> I retrieved the afs-3.5-2.src.rpm to rebuild it, but it doesn't "unpack"
> the afs components or I have been unable to find them. Can someone tell
> me where to find the afs-3.5-2 source tree after I unpack it?
>
> Is there a tar.gz file for afs?

For the afs, there isn't, at least not for AFS 3.5. It was made by transarc,
and we didn't get any source code from them, which is why we've had to force
the modules into the kernels instead of just recompiling them.

>
> Thanks in Advance,
>
> Jeff
>
> _____________________________________________________
> Jeffrey McDonald, University of Pittsburgh jemcdon+@pitt.edu
> 100 Allen Hall office: 412-624-9160
> 3941 O'Hara St. lab: 412-624-9160
> Dept. of Physics and Astronomy fax: 412-624-9163
> University of Pittsburgh
> Pittsburgh, PA 15260

There is also an afs-3.5-3.i386.rpm. One problem is that the way I originally
wrote the rpm, I didn't make it so that it would update easily, actually not
at all. So you have to erase the old rpm, and install the new one. The next
generation (afs-fermi-3.5) you will be able to just do an update on top of the
old one.

I hope this answered your questions
Troy

-- 
__________________________________________________
Troy Dawson  dawson@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/OSS  CSS Group
__________________________________________________