In the article check HBA card and its driver's info, it focused on HBA card physical installation and driver's info, as well as the driver info in kernel.

In this article, I'm going to show you how to check HBA card's driver info, firmware and boot image info(BIOS, UEFI, Fcode, Firmware etc..). In this example, It's Qle2562 HBA card.

 

Get driver info

 

Get HBA driver info from driver module

# modinfo qla2xxx | grep version
version:        8.04.00.08.06.4-k

Use systool to get HBA driver info

# systool -c scsi_host -v -d host5 | grep driver_version
 driver_version      = "8.04.00.08.06.4-k"

More info about systool, see systool, a useful tool for san and sysfs devices

Use scli command to get HBA driver info

# ./scli -i | grep "Driver Version"
Driver Version                    : 8.04.00.08.06.4-k

 

Get Firmware info

 

Use systool to get HBA firmware

# systool -c scsi_host -v -d host1 | grep fw_version
    84xx_fw_version     = ""
    fw_version          = "5.08.00 (90d5)"

Use scli command line to get HBA firmware

# ./scli -i | grep "Driver Firmware Version"
Driver Firmware Version           : 5.08.00 (90d5)
Driver Firmware Version           : 5.08.00 (90d5)

Get HBA firmware info In syslog

Yes, there is a piece of info you can find in /var/log/message, in red color.

Jan  6 11:59:01 abc kernel: qla2xxx [0000:00:00.0]-0005: QLogic Fibre Channel HBA Driver: 8.04.00.08.06.4-k.
Jan  6 11:59:01 abc kernel: qla2xxx 0000:15:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24
Jan  6 11:59:01 abc kernel: qla2xxx [0000:15:00.0]-001d: Found an ISP2532 irq 24 iobase 0xffffc90015082000.
Jan  6 11:59:01 abc kernel: qla2xxx 0000:15:00.0: firmware: requesting ql2500_fw.bin
Jan  6 11:59:01 abc kernel: scsi5 : qla2xxx
Jan  6 11:59:01 abc kernel: qla2xxx [0000:15:00.0]-00fb:5: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x.
Jan  6 11:59:01 abc kernel: qla2xxx [0000:15:00.0]-00fc:5: ISP2532: PCIe (5.0GT/s x4) @ 0000:15:00.0 hdma+ host#=5 fw=5.08.00 (90d5).

 

Boot image(BIOS, UEFI, Fcode, Firmware,FlasUtil, VPD, Efiutil)

 

Use systool to get HBA boot image

# systool -c scsi_host -v -d host5 | grep optrom
    optrom_bios_version = "2.09"
    optrom_efi_version  = "2.27"
    optrom_fcode_version= "3.14"
    optrom_fw_version   = "5.03.09 149"
    optrom_gold_fw_version= ""
    optrom              =
    optrom_ctl          = <store method only>

Use scli to get HBA boot image

# ./scli -i | grep Flash
Flash BIOS Version                : 2.09
Flash FCode Version               : 3.14
Flash EFI Version                 : 2.27
Flash Firmware Version            : 5.03.09