Compiling The Driver For Multiple Kernels; Uninstalling The Linux Components; Using The Source Rpm - HP 6400/8400 User Manual

Enterprise virtual array
Hide thumbs Also See for 6400/8400:
Table of Contents

Advertisement

# ./INSTALL -F

Compiling the driver for multiple kernels

If your system has multiple kernels installed on it, you can compile the driver for all the installed
kernels by setting the INSTALLALLKERNELS environmental variable to y and exporting it by
issuing the following commands:
# INSTALLALLKERNELS=y
# export INSTALLALLKERNELS
You can also use the -a option of the INSTALL script as follows:
# ./INSTALL -a

Uninstalling the Linux components

To uninstall the components, use the INSTALL script with the -u option as shown in the following
example:
# ./INSTALL -u
To manually uninstall all components, or to uninstall just one of the components, use one or all of
the following commands:
# rpm -e fibreutils
# rpm -e hp_qla2x00
# rpm -e hp_qla2x00src

Using the source RPM

In some cases, you may have to build a binary hp_qla2x00 RPM from the source RPM and use
that manual binary build in place of the scripted hp_qla2x00src RPM. You need to do this if
your production servers do not have the kernel sources and gcc installed.
If you need to build a binary RPM to install, you will need a development machine with the same
kernel as your targeted production servers. You can install the binary RPM-produced RPM methods
on your production servers.
NOTE:
The binary RPM that you build works only for the kernel and configuration that you build
on (and possibly some errata kernels). Ensure that you use the 7.xx version of the hp_qla2x00
source RPM for 2.4 kernel-based distributions and the 8.xx version of the hp_qla2x00 source
RPM for 2.6 kernel-based distributions.
Use the following procedure to create the binary RPM from the source RPM:
1.
Select one of the following options:
Enter the #./INSTALL -S command. The binary RPM creation is complete. You do
need to perform steps
Install the source RPM by issuing the # rpm -ivh
hp_qla2x00-version-revision.src.rpm command. Continue with step 2.
2.
Select one of the following directories:
For Red Hat distributions, use the /usr/src/redhat/SPECS directory.
For SUSE distributions, use the /usr/src/packages/SPECS directory.
3.
Build the RPM by using the # rpmbuild -bb hp_qla2x00.spec command.
NOTE:
functionality.
At the end of the command output, the following message appears:
56
Configuring application servers
2
through 4.
In some of the older Linux distributions, the RPM command contains the RPM build

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks 6400Storageworks 8400

Table of Contents