HP NC374m HP ProLiant Accelerated iSCSI for Linux User Guide - Page 8

Linux iSCSI offload bnx2i driver limitations

Page 8 highlights

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 Installation and configuration 8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

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-<version>.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/<arch>/bnx2i-<version>.<arch>.rpm
The bnx2i.ko module is installed in the following directory:
/lib/modules/<kernel_version>/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-<version>
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 <level>