码迷,mamicode.com
首页 > 其他好文 > 详细

HP BL660 GEN8 SUSE 11 查询HBA信息 驱动版本 固件版本 设备名称

时间:2016-06-14 12:11:23      阅读:1162      评论:0      收藏:0      [点我收藏+]

标签:suse hp hba 固件 驱动

测试环境为

HP BL660 GEN8

SUSE 11 SP4

root@localhost:/root#lspci |grep -i fibre

root@localhost:/root#lspci -v -s 06:00.0

root@localhost:/root#modinfo lpfc

root@localhost:/root#cat /sys/class/fc_host/host0/symbolic_name             //查询HBA卡的型号、固件、驱动

root@localhost:/root#systool -c scsi_host -v -d host0            //查询HBA卡的型号、固件、驱动、序列号


root@localhost:/root#lspci |grep -i fibre

06:00.0 Fibre Channel: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter (rev 30)

06:00.1 Fibre Channel: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter (rev 30)

root@localhost:/root#lspci -v -s 06:00.0

06:00.0 Fibre Channel: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter (rev 30)

        Subsystem: Hewlett-Packard Company Device 1956

        Flags: bus master, fast devsel, latency 0, IRQ 40

        Memory at ee3f0000 (64-bit, prefetchable) [size=32K]

        Memory at ee3e0000 (64-bit, prefetchable) [size=4K]

        [virtual] Expansion ROM at ee300000 [disabled] [size=512K]

        Capabilities: [54] Vendor Specific Information: Len=08 <?>

        Capabilities: [40] Power Management version 3

        Capabilities: [60] MSI: Enable- Count=1/32 Maskable+ 64bit+

        Capabilities: [78] MSI-X: Enable+ Count=512 Masked-

        Capabilities: [84] Vendor Specific Information: Len=0c <?>

        Capabilities: [94] Express Endpoint, MSI 00

        Capabilities: [f8] Vital Product Data

        Capabilities: [100] Advanced Error Reporting

        Capabilities: [12c] Power Budgeting <?>

        Capabilities: [13c] Single Root I/O Virtualization (SR-IOV)

        Capabilities: [228] Vendor Specific Information: ID=ba5d Rev=1 Len=020 <?>

        Capabilities: [1d0] Alternative Routing-ID Interpretation (ARI)

        Capabilities: [1e8] Vendor Specific Information: ID=c511 Rev=1 Len=010 <?>

        Capabilities: [200] Transaction Processing Hints

        Capabilities: [20c] #19

        Kernel driver in use: lpfc

        Kernel modules: lpfc       //kernel模块名称


root@localhost:/root#modinfo lpfc

filename:       /lib/modules/3.0.101-63-default/kernel/drivers/scsi/lpfc/lpfc.ko

version:        0:10.4.8000.0.            //驱动版本

author:         Emulex Corporation - tech.support@emulex.com

description:    Emulex LightPulse Fibre Channel SCSI driver 10.4.8000.0.

license:        GPL

srcversion:     5B16B2A835A7BE8F801D80B

alias:          pci:v000010DFd0000072Csv*sd*bc*sc*i*

alias:          pci:v000010DFd00000724sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E268sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E208sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E260sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E200sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E131sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F180sv*sd*bc*sc*i*

alias:          pci:v000019A2d00000714sv*sd*bc*sc*i*

alias:          pci:v000019A2d00000704sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FC50sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E180sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000E100sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FC40sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F111sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F112sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F011sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F015sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F100sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FC20sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FC10sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FC00sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0A1sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0A5sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0E1sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0E5sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FE12sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FE11sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FE05sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FE00sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0D1sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0D5sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FD12sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FD11sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FD00sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0F7sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0F6sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F0F5sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F098sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F095sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F700sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F800sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F900sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000F980sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FA00sv*sd*bc*sc*i*

alias:          pci:v000010DFd00001AE5sv*sd*bc*sc*i*

alias:          pci:v000010DFd0000FB00sv*sd*bc*sc*i*

depends:        scsi_mod,scsi_transport_fc,crc-t10dif

supported:      yes

vermagic:       3.0.101-63-default SMP mod_unload modversions 

signer:         SUSE Linux Enterprise Secure Boot Signkey

sig_key:        3F:B0:77:B6:CE:BC:6F:F2:52:2E:1C:14:8C:57:C7:77:C7:88:E3:E7

sig_hashalgo:   sha256

parm:           lpfc_debugfs_enable:Enable debugfs services (int)

