beautypg.com

Linux iscsi offload bnx2i driver limitations, Linux iscsi offload bnx2i driver messages – HP NC532m Dual Port 10GbE Multifunction BL-c Adapter User Manual

Page 8

background image

Installation and configuration 8

1.

To install the source RPM package, change to the linux\iscsi-offload directory on your hard drive

and use the following command:
# rpm -ivh bnx2i-.src.rpm

2.

Build the binary RPM for the bnx2i driver.
For Red Hat EL 5 installations enter the following commands:
# cd /usr/src/redhat

# rpmbuild -bb SPECS/bnx2i.spec
For SLES installations enter the following commands:
# cd /usr/src/packages

# rpmbuild -bb SPECS/bnx2i.spec

3.

Check for the existence of a current version of the bnx2i package using the following command:
# rpm -q bnx2i
If an older version of the package exists, remove the old RPM package using the following
command:
# rpm -e bnx2i
Remove the loaded bnx2i module using the following command:
# modprobe -r bnx2i
This command removes the bnx2i module along with its dependencies.
Verify that the old bnx2i package has been removed using the following command:
# rpm -q bnx2i

4.

Install the bnx2i binary RPM package using the following command:
# rpm -ivh RPMS//bnx2i-..rpm
The bnx2i.ko module is installed in the following directory:
/lib/modules//kernel/drivers/iscsi

Linux iSCSI offload bnx2i driver limitations

The current version of the driver has been tested on 2.6.x kernels beginning with the 2.6.18 kernel.
The driver may not compile on kernels older than the 2.6.18 kernel. SLES10 SP1 is an exception. It

also runs on the 2.6.16.46 kernel because SUSE upgraded the iscsi_transport kernel module to
support offload initiators in SLES10 SP1.

When installing SLES 10 SP2 select to enable IPv6 so that autoload is enabled for the IPv6 kernel
module. The cnic driver which is delivered in the NetXtreme2 RPM and is required for iSCSI offload

will fail to resolve symbols if IPv6 is disabled because it has a dependancy on the IPv6 module.

Uninstalling the HP Linux iSCSI offload bnx2i driver RPM
package

If you need to uninstall the HP bnx2 RPM, use the following command:

# rpm -e bnx2i-

Linux iSCSI offload bnx2i driver messages

Linux iSCSI offload bnx2i driver messages are logged in the file /var/log/messages.
Use the following command to control the level that messages appear on the console:

dmesg -n