3.5.1 Matrix Server Upgrade Guide

Appendix C: Build a RHEL4 Kernel from PolyServe Sources 62
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
1. Go to the /usr/src/linux-<kernel> directory on the server and run the
make mrproper command.
# cd /usr/src/linux-<kernel>
# make mrproper
2. Patch the kernel as necessary for your site.
3. The patched Matrix Server kernel includes sample configuration files
that are recommended for use with the Linux kernel and Matrix
Server. The files are based on the configuration files provided by Red
Hat and are located in the /usr/src/linux/configs directory.
The files provided for the 32-bit kernel are:
ps_config.i686. Uniprocessor systems using an i686 chip.
ps_config.i686-smp. SMP systems using an i686 chip.
ps_config.i686-hugemem. Systems using an i686 chip and having
4-GB of user-address space.
The files provided for the 64-bit kernel are:
ps_config.x86_64. Uniprocessor systems using a 64-bit processor.
ps_config.x86_64-smp. SMP systems using a 64-bit processor.
ps_config.x86_64-largesmp. SMP systems using a 64-bit processor
and having 4-GB of user-address space.
Copy the configuration that is appropriate for your server:
#
cp /usr/src/linux/configs/<config_file>
/usr/src/linux/.config
NOTE: If you are using your own configuration file, be sure that the
following parameter is set to yes. This parameter enables the
Linux
SCSI subsystem to probe for LUNs on SAN devices.
CONFIG_SCSI_MULTI_LUN=y
4. Complete the kernel configuration and install the kernel:
# make oldconfig
# make bzImage
# make modules
# make modules_install
# make install