FC-FCoE Driver for RHEL 5.6/5.7 (x86/x64) V-8.03.07.09.5.6-k-阿里云开发者社区

开发者社区> 开发与运维> 正文
登录阅读全文

FC-FCoE Driver for RHEL 5.6/5.7 (x86/x64) V-8.03.07.09.5.6-k

简介:

下载 :

http://filedownloads.qlogic.com

FC-FCoE Driver for RHEL 5.6/5.7 (x86/x64) V-8.03.07.09.5.6-k

安装 :

4.1 Building the Driver for RHEL 5.x Linux

1. In the directory that contains the source driver file,
    qla2xxx-src-x.xx.xx.xx.xx.xx-k.gz, issue the following commands: 

     # tar -xzvf qla2xxx-src-x.xx.xx.xx.xx.xx-k.tar.gz

     # cd qla2xxx-src-x.xx.xx.xx.xx.xx-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 by issuing the following
    command:
    
     # modprobe -v qla2xxx

    To unload the driver, 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.

可选参数 :

 

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 and /etc/modprobe.conf.local for
SLES. 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 - perform 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. Default is 0 - disable. 1 - enable. 

* ql2xfdmienable - Enables FDMI registrations  
   Default is 0 - no FDMI. 1 - perform 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

输出如下 :

[root@db-192-168-173-226 ~]# /sbin/modinfo qla2xxx
filename:       /lib/modules/2.6.18-238.el5/extra/qlgc-qla2xxx/qla2xxx.ko
version:        8.03.07.09.5.6-k
license:        GPL
description:    QLogic Fibre Channel HBA Driver
author:         QLogic Corporation
srcversion:     35B312F34F607638CF849A0
alias:          pci:v00001077d00008021sv*sd*bc*sc*i*
alias:          pci:v00001077d00008001sv*sd*bc*sc*i*
alias:          pci:v00001077d00002532sv*sd*bc*sc*i*
alias:          pci:v00001077d00005432sv*sd*bc*sc*i*
alias:          pci:v00001077d00005422sv*sd*bc*sc*i*
alias:          pci:v00001077d00008432sv*sd*bc*sc*i*
alias:          pci:v00001077d00002432sv*sd*bc*sc*i*
alias:          pci:v00001077d00002422sv*sd*bc*sc*i*
alias:          pci:v00001077d00006322sv*sd*bc*sc*i*
alias:          pci:v00001077d00006312sv*sd*bc*sc*i*
alias:          pci:v00001077d00002322sv*sd*bc*sc*i*
alias:          pci:v00001077d00002312sv*sd*bc*sc*i*
alias:          pci:v00001077d00002300sv*sd*bc*sc*i*
alias:          pci:v00001077d00002200sv*sd*bc*sc*i*
alias:          pci:v00001077d00002100sv*sd*bc*sc*i*
depends:        scsi_mod,scsi_transport_fc
vermagic:       2.6.18-238.el5 SMP mod_unload gcc-4.1
parm:           ql2xlogintimeout:Login timeout value in seconds. (int)
parm:           qlport_down_retry:Maximum number of command retries to a port that returns a PORT-DOWN status. (int)
parm:           ql2xplogiabsentdevice:Option to enable 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. (int)
parm:           ql2xloginretrycount:Specify an alternate value for the NVRAM login retry count. (int)
parm:           ql2xallocfwdump:Option to enable allocation of memory for a firmware dump during HBA initialization.  Memory allocation requirements vary by ISP type.  Default is 1 - allocate memory. (int)
parm:           ql2xextended_error_logging:Option to enable extended error logging, Default is 0 - no logging. 1 - log errors. (int)
parm:           ql2xdevdiscgoldfw:Option to enable device discovery with golden firmware Applicable to ISP81XX based CNA only. Default is 0 - no discovery. 1 - discover device. (int)
parm:           ql2xfdmienable:Enables FDMI registratons Default is 0 - no FDMI. 1 - perfom FDMI. (int)
parm:           ql2xmaxqdepth:Maximum queue depth to report for target devices. (int)
parm:           ql2xqfulltracking:Controls whether the driver tracks queue full status returns and dynamically adjusts a scsi device's queue depth.  Default is 1, perform tracking.  Set to 0 to disable dynamic tracking and adjustment of queue depth. (int)
parm:           ql2xqfullrampup:Number of seconds to wait to begin to ramp-up the queue depth for a device after a queue-full condition has been detected.  Default is 120 seconds. (int)
parm:           ql2xenablemsix:Set to enable MSI or MSI-X interrupt mechanism. Default is 1, enable MSI-X interrupt mechanism. 0 = enable traditional pin-based mechanism. 1 = enable MSI-X interrupt mechanism. 2 = enable MSI interrupt mechanism. (int)
parm:           ql2xshiftctondsd:Set to control shifting of command type processing based on total number of DSD. (int)
parm:           ql2xfwloadbin:Option to specify location from which to load ISP firmware: 2 -- load firmware via the request_firmware() (hotplug) interface, ISP82XX and above. 1 -- load firmware from flash. 0 -- use default semantics. (int)
parm:           ql2xdbwr:Option to specify scheme for request queue posting 0 -- Regular doorbell. 1 -- (Default) CAMRAM doorbell (faster). (int)
parm:           ql2xdontresethba:1: Do not reset on failure, 0(Default): Reset on failure. (Debug) (int)
parm:           ql2xsetdevstate:1: Reset device state to COLD. (Debug) (int)
parm:           ql2xetsenable:Enables firmware ETS burst.Default is 0 - skip ETS enablement. (int)
parm:           ql2xtargetreset:Enable target reset.Default is 1 - use hw defaults. (int)
parm:           ql2xmaxlun:Defines the maximum LU number to register with the SCSI midlayer. Default is 65535. (uint)
parm:           ql2xmdcapmask:Set the Minidump driver capture mask level. Default is 0x1F - Can be set to 0x3, 0x7, 0xF, 0x1F, 0x7F. (int)
parm:           ql2xmdenable:Enable/disable MiniDump. 0 (Default) - MiniDump disabled. 1 - MiniDump enabled. (int)

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

其他文章
最新文章
相关文章