3.7.0 HP StorageWorks HP Scalable NAS File Serving Software installation guide HP Scalable NAS for Linux (AG513-96004, October 2009)

B Build a custom kernel
This appendix contains the following procedures for both RHEL5 and SLES10:
Compile a third-party kernel module
Extract HP Scalable NAS kernel patches
Rebuild the entire kernel from source
RHEL5
Compile a third-party kernel module
In general, third-party kernel modules are compiled using a skeletal kernel source
tree and pre-computed symbols for the specific kernel configuration they will be
loaded into. To set up this expected build environment, you will need to install the
following RPMs:
The kernel binary RPM:
kernel-HPPS-2.6.1892.el5.370.<xxxx>.<arch>.rpm
The kernel architecture- and configuration-specific development RPM:
kernel-HPPS-devel-2.6.1892.el5.370.<xxxx>.<arch>.rpm
You may also need the following RPM, which is available from Red Hat.
kernel-headers-2.6.1892.el5.x86_64.rpm
After installing the RPMs, reboot on the new binary kernel and verify that uname
-r reports 2.6.1892.el5 config. If desired, edit the default setting in /boot/
grub/menu.lst to select the new kernel automatically. The newly installed kernel
will be the first entry in the list (default=0).
If everything is set up properly, the following symlinks:
/lib/modules/2.6.1892.el5_HPPS/build
/lib/modules/2.6.1892.el5_HPPS/source
HP Scalable NAS File Serving Software installation guide 61