QLogic 1GB iSCSI TOE Expansion Card for IBM eServer BladeCenter Network Driver for Red Hat Enterprise Linux 3 & 4 Advanced Server and SUSE Linux Enterprise Server 9 Version 1.00 QMC4052_LinuxNetworkDriver.txt Version 1.00 07/20/05 ________ CONTENTS ________ 1.0 Overview 2.0 Change History 3.0 Installation and Setup Instructions 4.0 Configuration Information 5.0 Known Issues 6.0 Unattended Mode 7.0 Web Sites and Support Phone Number 8.0 Trademarks and Notices 9.0 Disclaimer _______________ 1.0 Overview _______________ This README describes current Linux Network Driver version for the QLogic 1GB iSCSI TOE Expansion Card and procedure for updating the driver for the expansion card. 1.1 Dependencies: None ____________________ 2.0 Change History ____________________ QLogic iSCSI Expansion Card Linux Kernel Storage Driver 1.00 ------------------------------------------------------------ -Initial Version _________________________________________ 3.0 Installation Instructions _________________________________________ This section is divided into the following sections: 1. Saving he Saving the Driver Source to Diskette 2. Installing the driver 3. Building the driver 4. Load the driver 5. Loading the driver at boot time 6. Driver Command Line Parameters 7. Unloading the driver 8. Extract the kernel-headers and kernel-sources RPM files from the first RedHat CD The kernel sources should be already installed on the system for the relevant kernel or install it from the RedHat/SuSE source CD(s) before proceeding further. Most distributions include the kernel source on the first disc of the distribution CDs. Also see section 3.8. NOTE: Refer to the file BUILD_KERNEL.txt for instructions on how to build a custom kernel with the QLogic Driver embedded. Refer to the Driver Disk Kit documentation for the procedure to build Driver Diskettes for iSCSI bootable systems. 3.1 Saving the Driver Source to Diskette --------------------------------------- Note: This step assumes that the user does not have the current version already, and that the driver is posted on the website. 1. Download qla3022ipsrc-v1.xx.tgz file from QLogic's website. If prompted "What would you like to do with this file?" choose "Save this file to disk". Insert a blank diskette and download to the diskette directly. 2. If prompted "What would you like to do with this file?" choose "Save this file to disk." 3. Insert a blank diskette and download to the diskette directly. 3.2 Installing the driver ------------------------ Install and unzip the driver archive file using Diskette you created in Section. 1. Please perform the following steps: # mkdir qla3xxx # cd qla3xxx # mount /mnt/floppy # cp /mnt/floppy/qla3022ipsrc-vx.xx.tgz . (the period at the end is required) # tar xvzf qla3022ipsrc-vx.xx.tgz 3.3 Building the Driver --------------------------------------------------------- 1. Verify super user rights by typing: #su # 2. Build the driver from the Source Code by typing: # make install The files will be copied to /lib/modules//kernel/drivers/net. NOTE: Please refer to Makefile for additional supported command line parameters. NOTE: If the kernel header files are not found refer to section 3.8. 3.4 Load the Driver ------------------- 1. To load the driver directly from the local build directory, type the following: # insmod qla3022ip.[k]o Note: For Linux Kernel 2.6.x, the k is included. For Kernel 2.4.x it is omitted. 2. Set the IP address for the new interface. ifconfig ethx 3. Test the new interface by pinging from a remote station. ping 3.5 Loading the Driver at Boot time ------------------------------------ The most efficent way to install a network driver to load automatically is to use one of the network configuration applications that are supplied with the GUI. The steps outlined below apply to Redhat Advanced Server 3. The steps required for other distributions may differ. Refer to your distribution documentation for detailed instructions. 1. Build the driver binary files (see 3.3). 2. Copy the files to /lib/modules//kernel/drivers/net by typing: # make install 3. Modify the /etc/modules.conf(2.4.k kernel) or /etc/modprobe.conf(2.6.x kernel) file Add the following line to /etc/modules.conf or etc/modprobe.conf alias eth2 qla3022ip In this sample, the ethernet device number is 2. In your system it may be different. The safest thing to do is to use the next number after the last one that was already in the file. An example of a modules.conf file is provided here: alias parport_lowlevel parport_pc alias eth0 eepro100 alias eth1 eepro100 alias usb-controller usb-uhci alias eth2 qla3022ip NOTE: For the QMC4052, there are two network interfaces. One line must be Added for each interface. For example: alias eth2 qla3022ip alias eth3 qla3022ip 4. Create a new file for your device in the /etc/sysconfig/network-scripts/ directory: Following our example from above, our new file will be called ifcfg-eth2. The device may be configured for a static IP address, or for DHCP. Both examples are shown here. ifcfg-eth2 file contents for static IP address: #################################################### # File: ifcfg-eth2 # Set device up with Static IP address. # DEVICE=eth2 IPADDR= NMASK= NETWORK= BCAST=