FILE NAME: netxtreme2-5.0.24-1.src.rpm TITLE: HP NC-Series Broadcom 1GbE & 10GbE Multifunction Drivers for Linux VERSION: 5.0.24 RELEASE: 1 LANGUAGE: English CATEGORY: Software Solutions DIVISIONS: Enterprise and Mainstream Servers PRODUCTS AFFECTED: One Gigabit(bnx2): HP NC370x Gigabit Server Adapter HP NC371x Gigabit Server Adapter HP NC373x Gigabit Server Adapter HP NC374x Gigabit Server Adapter HP NC380x Gigabit Server Adapter HP NC382x Gigabit Server Adapter Ten Gigabit(bnx2x): HP NC532m Dual Port 10GbE Multifuntion BL-c Adapter HP NC532i Dual Port 10GbE Multifunction BL-c Adapter OPERATING SYSTEM: Red Hat Enterprise Linux 5 AS/ES for AMD64/EM64T Red Hat Enterprise Linux 5 AS/ES for x86 Red Hat Enterprise Linux 4 AS/ES for AMD64/EM64T Red Hat Enterprise Linux 4 AS/ES for x86 SUSE LINUX Enterprise Server 11 for AMD64/EM64T SUSE LINUX Enterprise Server 11 for x86 SUSE LINUX Enterprise Server 10 for AMD64/EM64T SUSE LINUX Enterprise Server 10 for x86 PREREQUISITES: ProLiant server supporting one of the above operating systems 2GB RAM minimum Latest HP System ROM NOTE: Visit the following URL to download the latest System ROM http://welcome.hp.com/country/us/en/support.html Select "Download drivers and software (and firmware)" EFFECTIVE DATE: 11/16/2009 SUPERSEDES: Version 5.0.17 DESCRIPTION: This RPM contains the HP Tested and Approved Linux bnx2 and bnx2x drivers for use with the Server Adapters mentioned in the PRODUCTS AFFECTED section of this document. ENHANCEMENTS/FIXES: Table of Contents ================= Introduction Packaging Build Environment Setup Installing the RPM Package Uninstalling the RPM Notes Limitations Introduction ============ This file describes the Linux drivers for the HP Gigabit Server Adapters mentioned in the PRODUCTS AFFECTED section. After installation, additional information can be found in the RELEASE.bnx2.TXT, RELEASE.bnx2x.TXT, README.bnx2.txt and README.bnx2x.TXT files located under the following directories For Red Hat: /usr/share/doc/netxtreme2- For SLES: /usr/share/doc/packages/netxtreme User guides and additional HP Network Adapter information can be found at: http://h18004.www1.hp.com/products/servers/networking/index-nic.html Packaging ========= The driver is released in a source RPM format. The file name for the package is netxtreme2-.src.rpm. The package contains the source code and build instructions for bnx2, bnx2x and cnic drivers. You should have the right build environment to compile a binary from the source package. See the "Build Environment Setup" Section below Build Environment Setup ======================== The netxtreme2 package requires the presence of some packages that provide the right build environment. These packages provide kernel headers, makefiles and symbol files, though the last one is suggested only on SLES distributions. Red Hat installations: For each kernel flavor you want to build the driver make sure you have the associated kernel-devel package. Ex: kernel-2.6.18.92.el5 would require kernel-devel-2.6.18-92.el5 kernel-PAE-2.6.18.92.el5 would require kernel-PAE-devel-2.6.18-92.el5 SUSE SLES Installation: Make sure that kernel-source and kernel-syms packages are installed. kernel-syms package contains symbol versions for the all the flavors that the distribution supports. Installing the RPM Package ============================= 1. This package requires couple of other packges to complete the build. Please refer the "Build Environment Setup" Section before proceding to the next step. 2. Install the source RPM package. # rpm -ivh netxtreme2-.src.rpm 3. Build the binary RPM for the netxtreme2. Red Hat Installation: # cd /usr/src/redhat # rpmbuild -bb SPECS/netxtreme2.spec SLES Installations: # cd /usr/src/packages # rpmbuild -bb SPECS/netxtreme2.spec If you get an error during the build process, refer to the "Build Environmnet Setup" section. 4. Check for the existence of a current version of the netxtreme2 package as follows: # rpm -q netxtreme2 If an old version of the package exists, the RPM package should be removed. # rpm -e netxtreme2 Verify that the old netxtreme2 package has been removed as follows: # rpm -q netxtreme2 5. Verify if a old version of bnx2 or bnx2x is loaded into the kernel and remove it as follows. However if you are installing the package over network you may want to be careful. It is not absolutely necessary to remove the modules. This step is necessary if you are doing the upgrade on the physical console and you intend to see the new drivers taking over immediately #lsmod | grep bnx2x AND #lsmod | grep bnx2 Before removing the driver you will have to bring down the interfaces controlled by bnx2x and bnx2 #ifconfig eth down Finally remove the driver #rmmod bnx2x AND #rmmod bnx2 6. Install the new RPM package. This installs bnx2/bnx2x and cnic drivers. Do not use the U (Upgrade) flag in the RPM command below - previous netxtreme2 package must be removed as described in step 4 above before installing this version. #rpm -ivh RPMS//netxtreme2-..rpm The bnx2.ko, bnx2x.ko and cnic.ko modules are installed in the following directory: Red Hat EL 4/5 /lib/modules//updates SLES 9/10 /lib/modules//updates 7. Configure your network setting and address. You may need to refer to your Linux vendor documentation. Helpful network configuration tools such as "yast2" in SLES or linuxconf/redhat-config-network/netconfig in Red Hat exist for easy configuration. 8. Ensure that the /etc/modules.conf file is configured similar to the example listed below. The example below is presented as if more than one adapter is present. If so, one eth# instance should exist for each ethernet port. Refer to the modules.conf man page for more information. If you have a 1Gb Network card use bnx2 below otherwise use bnx2x for 10Gb alias eth0 bnx2 alias eth1 bnx2 For SLES, the configuration file is /etc/modprobe.conf or /etc/modprobe.conf.local 9. You can now reboot your server or restart the network services. Upon reboot the network should start with either bnx2 or bnx2x driver loaded To verify that the driver is loaded use the following command. # lsmod You should find bnx2 or bnx2x listed. You can also verify that the correct bnx2 or bnx2x driver is loaded through any of the following methods. Note that version of the driver loaded should be same as that of the package version. A. Look for driver load messages in the system log. #dmesg | grep Broadcom You should see messages of the following type, Broadcom NetXtreme II Gigabit Ethernet Dirver bnx2 v1.8.2c(Dec 30, 2008) B. Check the /var/log/messages file for a similar message as indicated in method A. Note: To load the driver from command line use 'modprobe' instead of 'insmod'. Refer to the man pages for lsmod, ifconfig, rmmod, insmod, modprobe, modules.conf and modprobe.conf for more detailed information. Uninstalling the RPM Package ============================= The following command will uninstall the netxtreme2 RPM. # rpm -e netxtreme2- Notes ================= The complete set of Module Parameters supported by the bnx2 and bnx2x drivers are described in the README.bnx2.TXT and README.bnx2x.TXT which are installed under the appropriate directories as described in the Introduction section above. Limitations =========== (C) Copyright 2002, 2003 - 2009 Hewlett-Packard Development Company, L.P. Product names mentioned herein may be trademarks and/or registered trademarks of their respective companies.