Fibre Channel Adapter and Converged Network Adapter Inbox Driver Update for Linux Kernel 2.6.x and 3.x. Readme. QLogic Corporation All rights reserved

Similar documents
FC-FCoE Adapter Inbox Driver Update for Linux Kernel 2.6.x. Table of Contents

iscsi Adapter Inbox Driver Update for Linux Kernel 2.6.x Table of Contents

QLogic QLA4010/QLA4010C/QLA4050/QLA4050C/ QLA4052C/QMC4052/QLE4060C/QLE4062C iscsi Driver for Linux Kernel 2.6.x.

FC HBA Driver for Linux Kernel 2.6.x. Table of Contents

SANsurfer iscsi HBA CLI. Table of Contents

SANsurfer FC/CNA HBA Command Line Interface (CLI) Table of Contents

The Contents and Structure of this Manual. This document is composed of the following three chapters.

SANsurfer Fibre Channel Command Line Interface (CLI) Table of Contents

QConvergeConsole. Table of Contents

Emulex Drivers for Linux for LightPulse Adapters Release Notes

FC HBA Driver for NetWare. Table of Contents

HP StorageWorks Using the QLogic HBA Driver for Single-path or Multi-path Failover Mode on Linux Systems

SANsurfer iscsi Host Bus Adapter CLI. Table of Contents

QConvergeConsole CLI Readme. QLogic Corporation All rights reserved

FC HBA Driver Installation Script for Linux. Table of Contents

Fibre Channel Adapter and Converged Network Adapter (FCoE) API. Table of Contents

FC HBA STOR Miniport Driver for Windows. Table of Contents

hp StorageWorks Using the QLogic Driver for Single-path or Multi-path Failover Mode on Linux Systems

Flash Image for 3200 and 8200 Series Adapters. Table of Contents

QLogic QLx2xx/QLA22xx/QLx23xx/QLx24xx Fibre Channel Linux Driver for Kernel 2.4. Table of Contents

Fibre Channel Adapter STOR Miniport Driver for Windows. Table of Contents

HP StorageWorks Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes

LifeKeeper for Linux 7.3. Linux Configuration

HP StorageWorks Emulex Fibre Channel host bus adapters for ProLiant and Integrity servers using Linux, VMware and Citrix operating systems release

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks Using the QLogic HBA driver for single-path or multipath failover mode on Linux systems application notes

FC-FCoE Adapter Inbox Driver Update for Linux Kernel 2.6.x. Table of Contents

SANsurfer FC/FCoE HBA Manager. Table of Contents

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.2.1 release notes

Cisco UCS fnic Tunables

T A B L E O F C O N T E N T S

Application Note EDC Firmware Update for QLogic 8Gb Fibre Channel Expansion Card (CIOv) for IBM BladeCenter

T A B L E O F C O N T E N T S

QLogic Fibre Channel Adapter Stor Miniport Driver for Windows Server 2003/Windows XP Professional. Table of Contents

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

Configuring the MSA1000 for Linux or NetWare Environments

The kernel constitutes the core part of the Linux operating system. Kernel duties:

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

Application Note EDC Firmware Update for QLogic 8Gb Fibre Channel Expansion Card (CIOv) for IBM BladeCenter

HP StorageWorks QLogic Fibre Channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

BIOS for QLA4010 iscsi HBAs. Table of Contents

SANsurfer FC HBA Manager. Table of Contents

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.4.0 release notes

SANsurfer FC HBA Manager. Table of Contents

MSA1500csReleaseNotes8_ txt MSA1500cs ReleaseNotes. hp StorageWorks Modular Smart Array 1500 cs Release Notes. Third Edition (February 2005)

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.4.1 release notes

ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) for VMware ESX

Upgrading the MSA1000 for Enhanced Features

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

Driver for Linux Release Notes

Converged Network Adapter NDIS Miniport Driver for Windows. Table of Contents

Application Note EDC Firmware Update for QLogic 8Gb Fibre Channel Expansion Card (CIOv) for IBM BladeCenter

Fibre Channel QLA Driver for Solaris SPARC and x86 Platforms. Table of Contents

Cisco UCS VIC Drivers Installation Guide for UCS Manager 4.0

Configuration Guide -Server Connection-

[ User s Guide] QLA 200 Family. User s Guide FIBRE CHANNEL HBA INSTALLATION

HP StorageWorks Emulex Adapters Release Notes

SANsurfer Converged Network Adapter Networking CLI. Table of Contents

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

