This README goes along with my previous README called README.how.what.to.install This is for those folks who have multiple 'stock' kernels, or have a custom kernel that they built by hand. If you have a mixture of both, you should skip down to the custom kernel section. STOCK KERNELS Stock kernels are kernels that come straight from Fermi Linux, or RedHat (or Mandrake). They haven't been modified by you, you simply installed the rpm's, and away you went. (Please note that kernels found in 'rawhide' or 'beta' releases are not considered stock kernels for these instructions) 1 - Follow the steps in the previous README to install OpenAFS for the kernel you are currently booted up into. 2 - Find out all of the stock kernels that you have. rpm -q kernel 3 - FTP to fermi's openafs area, for 7x releases ftp://linux.fnal.gov/linux/contrib/openafs/7x/ 4 - Download all of the openafs-kernel rpm's that match your kernels, except for the one downloaded in step 1. Please note that at the time of this writting, you can safely disregard the distribution (FL, RH, MD) and just download the rpm based soley based on the kernel numbers. *Do the following as root* 5 - Install (don't upgrade) the openafs-kernel rpms rpm -ivh --force openafs-kernel* NOTE: you have to force them in because the all have a common file called SymTable. We will fix this in step 6 6 - Fix the SymTable /usr/vice/etc/afsmodname -x -f /usr/vice/etc/modload/SymTable /usr/vice/etc/modload/libafs*.o CUSTOM KERNELS Custom Kernels can be everything from a kernel you got from kernel.org and recompiled, a kernel from SGI, a kernel from the rawhide release, or just a normal stock kernel, that you recompiled with different options. 1 - Download and install the openafs source rpm rpm -Uvh ftp://linux.fnal.gov/export/linux/contrib/openafs/7x/SRPMS/openafs-1.2.3-FL711.2.src.rpm 2 - Get in the right directory cd /usr/src/redhat/SPECS 3 (optional) - edit openafs-1.2.3.spec change %define osvers FL711 to %define osvers 4 - rebuild the rpm rpm -ba openafs-1.2.3.spec NOTE1: Sometimes you don't have all the right development rpm's installed to build this rpm. Some of the most common ones missing are pam-devel, krb5-devel, and bison. NOTE2: If the build fails on something dealing with aklog, edit the spec file again and change '%define krb5support 1' to '%define krb5support 0' 5 - install the appropriate rpm's that are built rpm -Uvh /usr/src/redhat/RPMS/i386/openafs-1.2.3- rpm -Uvh /usr/src/redhat/RPMS/i386/openafs-kernel-1.2.3- rpm -Uvh /usr/src/redhat/RPMS/i386/openafs-client-1.2.3- 6 - Start service. 6a - If you are sure you didn't have AFS running when you started /etc/init.d/afs start 6b - If you had to remove afs-fermi, or might have had openafs-fermi installed /sbin/reboot