parm:           lpfc_debugfs_max_disc_trc:Set debugfs discovery trace depth (int)

parm:           lpfc_debugfs_max_slow_ring_trc:Set debugfs slow ring trace depth (int)

parm:           lpfc_debugfs_mask_disc_trc:Set debugfs discovery trace mask (int)

parm:           lpfc_poll:FCP ring polling mode control: 0 - none, 1 - poll with interrupts enabled 3 - poll and disable FCP ring interrupts (int)

parm:           lpfc_sli_mode:SLI mode selector: 0 - auto (SLI-3 if supported), 2 - select SLI-2 even on SLI-3 capable HBAs, 3 - select SLI-3 (int)

parm:           lpfc_enable_npiv:Enable NPIV functionality (int)

parm:           lpfc_fcf_failover_policy:FCF Fast failover=1 Priority failover=2 (uint)

parm:           lpfc_enable_rrq:Enable RRQ functionality (int)

parm:           lpfc_suppress_link_up:Suppress Link Up at initialization (uint)

parm:           lpfc_iocb_cnt:Number of IOCBs alloc for ELS, CT, and ABTS: 1k to 5k IOCBs (int)

parm:           lpfc_nodev_tmo:Seconds driver will hold I/O waiting for a device to come back (int)

parm:           lpfc_devloss_tmo:Seconds driver will hold I/O waiting for a device to come back (int)

parm:           lpfc_log_verbose:Verbose logging bit-mask (uint)

parm:           lpfc_enable_da_id:Deregister nameserver objects before LOGO (uint)

parm:           lpfc_lun_queue_depth:Max number of FCP commands we can queue to a specific LUN (uint)

parm:           lpfc_tgt_queue_depth:Max number of FCP commands we can queue to a specific target port (uint)

parm:           lpfc_hba_queue_depth:Max number of FCP commands we can queue to a lpfc HBA (uint)

parm:           lpfc_peer_port_login:Allow peer ports on the same physical port to login to each other. (uint)

parm:           lpfc_restrict_login:Restrict virtual ports login to remote initiators. (int)

parm:           lpfc_scan_down:Start scanning for devices from highest ALPA to lowest (uint)

parm:           lpfc_topology:Select Fibre Channel topology (int)

parm:           lpfc_link_speed:Select link speed (int)

parm:           lpfc_aer_support:Enable PCIe device AER support (int)

parm:           lpfc_sriov_nr_virtfn:Enable PCIe device SR-IOV virtual fn (int)

parm:           lpfc_req_fw_upgrade:Enable Linux generic firmware upgrade (int)

parm:           lpfc_fcp_imax:Set the maximum number of FCP interrupts per second per HBA (int)

parm:           lpfc_fcp_cpu_map:Defines how to map CPUs to IRQ vectors per HBA (int)

parm:           lpfc_fcp_class:Select Fibre Channel class of service for FCP sequences (uint)

parm:           lpfc_use_adisc:Use ADISC on rediscovery to authenticate FCP devices (uint)

parm:           lpfc_first_burst_size:First burst size for Targets that support first burst (uint)

parm:           lpfc_max_scsicmpl_time:Use command completion time to control queue depth (int)

parm:           lpfc_ack0:Enable ACK0 support (uint)

parm:           lpfc_fcp_io_sched:Determine scheduling algorithm for issuing commands [0] - Round Robin, [1] - Current CPU (uint)

parm:           lpfc_fcp2_no_tgt_reset:Determine bus reset behavior for FCP2 devices [0] - issue tgt reset, [1] - no tgt reset (uint)

parm:           lpfc_cr_delay:A count of milliseconds after which an interrupt response is generated (uint)

parm:           lpfc_cr_count:A count of I/O completions after which an interrupt response is generated (uint)

parm:           lpfc_multi_ring_support:Determines number of primary SLI rings to spread IOCB entries across (uint)

parm:           lpfc_multi_ring_rctl:Identifies RCTL for additional ring configuration (uint)

parm:           lpfc_multi_ring_type:Identifies TYPE for additional ring configuration (uint)

parm:           lpfc_fdmi_on:Enable FDMI support (uint)

parm:           lpfc_discovery_threads:Maximum number of ELS commands during discovery (uint)

parm:           lpfc_max_luns:Maximum allowed LUN ID (uint)

parm:           lpfc_poll_tmo:Milliseconds driver will wait between polling FCP ring (uint)

parm:           lpfc_task_mgmt_tmo:Maximum time to wait for task management commands to complete (uint)