DtS Data Migration to the MSA1000

Emulex Drivers for Linux for OneConnect Adapters Release Notes

SANsurfer Fibre Channel (FC) HBA Manager. Table of Contents

The Contents and Structure of this Manual. This document is composed of the following three chapters and an appendix.

RocketRAID 2310/2300 Controller Fedora Linux Installation Guide

Appendix A Fast!UTIL

Downloading and Installing Cisco UCS VIC Drivers

ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) for VMware ESX

Server Support Matrix ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) for Oracle Solaris

HP StorageWorks QLogic fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

Notes on Using Red Hat Enterprise Linux AS (v.4 for EM64T)

SLES Linux Installation Guide

EMC Host Connectivity with QLogic Fibre Channel and iscsi Host Bus Adapters (HBAs) and Converged Network Adapters (CNAs) for the Linux Environment

Install Cisco UCS VIC Drivers for Linux

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

Lifecycle Controller 2 Release 1.0 Version Readme

Release Note MPI/XMP-Linux Support Package

HP StorageWorks QLogic fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

Installation Manual for Sonnet RAID Controller

16 Gbps Fibre Channel and 10 Gbps Ethernet PCIe Fabric Adapter. 10 Gbps Fibre Channel over Ethernet (FCoE) PCIe Converged Network Adapter (CNA)

Multi-boot Image for Qxx8xxx Converged Network Adapters. Table of Contents

Open-FCoE Software Initiator

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

Configuring Server Boot

PCIe 10G SFP+ Network Card

VMware Infrastructure Update 1 for Dell PowerEdge Systems. Deployment Guide. support.dell.com

Linux on IBM ~ pseries SAN Overview for Customers. January 23, 2004

NetBackup SAN Client and Fibre Transport Troubleshooting Guide. 2 What are the components of the SAN Client feature?

Emulex Driver for Linux Release Notes

For personnal use only

Dell PowerEdge 6 Gbps SAS HBA and Internal Tape Adapter. User s Guide

Software Release v3.2.x.x Release Notes Update 10

Emulex Drivers for Linux for LightPulse Adapters. User Guide Release 12.0

This software license applies only to QLogic customers. QLogic Corporation. All rights reserved.

Ubuntu Linux Installation Guide

Cisco UCS Virtual Interface Card Drivers for Linux Installation Guide

TurboCap Installation Guide

ATTO ExpressSAS Troubleshooting Guide for Linux

Notes on Using Red Hat Enterprise Linux AS (v.3 for x86)

Dell VMware ESX Server Deployment Guide

Software Installation Guide for the QLA22xx Board Family. Fibre Channel Host Adapter Boards for the PCI Bus

Transcription:

Fibre Channel Adapter and Converged Network Adapter Inbox Driver Update for Linux Kernel 2.6.x and 3.x Readme QLogic Corporation All rights reserved Table of Contents 1. Package Contents 2. OS Support 3. Supported Features 4. Deploying the Driver 4.1 Building the Driver for RHEL 5.x Linux 4.2 Building the Driver for RHEL 6.x Linux 4.3 Building the Driver for SLES 10.x Linux 4.4 Building the Driver for SLES 11.1/11.2 Linux 4.5 Building the Driver for XenServer 6.0. 4.6 Building the Driver for UEK 1 and UEK 2. 5. Driver System Parameters 6. Additional Notes 6.1 Booting from SAN 6.2 Firmware Installation 6.3 Dynamically Modifying SCSI Blacklist Entries 7. Contacting Support 1. Package Contents The Fibre Channel Adapter and Converged Network Adapter Inbox Driver for Linux Kernel 2.6.x and 3.x package contains the following files: * qla2xxx-src-vx.xx.xx.xx.5.x-k.tar.gz - Compressed package that contains the driver for Red Hat RHEL 5.x. * qla2xxx-src-vx.xx.xx.xx.06.x-k.tar.gz - Compressed package that contains the driver for Red Hat RHEL 6.x. * qla2xxx-src-vx.xx.xx.xx.10.x-k.tar.gz - Compressed package that contains the driver for Novell SLES 10.x. * qla2xxx-src-vx.xx.xx.xx.11.x-k.tar.gz - Compressed package that contains the driver for Novell SLES 11.1/11.2. * qla2xxx-src-vx.xx.xx.xx.55.x-k.tar.gz - Compressed package that contains the driver for Citrix Xenserver 6.0. * qla2xxx-src-vx.xx.xx.xx.32.x-k.tar.gz - Compressed package that contains the driver for Oracle UEK 1. NOTE: xx represents the driver package version number.

