3.5.1 Matrix Server Installation Guide (June 2008)
Appendix D: Build a RHEL4 Kernel from Non-PolyServe Sources 66
Compile the Kernel
Following is a suggested procedure that you can use as a guide for
building the kernel. Modify this procedure as necessary for your local
circumstances.
NOTE: If the servers have identical hardware configurations, you can
create the kernel on one server and then copy it to the other
servers.
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. The Matrix Server support RPM 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