parm:           lpfc_use_msi:Use Message Signaled Interrupts (1) or MSI-X (2), if possible (uint)

parm:           lpfc_fcp_io_channel:Set the number of FCP I/O channels (uint)

parm:           lpfc_enable_hba_reset:Enable HBA resets from the driver. (uint)

parm:           lpfc_enable_hba_heartbeat:Enable HBA Heartbeat. (uint)

parm:           lpfc_EnableXLane:Enable Express Lane Feature. (uint)

parm:           lpfc_XLanePriority:CS_CTL for Express Lane Feature. (uint)

parm:           lpfc_enable_bg:Enable BlockGuard Support (uint)

parm:           lpfc_prot_mask:host protection mask (uint)

parm:           lpfc_prot_guard:host protection guard type (byte)

parm:           lpfc_delay_discovery:Delay NPort discovery when Clean Address bit is cleared. Allowed values: 0,1. (int)

parm:           lpfc_sg_seg_cnt:Max Scatter Gather Segment Count (uint)

parm:           lpfc_prot_sg_seg_cnt:Max Protection Scatter Gather Segment Count (uint)

root@localhost:/root#cat /sys/class/fc_host/host0/symbolic_name 

Emulex HP-LPe1605 FV10.2.477.9 DV10.4.8000.0.            //设备型号、固件、驱动版本

root@localhost:/root#systool -c scsi_host -v -d host0

Class = "scsi_host"


  Class Device = "host0"

  Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:06:00.0/host0/scsi_host/host0"

    active_mode         = "Initiator"

    bg_apptag_err       = "0"

    bg_guard_err        = "0"

    bg_info             = "BlockGuard Disabled"

    bg_reftag_err       = "0"

    board_mode          = "online"

    can_queue           = "2811"

    cmd_per_lun         = "3"

    eh_deadline         = "0"

    fwrev               = "10.2.477.9, sli-4:2:b"                //固件版本

    hdw                 = "0000000b"

    host_busy           = "0"

    host_reset          = <store method only>

    info                = "HP LPe1605 16Gb FC HBA on PCI bus 06 device 00 irq 40 port 0 Logical Link Speed: 8000 Mbps"

    iocb_hw             = "4"

    issue_reset         = <store method only>

    link_state          = "Link Down"

    lpfc_EnableXLane    = "0"

    lpfc_XLanePriority  = "0"

    lpfc_ack0           = "0"

    lpfc_aer_state_cleanup= <store method only>

    lpfc_aer_support    = "1"

    lpfc_cr_count       = "1"

    lpfc_cr_delay       = "0"

    lpfc_devloss_tmo    = "30"

    lpfc_drvr_stat_data = 

    lpfc_drvr_version   = "Emulex LightPulse Fibre Channel SCSI driver 10.4.8000.0."            //驱动版本

    lpfc_dss            = "Enabled - Not Operational"

    lpfc_enable_bg      = "0"

    lpfc_enable_fip     = "1"

    lpfc_enable_hba_heartbeat= "0"

    lpfc_enable_hba_reset= "1"

    lpfc_enable_npiv    = "1"

    lpfc_enable_rrq     = "2"

    lpfc_fcf_failover_policy= "1"

    lpfc_fcp2_no_tgt_reset= "0"

    lpfc_fcp_class      = "3"

    lpfc_fcp_cpu_map    = "fcp_cpu_map: Driver centric mapping (2): 32 online CPUs

CPU 00 io_chan 00 physid 0 coreid 0 IRQ 140

CPU 01 io_chan 00 physid 0 coreid 1

CPU 02 io_chan 00 physid 0 coreid 2

CPU 03 io_chan 00 physid 0 coreid 3

CPU 04 io_chan 00 physid 0 coreid 4

CPU 05 io_chan 00 physid 0 coreid 5

CPU 06 io_chan 00 physid 0 coreid 6

CPU 07 io_chan 00 physid 0 coreid 7

CPU 08 io_chan 01 physid 1 coreid 0 IRQ 141

CPU 09 io_chan 01 physid 1 coreid 1

CPU 10 io_chan 01 physid 1 coreid 2

CPU 11 io_chan 01 physid 1 coreid 3

CPU 12 io_chan 01 physid 1 coreid 4

CPU 13 io_chan 01 physid 1 coreid 5

CPU 14 io_chan 01 physid 1 coreid 6

CPU 15 io_chan 01 physid 1 coreid 7

CPU 16 io_chan 02 physid 2 coreid 0 IRQ 142

