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

will both point to /usr/src/kernels/2.6.1892.el5HPPS-x86_64.
The environment is now ready to support compilation of third-party kernel modules.
Refer to the documentation provided with the module for installation, configuration
and build process information.
Extract HP Scalable NAS kernel patches
Compiling third-party software using our installed kernel build environment, as
described in the previous section, is a preferred technique. However, there may be
cases where you must extract the HP Scalable NAS kernel patches so they can be
integrated into your custom build environment.
To begin, open the architecture-independent kernel source RPM:
mkdir tmp
rpm2cpio kernel-2.6.1892.el5.370.<xxxx>.src.rpm | (cd tmp; cpio -id)
Patch files are available in the tmp directory. Typically, there are hundreds of patches.
The specific list of patches added by HP Scalable NAS will vary from release to
release. (Contact HP Support for a list of relevant patch file names.) The HP Scalable
NAS patches are listed just before the end of the Patchxxxxx directive in the spec
file. When integrating the patches into your custom kernel build source, Patchxxxxx
and %patchxxxxx directives will need to be added to the kernel-2.6.spec file.
hppsversion.patch should generally be omitted if the HP Scalable NAS patches
are being integrated into a custom kernel configuration not defined by HP. You may
need to override the mxmodver utility and manually select the appropriate
(pre-configured, pre-compiled) version of the pmxs kernel modules before starting HP
Scalable NAS on the new kernel.
Rebuild the entire kernel from source
The entire kernel (and all HP Scalable NAS installable kernel RPMs) can be
reconstructed from the architecture-independent kernel source RPM. Take these steps:
1. Install the kernel source RPM:
rpm -i kernel-2.6.1892.el5.370.<xxxx>.src.rpm
This step places the kernel build sources in well-known directories under /usr/
src/redhat.
Build a custom kernel62