How to get HBA card version/driver details in Linux RHEL6/7 ?

In this article, we will look at how to get HBA card version and driver details in Linux.

Lets have a look how to get below details:

Getting below HBA details

HBA Manufacturer: QLogic Corp.
HBA Model: Hewlett-Packard Company HP SN1000Q 16Gb Dual Port Fibre Channel Adapter
HBA Firmware Version: 8.07.00.38.07.4-k1
HBA Driver Name: qla2xxx
HBA Driver Version: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)

Solution
1. Get HBA driver Version

    [root@ngelinux~]# lspci | grep -i fibre
0a:00.0 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)
0a:00.1 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)
[root@ngelinux ~]#

 

2. Get details of the card.

[root@ngelinux ~]# lspci -v -s 0a:00.0
0a:00.0 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)
        Subsystem: Hewlett-Packard Company HP SN1000Q 16Gb Dual Port Fibre Channel Adapter
        Physical Slot: 2
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
        Memory at 92d0a000 (64-bit, prefetchable) [size=8K]
        Memory at 92d04000 (64-bit, prefetchable) [size=16K]
        Memory at 92c00000 (64-bit, prefetchable) [size=1M]
        [virtual] Expansion ROM at 93700000 [disabled] [size=256K]
        Capabilities: [44] Power Management version 3
        Capabilities: [4c] Express Endpoint, MSI 00
        Capabilities: [88] Vital Product Data
        Capabilities: [90] MSI-X: Enable+ Count=32 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [154] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [1b0] #19
        Kernel driver in use: qla2xxx
        Kernel modules: qla2xxx

 

3. Getting version information

    [root@ngelinux ~]# modinfo qla2xxx | grep -i version
version:        8.07.00.38.07.4-k1
rhelversion:    7.4
srcversion:     827D4460FB4DB387064AFFB
vermagic:       3.10.0-693.11.6.el7.x86_64 SMP mod_unload modversions
You have mail in /var/mail/root
[root@ngelinux ~]#
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments