Storage‎ > ‎Storage-disk‎ > ‎

Ways to check HBA driver, firmware and boot image info on Linux

Thank you for visiting this page, this page has been update in another link Ways to check HBA driver,firmware and boot image info on Linux


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 the example, I use Qle2562 HBA card.

Get driver info

From driver module

# modinfo qla2xxx | grep version
version:        8.04.00.08.06.4-k

From systool

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

From scli command line

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

Get Firmware info

From systool

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

From scli command line

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

In syslog

If you don't have either systool or scli installed, then you can get it from syslog message, in /var/log/message


Jan  6 11:59:01 dpool15 kernel: qla2xxx [0000:00:00.0]-0005: QLogic Fibre Channel HBA Driver: 8.04.00.08.06.4-k.
Jan  6 11:59:01 dpool15 kernel: qla2xxx 0000:15:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24
Jan  6 11:59:01 dpool15 kernel: qla2xxx [0000:15:00.0]-001d: Found an ISP2532 irq 24 iobase 0xffffc90015082000.
Jan  6 11:59:01 dpool15 kernel: qla2xxx 0000:15:00.0: firmware: requesting ql2500_fw.bin
Jan  6 11:59:01 dpool15 kernel: scsi5 : qla2xxx
Jan  6 11:59:01 dpool15 kernel: qla2xxx [0000:15:00.0]-00fb:5: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x.
Jan  6 11:59:01 dpool15 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)

From systool

# 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>

From scli

# ./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

Comments