CPU 17 io_chan 02 physid 2 coreid 1

CPU 18 io_chan 02 physid 2 coreid 2

CPU 19 io_chan 02 physid 2 coreid 3

CPU 20 io_chan 02 physid 2 coreid 4

CPU 21 io_chan 02 physid 2 coreid 5

CPU 22 io_chan 02 physid 2 coreid 6

CPU 23 io_chan 02 physid 2 coreid 7

CPU 24 io_chan 03 physid 3 coreid 0 IRQ 143

CPU 25 io_chan 03 physid 3 coreid 1

CPU 26 io_chan 03 physid 3 coreid 2

CPU 27 io_chan 03 physid 3 coreid 3

CPU 28 io_chan 03 physid 3 coreid 4

CPU 29 io_chan 03 physid 3 coreid 5

CPU 30 io_chan 03 physid 3 coreid 6

CPU 31 io_chan 03 physid 3 coreid 7"

    lpfc_fcp_imax       = "50000"

    lpfc_fcp_io_channel = "4"

    lpfc_fcp_io_sched   = "1"

    lpfc_fdmi_on        = "0"

    lpfc_fips_level     = "0"

    lpfc_fips_rev       = "0"

    lpfc_first_burst_size= "0"

    lpfc_hba_queue_depth= "2821"

    lpfc_iocb_cnt       = "2"

    lpfc_link_speed     = "0"

    lpfc_log_verbose    = "0x0"

    lpfc_lun_queue_depth= "30"

    lpfc_max_luns       = "255"

    lpfc_max_scsicmpl_time= "0"

    lpfc_multi_ring_rctl= "4"

    lpfc_multi_ring_support= "1"

    lpfc_multi_ring_type= "5"

    lpfc_nodev_tmo      = "30"

    lpfc_peer_port_login= "0"

    lpfc_poll           = "0x0"

    lpfc_poll_tmo       = "10"

    lpfc_prot_sg_seg_cnt= "64"

    lpfc_req_fw_upgrade = "0"

    lpfc_scan_down      = "1"

    lpfc_sg_seg_cnt     = "64"

    lpfc_soft_wwn_enable= <store method only>

    lpfc_soft_wwnn      = "0x0"

    lpfc_soft_wwpn      = "0x0"

    lpfc_sriov_hw_max_virtfn= "1"

    lpfc_sriov_nr_virtfn= "0"

    lpfc_stat_data_ctrl = "Statistical Data enabled :0, blocked :0, Bucket type :No Bucket, Bucket base :0, Bucket step :0

Latency Ranges :"

    lpfc_suppress_link_up= "0"

    lpfc_task_mgmt_tmo  = "60"

    lpfc_temp_sensor    = "0"

    lpfc_tgt_queue_depth= "65535"

    lpfc_topology       = "0"

    lpfc_use_adisc      = "0"

    lpfc_use_msi        = "2"

    lpfc_xlane_lun_state= "0"

    lpfc_xlane_supported= "1"

    lpfc_xlane_tgt      = "0x0"

    lpfc_xlane_vpt      = "0x0"

    max_rpi             = "3071"

    max_vpi             = "255"

    max_xri             = "3071"

    menlo_mgmt_mode     = "0"

    modeldesc           = "HP LPe1605 16Gb FC HBA"

    modelname           = "HP-LPe1605"            //HBA型号

    npiv_info           = "NPIV Physical"

    nport_evt_cnt       = "0"

    num_discovered_ports= "0"

    option_rom_version  = ""

    portnum             = "0"

    proc_name           = "lpfc"            //kernel模块名称

    programtype         = ""

    prot_capabilities   = "0"

    prot_guard_type     = "0"

    protocol            = "fc"

    scan                = <store method only>

    serialnum           = "5CF45100RH"            //HBA序列号

    sg_prot_tablesize   = "0"

    sg_tablesize        = "64"

    state               = "running"

    supported_mode      = "Initiator"

    txcmplq_hw          = "0"

    txq_hw              = "0"

    uevent              = 

    unchecked_isa_dma   = "0"

    unique_id           = "0"

    used_rpi            = "1"

    used_vpi            = "0"

    used_xri            = "250"


    Device = "host0"

    Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:06:00.0/host0"

      uevent              = "DEVTYPE=scsi_host"



HP BL660 GEN8 SUSE 11 查询HBA信息 驱动版本 固件版本 设备名称

标签:suse hp hba 固件 驱动

原文地址:http://gregdefanhua.blog.51cto.com/7580626/1789003

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!