[OpenAFS] OpenAFS 1.2.2 Builds 2.4.3-12 Modules under 2.4.9-6

Computers in Medicine pittmed@mail.com
Fri, 9 Nov 2001 02:33:07 -0500


I was using OpenAFS under Red Hat 7.1 / kernel 2.4.3-12 and it worked fine.
I then upgraded the kernel to 2.4.9-6 from Red Hat RPMs and I get the
following message when I try to stary OpenAFS

[root@myhost openafs-1.2.2-rh7.1.1]# /etc/rc.d/init.d/afs start
Hmm...  I can't seem to find an AFS kernel module suitable for your Linux
kernel.  That means you will need to build or obtain a suitable module.
The following information may be of some use in obtaining assistance:
CPU Type:        (1)
Linux version:  2.4.9-6 #1 Thu Oct 18 09:39:55 EDT 2001
RedHat release: Red Hat Linux release 7.1 (Seawolf)
Symbol versions:
Found iget4 9fbc870a from SymTable... Loading...
/etc/rc.d/init.d/afs: [: too many arguments
Failed to load AFS client, not starting AFS services.
[root@myhost openafs-1.2.2-rh7.1.1]#

Here is what's in /usr/vice/etc/modload

[root@myhostopenafs-1.2.2-rh7.1.1]# ls /usr/vice/etc/modload/
libafs-2.4.2-2-athlon.mp.o   libafs-2.4.3-12-athlon.o
libafs-2.4.2-2-athlon.o      libafs-2.4.3-12-i386.mp.o
libafs-2.4.2-2-i386.mp.o     libafs-2.4.3-12-i386.o
libafs-2.4.2-2-i386.o        libafs-2.4.3-12-i586.mp.o
libafs-2.4.2-2-i586.mp.o     libafs-2.4.3-12-i586.o
libafs-2.4.2-2-i586.o        libafs-2.4.3-12-i686.ep.o
libafs-2.4.2-2-i686.ep.o     libafs-2.4.3-12-i686.mp.o
libafs-2.4.2-2-i686.mp.o     libafs-2.4.3-12-i686.o
libafs-2.4.2-2-i686.o        libafs.map
libafs-2.4.3-12-athlon.mp.o  SymTable

If I try to uninstall AFS using rpm -ev and the appropriate packages it
works, and the modules are removed from /usr/vice/etc/modload/  However,
when I try to reinstall the OpenAFS 1.2.2 RPMs with rpm -ivh the same
modules go right back into /usr/vice/etc/modload/  I get modules for 2.4.2-2
and 2.4.3-12 but no 2.4.6-9.  How can I get it to create the right modules?

Thanks for any help!