HP StorageWorks X5500 Network Storage Gateway for Linux setup guide (AP811-96003, October 2009)
To begin, open the architecture-independent kernel source RPM:
mkdir tmp
rpm2cpio kernel-source-2.6.16.60–0.21.370.<xxxx>.src.rpm | (cd tmp; cpio -id)
The HP X5500 Storage Gateway for Linux patches are all in tmp/patches.hpps.tar.bz2. When
you integrate the patches into your kernel build source, be sure to add their names to the series.conf
file.
hppsversion.patch should generally be omitted if the HP X5500 Storage Gateway for Linux
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 X5500 Storage Gateway for Linux on the new
kernel.
Rebuild the entire kernel from source
The entire kernel (and all HP X5500 Storage Gateway for Linux installable kernel RPMs) can be
reconstructed from the architecture-independent kernel source RPM. However, the architecture-dependent
kernel source RPM is a much faster way to get a full kernel source tree. Take these steps:
1. Install the architecture-dependent kernel source RPM:
rpm -i kernel-source-2.6.16.60-0.21.370.<xxxx>.<arch>.rpm
This step places the kernel source tree in /usr/src/
linux-2.6.16.60-0.21.370.<xxxx>.<arch>.
2. Rebuild the kernel using the standard Linux kernel configuration and build process. You will
probably want to run the following command in the newly populated kernel source tree immediately
after setting up a kernel configuration:
make scripts prepare
For reference, the HP X5500 Storage Gateway for Linux kernel configurations can be found in
the /usr/src/linux-kfulvers-obj/arch.
Building a custom kernel44