3.5.1 Matrix Server Installation Guide (June 2008)

Appendix D: Build a RHEL4 Kernel from Non-PolyServe Sources 64
3. Copy the extracted kernel sources to the /usr/src directory. Be sure to
rename the destination directory with the correct version suffix (34.EL
in our example).
# cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src/
linux-2.6.9-34.EL
4. Create a symbolic link to the kernel source tree for the “linux”
common name.
# ln -s /usr/src/linux-2.6.9-34.EL /usr/src/linux
5. Verify that the symbolic link is valid:
# ls -lt /usr/src
total 28
lrwxrwxrwx 1 root root 12 Mar 2 16:36 linux -> linux-2.6.9-
34.EL/
drwxr-xr-x 20 root root 4096 Mar 2 16:21 linux-2.6.9
6. Modify the EXTRAVERSION variable to identify the patched Matrix
Server kernel. The variable is located in the Makefile in the directory
/usr/src/linux. The variable specifies the portion of the kernel name that
follows the kernel version number (2.6.9 in our example). The variable
must be set to the name used by the binary RHEL4 kernel. This is
typically the build number. You may also want to add a suffix that
identifies the kernel environment, such as PS or PolyServe to indicate
that the kernel was built for PolyServe Matrix Server. For example, if
you are building the Red Hat 2.6.9-34.ELsmp kernel,
EXTRAVERSION
would contain the following:
EXTRAVERSION = -34.ELsmp-PS
NOTE: Some third-party software requires that the kernel name match
the binary kernel name exactly. If you are using such software,
do not include a suffix to identify the kernel environment.
Install the Matrix Server Support RPM
The Support RPM contains Matrix Server support files for each kernel
supported in the release. To install the Support RPM, mount the
PolyServe CD on /mnt/cdrom or go to the location where you downloaded
the software and then run the following command. Be sure to install the