3.5.1 Matrix Server Installation Guide (June 2008)

Appendix D: Build a RHEL4 Kernel from Non-PolyServe Sources 67
3. If you will be installing MxFS-Linux, patch your kernel configuration
file (.config). To begin, go to the following directory, where <Version> is
the version of the kernel that you are about to compile.
/usr/src/polyserve/<Version>/tools
Now run the following command to patch the .config file:
# ./patch_config mxfs_patchlist /usr/src/linux/.config
NOTE: Do not attempt to apply the 90_mxfs.patch file. This patch file
was already applied when you installed the MxFS-Linux
patches RPM earlier in this procedure.
4. Complete the kernel configuration and install the kernel:
# make oldconfig
# make bzImage
# make modules
# make modules_install
# make install
5. If you are using grub, the make install step should have updated the
grub file. Verify that the correct kernel version is selected as the
default.
6. If you are using
LILO, you will need to take these steps:
a. Set the new kernel to be the default in the /etc/lilo.conf file. You can
assign any name to the kernel.
b. Add a section for the new kernel to the /etc/lilo.conf file. The
“image” line specifies the location of the kernel. The “label” line
specifies the name that you assigned to the kernel in step a.
c. Run /sbin/lilo.
7. Reboot the operating system and then verify that the kernel is built
and configured correctly.
Verify the Patched Kernel for MxFS-Linux
If MxFS-Linux will be used, verify that the MxFS-Linux patches have
been correctly applied to the kernel by running the command
exportfssync -t. (To use this command, MxFS-Linux must be installed and
nfs services must be running.)