OpenAFS
From The scripts.mit.edu Wiki
openafs.ko: the kernel module
Scripts servers run a modified version of the OpenAFS kernel module. When installing a new kernel, we rebuild and install the modified OpenAFS kernel module for the new kernel prior to rebooting in to it.
Building and installing using RPMs
Here is how you would build just the kernel module for a kernel versioned: 2.6.17-1.2174_FC5smp. We do not need to continue to rebuild the userspace programs and specify this on the command line.
# rpmbuild --rebuild --define "kernvers 2.6.17-1.2174_FC5smp" --define "build_userspace 0" --define "build_modules 1" openafs-1.4.1-scripts.src.rpm Wrote: /usr/src/redhat/RPMS/i386/openafs-kernel-smp-1.4.1-2.6.17_1.2174_FC5smp_1.i386.rpm # rpm -ivh /usr/src/redhat/RPMS/i386/openafs-kernel-smp-1.4.1-2.6.17_1.2174_FC5smp_1.i386.rpm Preparing... ########################################### [100%] 1:openafs-kernel-smp ########################################### [100%]
- Note: both kernel and kernel-devel RPMs (or: kernel-smp and kernel-smp-devel) must be installed for the OpenAFS kernel module to be built for that kernel version.