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)

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

相关文章
使用NAT网关轻松为单台云服务器设置多个公网IP
在应用中,有时会遇到用户询问如何使单台云服务器具备多个公网IP的问题。 具体如何操作呢,有了NAT网关这个也不是难题。
22525 0
怎么设置阿里云服务器安全组?阿里云安全组规则详细解说
阿里云服务器安全组设置规则分享,阿里云服务器安全组如何放行端口设置教程
6366 0
阿里云服务器端口号设置
阿里云服务器初级使用者可能面临的问题之一. 使用tomcat或者其他服务器软件设置端口号后,比如 一些不是默认的, mysql的 3306, mssql的1433,有时候打不开网页, 原因是没有在ecs安全组去设置这个端口号. 解决: 点击ecs下网络和安全下的安全组 在弹出的安全组中,如果没有就新建安全组,然后点击配置规则 最后如上图点击添加...或快速创建.   have fun!  将编程看作是一门艺术,而不单单是个技术。
3960 0
使用OpenApi弹性释放和设置云服务器ECS释放
云服务器ECS的一个重要特性就是按需创建资源。您可以在业务高峰期按需弹性的自定义规则进行资源创建,在完成业务计算的时候释放资源。本篇将提供几个Tips帮助您更加容易和自动化的完成云服务器的释放和弹性设置。
7586 0
阿里云ECS云服务器初始化设置教程方法
阿里云ECS云服务器初始化是指将云服务器系统恢复到最初状态的过程,阿里云的服务器初始化是通过更换系统盘来实现的,是免费的,阿里云百科网分享服务器初始化教程: 服务器初始化教程方法 本文的服务器初始化是指将ECS云服务器系统恢复到最初状态,服务器中的数据也会被清空,所以初始化之前一定要先备份好。
10717 0
阿里云ECS云服务器初始化设置教程方法
阿里云ECS云服务器初始化是指将云服务器系统恢复到最初状态的过程,阿里云的服务器初始化是通过更换系统盘来实现的,是免费的,阿里云百科网分享服务器初始化教程: 服务器初始化教程方法 本文的服务器初始化是指将ECS云服务器系统恢复到最初状态,服务器中的数据也会被清空,所以初始化之前一定要先备份好。
2901 0
+关注
德哥
公益是一辈子的事, I'm digoal, just do it.
2153
文章
245
问答
文章排行榜
最热
最新
相关电子书
更多
文娱运维技术
立即下载
《SaaS模式云原生数据仓库应用场景实践》
立即下载
《看见新力量:二》电子书
立即下载