NC51xx PCIe 10 Gigabit Server Adapter Software and Configuration Guide

Installation and configuration 16
HP updates networking software frequently to include new functionality and features. For the latest driver,
firmware, and documentation updates go to the HP website
(http://h18004.www1.hp.com/products/servers/networking/index.html
).
Setting up the kernel source code
The nx_intercept and nx_lsa drivers require that the kernel source code be installed and configured before
building the drivers.
Installing the kernel source code
Install the kernel source code as described in the SUSE documentation.
NOTE: The kernel source code setup is not required for Red Hat EL4 or Red Hat EL5.
Setting up the kernel source code
To configure the kernel source code, complete the following steps once for each kernel that is booted.
For example:
If the current kernel is UP (uni-processor), complete the following steps to boot an SMP (symmetrical-multi-
processor) kernel.
1. After installing the kernel source code, verify that the /usr/src/linux-<kernel-version> source code
directory exists by executing the following command.
# cd /usr/src/linux-<kernel-version>
2. If the kernel source code directory does not exist, execute the following commands to configure the
kernel source tree.
# cd /usr/src/linux-<kernel_version>
# make mrproper
# make cloneconfig
# make dep
Red Hat and SLES RPM installations
This package requires the kernel source code as well as setting up the source tree.
1. Verify the source code /usr/src/linux-<kernel-version> directory exists:
# cd /usr/src/linux-<kernel-version>
If the kernel source code is not present, see Setting up the kernel source code (on page 16).
2. Remove the loaded unm_nic or nx_nic module.
# rmmod unm_nic
or
# rmmod nx_nic
Check for the existence of a current version of the unm_nic or nx_nic package as follows:
# rpm -q unm_nic
or
# rpm -q nx_nic
If an old version of the package exists, the RPM package should be removed.
# rpm -e unm_nic
or
# rpm -e nx_nic