[OpenAFS] Installing client on Cent OS4
Mon, 15 May 2006 18:04:07 -0400
> Hello All,
> I'm trying to install the AFS client on my CentOS 4 machine. I downloaded
> the following rpms for RHEL4:
Why not openafs-kernel-XXX for your particular kernel version?
> I did rpm -i for them in that order. I then go to
> /usr/src/openafs-kernel-1.4.1/ and the README states to do:
> When it's done, the binary module will be src/MODLOAD-XXX/libafs-XXX.o and
> must be manually installed for your kernel
> It looks like make runs fine but there is no src/MODLOAD-XXX/, but there
> is libafs/MODLOAD-2.6.9-34.EL-SP/
Well, duh! XXX is "fill in the blank"
> Within there, there is no libafs-XXX.o, but a libafs-2.6.9-34.EL.ko.
The only real change here is ".ko" vs. ".o".. This is a 2.4 vs. 2.6 change.
The docs were written awhile ago and 2.6 changed the kernel module extension
to .ko. The docs weren't updated...
> It says I'm supposed to copy the .o file to /usr/vice/etc/modload, but
> neither /usr/vice/etc/modload or the .o file exists. So I figure just
> create the modload dir and copy the .ko file over. Then I'm supposed to
> use afsmodname to add the module to my SymTable but afsmodname doesn't
> exist. Where did I go wrong? Did I miss an rpm?
No, Yes, Maybe... You could have just used the pre-built kernel module
RPMs.. Or you could rebuild the SRPM into a kernel RPM (this has been
discussed numerous times on this list).
The docs are COMPLETELY wrong here. You should copy the kernel module
to /lib/modules/.../openafs.ko and then you should run 'depmod -ae'.
There is no afsmodname anymore, nor /usr/vice/etc/modload.. Modules
are stored in the standard Linux Location in /lib/modules/
> Sounds like all I need is to incorporate AFS into the kernel somehow.
> The documentation on openafs.org refers to the AFS_CDROM...
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