2. OS Support The Fibre Channel Adapter and Converged Network Adapter Inbox Driver for Linux is compatible with the following OS platforms: * Red Hat RHEL AS 5.x (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 * Red Hat RHEL AS 6.x (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 * Novell SLES 10.x (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 * Novell SLES 11.1/11.2 (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 * Citrix Xenserver 6.0 (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 * Oracle UEK (32-bit, 64-bit) on Intel x86, Intel 64, AMD64 3. Supported Features * FCAL - direct attach loop, point-to-point, and fabric topologies * Initiator mode only * Fibre Channel tape * MSI-X interrupts * N_Port ID Virtualization (NPIV - Maximum 64 Vports per port) * Device mapper * Support for sysfs interface * Adapter API support 4. Deploying the Driver This section provides procedures for deploying the driver on various Linux versions, including the following: * 4.1 Building the Driver for RHEL 5.x Linux * 4.2 Building the Driver for RHEL 6.x Linux * 4.3 Building the Driver for SLES 10.x Linux * 4.4 Building the Driver for SLES 11.1/11.2 Linux * 4.5 Building the Driver for XenServer 6.0. * 4.6 Building the Driver for UEK 1 and UEK 2. 4.1 Building the Driver for RHEL 5.x Linux 1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.5.x-k.tar.gz, issue the following commands: # tar -xzvf qla2xxx-src-vx.xx.xx.xx.5.x-k.tar.gz # cd qla2xxx-src-vx.xx.xx.xx.5.x-k 2. Build and install the driver modules from the source code by executing the build.sh script as follows:

#./extras/build.sh install The build.sh script does the following: * Builds the driver.ko files. * Copies the.ko files to the appropriate /lib/modules/2.6.../extra/qlgc-qla2xxx directory. * Adds the appropriate directive in the modprobe.conf (if applicable). 3. Manually load the driver for Linux Using insmod or modprobe. * To directly load the driver from the local build directory, issue the following insmod commands in order: # insmod /lib/modules/2.6.../kernel/drivers/scsi/ scsi_transport_fc.ko # insmod qla2xxx.ko * To load the driver using modprobe, issue the following command: # modprobe -v qla2xxx * To unload the driver using modprobe, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver as follows: a. Edit the /etc/modprobe.conf file and add the following entry (if they are not present): alias scsi_hostadapterx qla2xxx where, X is based on the order of the SCSI modules being loaded. b. Create a backup copy of the RAMDISK image by issuing the following commands: # cd /boot # cp initrd-[kernel version].img initrd-[kernel version].img.bak # mkinitrd -f initrd-[kernel version].img `uname -r` NOTE: Depending on the server hardware, the RAMDISK file name

may be different. c. To load the driver, reboot the host. 4.2 Building the Driver for RHEL 6.x Linux 1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.06.x-k.tar.gz, issue the following commands: # tar -xzvf qla2xxx-src-vx.xx.xx.xx.06.x-k.tar.gz # cd qla2xxx-src-vx.xx.xx.xx.06.x-k 2. Build and install the driver modules from the source code by executing the build.sh script as follows: #./extras/build.sh install The build.sh script does the following: * Builds the driver.ko files. * Copies the.ko files to the appropriate /lib/modules/2.6.../extra/qlgc-qla2xxx directory. * Adds the appropriate directive in the modprobe.conf (if applicable). 3. Manually load the driver for Linux Using insmod or modprobe. * To directly load the driver from the local build directory, issue the following insmod commands in order: # insmod /lib/modules/2.6.../kernel/drivers/scsi/scsi_tgt.ko (if not already loaded) # insmod /lib/modules/2.6.../kernel/drivers/scsi/ scsi_transport_fc.ko # insmod qla2xxx.ko * To load the driver using modprobe, issue the following command: # modprobe -v qla2xxx * To unload the driver using modprobe, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver as follows: a. Edit the /etc/modprobe.d/modprobe.conf file and add the following

entry. (Create a modprobe.conf file if it does not exist): alias scsi_hostadapterx qla2xxx where, X is based on the order of the SCSI modules being loaded. b. Create a backup copy of the RAMDISK image by issuing the following commands: # cd /boot # cp initrd-[kernel version].img initrd-[kernel version].img.bak # mkinitrd -f initrd-[kernel version].img `uname -r` NOTE: Depending on the server hardware, the RAMDISK file name may be different. c. To load the driver, reboot the host. 4.3 Building the Driver for SLES 10.x Linux 1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.xx.x-k.tgz, issue the following commands: # tar -xzvf qla2xxx-src-vx.xx.xx.xx.10.x-k.tgz # cd qla2xxx-src-vx.xx.xx.xx.10.x-k 2. Build and install the driver modules from the source code by executing the build.sh script as follows: #./extras/build.sh install The build.sh script does the following: * Builds the driver.ko files. * Copies the.ko files to the appropriate /lib/modules/2.6.../updates directory. * Adds the appropriate directive in the modprobe.conf (if applicable). 3. Manually load the driver for Linux Using insmod or modprobe. * To directly load the driver from the local build directories, issue the following insmod commands in order: # insmod /lib/modules/2.6.../kernel/drivers/scsi/ scsi_transport_fc.ko (if not already loaded)

# insmod /lib/modules/2.6.../kernel/drivers/base/ firmware_class.ko (if not already loaded) # insmod /lib/modules/2.6.../updates/qla2xxx.ko * To load the driver using modprobe, issue the following command: # modprobe -v qla2xxx * To unload the driver using modprobe, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver as follows: a. Edit the /etc/sysconfig/kernel file to modify the INITRD_MODULES directive and append "qla2xxx" to the string. For example: INITRD_MODULES="... qla2xxx" where, qla2xxx is appended to the end of the directive. b. Create a backup copy of the RAMDISK image by issuing the following commands: # cd /boot # cp initrd-[kernel version] initrd-[kernel version].bak # mkinitrd NOTE: Depending on the server hardware, the RAMDISK file name may be different. c. To load the driver, reboot the host. 4.4 Building the Driver for SLES 11.1/11.2 Linux 1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.xx.x-k.tgz, issue the following commands: # tar -xzvf qla2xxx-src-vx.xx.xx.xx.11.x-k.tgz # cd qla2xxx-src-vx.xx.xx.xx.11.x-k 2. Build and install the driver modules from the source code by executing the build.sh script as follows: #./extras/build.sh install

The build.sh script does the following: * Builds the driver.ko files. * Copies the.ko files to the appropriate /lib/modules/2.6.../updates directory. * Adds the appropriate directive in the modprobe.conf (if applicable). 3. Manually load the driver for Linux Using insmod or modprobe. * For SLES 11 only, edit the /etc/modprobe.d/unsupported_modules file to make the following change: allow_unsupported_modules 1 (replace 0 by 1) * To directly load the driver from the local build directories, issue the following insmod commands in order: # insmod /lib/modules/2.6.../kernel/drivers/scsi/scsi_tgt.ko (if not already loaded) # insmod /lib/modules/2.6.../kernel/drivers/scsi/ scsi_transport_fc.ko (if not already loaded) # insmod /lib/modules/2.6.../updates/qla2xxx.ko * To load the driver using modprobe, issue the following command: # modprobe -v qla2xxx * To unload the driver using modprobe, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver. * For SLES 11 only, edit the /etc/modprobe.d/unsupported_modules file to make the following change: allow_unsupported_modules 1 (replace 0 by 1) * Create a copy of the current RAMDISK by issuing the following commands: # cd /boot # cp initrd-[kernel version].img initrd-[kernel version].img.bak

# mkinitrd NOTE: Depending on the server hardware, the RAMDISK file name may be different. * To load the driver, reboot the host. 4.5 Building the Driver for XenServer 6.0. 1. Install the XenServer host software on the server(s). 2. Install XenCenter on the workstation(s). 3. Connect XenCenter to the XenServer host(s). 4. Compiling the driver inside DDK VM. # DDK VM comes in "ddk.iso" format, extract it. # This creats a directory which contain ova.xml file. # Click on import VM & point out "ova.xml" file. Import process takes more than 15 minutes. # Power on DDK VM. # Make sure you can access DDK VM through virtual NIC. 5. Installing the driver inside DDK VM. # Copy qla2xxx sources inside DDK VM. # Run /extras/build_rpm.sh or /extras/build.sh. # Depending upon rpm or kernel module build perform following # In case of qla2xxx.ko kernel module built, run command "modinfo qla2xxx grep /lib/" to find out the path where qla2xxx.ko to be copied. Replace the qla2xxx.ko at the path obtained. # In case of rpm built, install rpm using --force command. (e.g rpm -ivh qla2xxx...*.rpm --force) # Reboot XenServer. XenServer will come up with latest driver. Note: Each XenServer build comes with specific DDK VM and driver needs to be built on this specific DDK VM. 4.6 Building the Driver for UEK 1 and UEK 2. 1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.32.x-k.tar.gz, issue the following commands: # tar -xzvf qla2xxx-src-vx.xx.xx.xx.32.x-k.tar.gz # cd qla2xxx-src-vx.xx.xx.xx.32.x-k 2. Build and install the driver modules from the source code by executing the build.sh script as follows: #./extras/build.sh install The build.sh script does the following: * Builds the driver.ko files. * Adds the appropriate directive in the modprobe.conf (if applicable). 3. Manually load the driver for Linux Using insmod or modprobe. * To directly load the driver from the local build directory,

issue the following insmod commands in order: # insmod /lib/modules/2.6.../kernel/drivers/scsi/ scsi_transport_fc.ko # insmod qla2xxx.ko * To load the driver using modprobe, issue the following command: # modprobe -v qla2xxx * To unload the driver using modprobe, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver as follows: a. Edit the /etc/modprobe.d/modprobe.conf file and add the following entry. (Create a modprobe.conf file if it does not exist): alias scsi_hostadapterx qla2xxx where, X is based on the order of the SCSI modules being loaded. b. Create a backup copy of the RAMDISK image by issuing the following commands: # cd /boot # cp initrd-[kernel version].img initrd-[kernel version].img.bak # mkinitrd -f initrd-[kernel version].img `uname -r` NOTE: Depending on the server hardware, the RAMDISK file name may be different. c. To load the driver, reboot the host. Note: In order build drivers, a kernel with full development package is needed. 5. Driver System Parameters The driver gets its parameters when specified with the insmod command. For example: # insmod qla2xxx.ko ql2xextended_error_logging=1 If using the modprobe command, you must specify the parameters in the /etc/modprobe.conf file for RHEL 5.x, /etc/modprobe.d/modprobe.conf for RHEL 6.x, and /etc/modprobe.conf.local for SLES 11.1/11.2. For example:

options qla2xxx ql2xextended_error_logging=1 Parameters for the Linux driver include the following: * ql2xlogintimeout - Defines the login timeout value in seconds during the initial login. Default: 20 seconds * qlport_down_retry - Defines how long to wait for a port that returns a PORT-DOWN status before returning I/O back to the OS. Default: 30 seconds * ql2xplogiabsentdevice - Enables PLOGI to devices that are not present after a Fabric scan. This is needed for several broken switches. Default is 0 - no PLOGI. 1 - perfom PLOGI. * ql2xloginretrycount - Specifies an alternate value for the NVRAM login retry count. Default is 8. * ql2xallocfwdump - Enables allocation of memory for a firmware dump during initialization. Memory allocation requirements vary by type. Default is 1 - allocate memory. * ql2xextended_error_logging - Defines whether the driver prints verbose logging information. 0 to disable; 1 to enable. Default: 0. * ql2xfdmienable - Enables FDMI registrations Default is 0 - no FDMI. 1 - perfom FDMI. * ql2xmaxqdepth - Defines the maximum queue depth reported to SCSI mid-level per device. The Queue depth specifies the number of outstanding requests per LUN. Default is 32. * ql2xqfullrampup - Number of seconds to wait to begin to ramp-up of the queue depth for a device after a queue-full condition has been detected. Default is 120 seconds. * ql2xqfulltracking - Controls whether the driver tracks queue full status returns and dynamically adjusts a SCSI device's queue depth. Default is 1 to perform tracking. Set to 0 to disable tracking and adjustment of queue. * ql2xfwloadbin - Specifies location from which to load ISP firmware. 2 - load firmware via the request_firmware() interface. 1 - load firmware from Flash. 0 - use default semantics. To view a comprehensive list of parameters, enter the following command: # /sbin/modinfo qla2xxx 6. Additional Notes

The following sections contain additional information: * 6.1 Booting from SAN * 6.2 Firmware Installation * 6.3 Dynamically Modifying SCSI Blacklist Entries 6.1 Booting from SAN Booting from SAN means booting to the OS from a Fibre Channel target device. We recommend using the QLogic inbox driver to install the OS to a Fibre Channel target device that is attached to a QLogic adapter. If there is no QLogic inbox driver that supports the adapter, you should use a DD-kit to boot from SAN. RHEL 5.x Boot from SAN Installation on Non-LUN 0 LUN ---------------------------------------------------- NOTE: The following procedure is for the RHEL 5 distribution only. When installing to a LUN other than LUN 0 and LUN 0 is present, follow these steps to successfully boot from the LUN: 1. On the Boot Loader Configuration screen, select the Configure Advance Boot Loader Option, and then click Next. 2. On the Advanced Boot Loader Configuration screen, select Change Drive Order. 3. On the Edit Drive Order window, move the entry for the boot LUN. 4. To continue, click OK. 5. Continue with the OS installation as usual. 6.2 Firmware Installation To install a firmware RPM on a: - SLES10/11 machine: 1. Save original firmwares in /lib/firmware: $ cd / $ cp /lib/firmware/ql2400_fw.bin /lib/firmware/ql2400_fw.bin.orig $ cp /lib/firmware/ql2500_fw.bin /lib/firmware/ql2500_fw.bin.orig 2. Extract firmware: $ rpm -Uvh --force qlogic-firmware-x.yy.zz.noarch.rpm - RHEL6 machine: 1. Save original firmwares in /lib/firmware: $ cd /

$ cp /lib/firmware/ql2400_fw.bin /lib/firmware/ql2400_fw.bin.orig $ cp /lib/firmware/ql2500_fw.bin /lib/firmware/ql2500_fw.bin.orig 2. Extract firmware: $ rpm -Uvh --force ql2400-firmware-x.yy.zz.noarch.rpm $ rpm -Uvh --force ql2500-firmware-x.yy.zz.noarch.rpm Note: qla2xxx driver has to be loaded with module parameter ql2xfwloadbin=2 to load the firmware at /lib/firmware/ directory. 6.3 Dynamically Modifying SCSI Blacklist Entries On 2.6.x kernels, you can dynamically change the SCSI blacklist, either by writing to a /proc entry or using the scsi_mod module parameter, which allows persistence across reboot. This requires the SCSI Vendor/Model information for the SCSI device, available at /proc/scsi/scsi. Blacklist entries are in the following form: vendor:model:flags[v:m:f] Where flags can be the following integer values: 0x001 /* Only scan LUN 0 */ 0x002 /* Known to have LUNs, force scanning, deprecated: Use max_luns=n */ 0x004 /* Flag for broken handshaking */ 0x008 /* unlock by special command */ 0x010 /* Do not use LUNs in parallel */ 0x020 /* Buggy Tagged Command Queuing */ 0x040 /* Non-consecutive LUN numbering */ - -> value need to be passed to "flags" variable for sparse LUN 0x080 /* Avoid LUNS >= 5 */ 0x100 /* Treat as (removable) CD-ROM */ 0x200 /* LUNs past 7 on a SCSI-2 device */ 0x400 /* override additional length field */ 0x800 /*... for broken inquiry responses */ 0x1000 /* do not do automatic start on add */ 0x2000 /* do not send ms page 0x08 */ 0x4000 /* do not send ms page 0x3f */ 0x8000 /* use 10 byte ms before 6 byte ms */ 0x10000 /* 192 byte ms page 0x3f request */ 0x20000 /* try REPORT_LUNS even for SCSI-2 devs (if supports more than 8 LUNs) */ 0x40000 /* don't try REPORT_LUNS scan (SCSI-3 devs) */ 0x80000 /* don't use PREVENT-ALLOW commands */ 0x100000 /* device is actually for RAID config */ 0x200000 /* select without ATN */ 0x400000 /* retry HARDWARE_ERROR */

For example: # echo <VENDOR>:<MODEL>:040 > /proc/scsi/device_info To enable persistence across reboots: 1. Edit the following file (based on distribution): /etc/modprobe.conf for RHEL 5 2. Add the following line to the file: options scsi_mod dev_flags=<vendor>:<model>:<flags> 3. Rebuild the RAMDISK (refer to section 4.3, step 4). 7. Contacting Support Please feel free to contact your QLogic approved reseller or QLogic Technical Support at any phase of integration for assistance. QLogic Technical Support can be reached by the following methods: Web: http://support.qlogic.com E-mail: support@qlogic.com (c) Copyright 2012. All rights reserved worldwide. QLogic, the QLogic logo, and the Powered by QLogic logo are registered trademarks of QLogic Corporation. All other brand and product names are trademarks or registered trademarks of their respective owners.