Update the HBA firmware on Oracle-branded HBAs(Solaris)

If an HBA firmware update is required on an Oracle-branded HBA, a WARNING message will be placed in the /var/adm/messages file, such as this one:

# tail /var/adm/messages
[...]
Jul 18 02:37:11 soltest QLGC: [ID 349649 kern.info] [ 1.0340]QLGC:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Jul 18 02:37:15 soltest QLGC: [ID 349649 kern.info] [ 1.0340]QLGC:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
[...]

This procedure, while disruptive, will ensure that both driver and firmware are current. The force lip will temporarily disrupt I/O on the port. The disruption and firmware upgrade takes approximately 30-60 seconds to complete

Find HBA Ports by luxadm: (solution one)

[root @ soltest] # luxadm -e port
/devices/pci@1c,600000/QLGC,qlc@1/fp@0,0:devctl NOT CONNECTED
/devices/pci@1c,600000/QLGC,qlc@1,1/fp@0,0:devctl NOT CONNECTED
/devices/pci@1d,700000/QLGC,qlc@1/fp@0,0:devctl NOT CONNECTED
/devices/pci@1d,700000/QLGC,qlc@1,1/fp@0,0:devctl NOT CONNECTED

Upgrade HBA Ports by luxadm:

[root @ soltest] # luxadm -e forcelip /devices/pci@1c,600000/QLGC,qlc@1/fp@0,0:devctl
[root @ soltest] # luxadm -e forcelip /devices/pci@1c,600000/QLGC,qlc@1,1/fp@0,0:devctl
[root @ soltest] # luxadm -e forcelip /devices/pci@1d,700000/QLGC,qlc@1/fp@0,0:devctl
[root @ soltest] # luxadm -e forcelip /devices/pci@1d,700000/QLGC,qlc@1,1/fp@0,0:devctl

Find HBA Ports by fcinfo :(solution two)

[root @ soltest] # fcinfo hba-port
HBA Port WWN: 210000e08b8f8dee
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: QLA2462
Firmware Version: 5.08.00
FCode/BIOS Version: BIOS: 1.12; fcode: 1.16; EFI: 1.04;
Serial Number: RFC0626K44109
Driver Name: qlc
Driver Version: 20140422-5.01
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: not established
Node WWN: 200000e08b8f8dee
HBA Port WWN: 210100e08baf8dee
OS Device Name: /dev/cfg/c3
Manufacturer: QLogic Corp.
Model: QLA2462
Firmware Version: 5.08.00
FCode/BIOS Version: BIOS: 1.12; fcode: 1.16; EFI: 1.04;
Serial Number: RFC0626K44109
Driver Name: qlc
Driver Version: 20140422-5.01
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: not established
Node WWN: 200100e08baf8dee
HBA Port WWN: 210000e08b8facef
OS Device Name: /dev/cfg/c4
Manufacturer: QLogic Corp.
Model: QLA2462
Firmware Version: 5.08.00
FCode/BIOS Version: BIOS: 1.12; fcode: 1.16; EFI: 1.04;
Serial Number: RFC0626K44396
Driver Name: qlc
Driver Version: 20140422-5.01
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: not established
Node WWN: 200000e08b8facef
HBA Port WWN: 210100e08bafacef
OS Device Name: /dev/cfg/c5
Manufacturer: QLogic Corp.
Model: QLA2462
Firmware Version: 5.08.00
FCode/BIOS Version: BIOS: 1.12; fcode: 1.16; EFI: 1.04;
Serial Number: RFC0626K44396
Driver Name: qlc
Driver Version: 20140422-5.01
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: not established
Node WWN: 200100e08bafacef

Upgrade HBA Ports by luxadm:

[root @ soltest]# luxadm -e forcelip /dev/cfg/c2
[root @ soltest]# luxadm -e forcelip /dev/cfg/c3
[root @ soltest]# luxadm -e forcelip /dev/cfg/c4
[root @ soltest]# luxadm -e forcelip /dev/cfg/c5

Check Upgrade Process in system log:



# tail /var/adm/messages
[...]
Jul 18 09:41:35 soltest QLGC: [ID 349649 kern.info] [ 5.0334]QLGC: NOTICE: 710: Link down.
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [13.02C0]QLGC: NOTICE: 200: Adapter initialization. (Firmware update needed. Updating. id=67 fw=6)
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [ 3.0ECB]QLGC: NOTICE:1520: Firmware download. (AWC file: KERN: old=1.00a11  new=1.10a8  Update.)
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [ 3.0EEB]QLGC: NOTICE:1520: Firmware download. (DWC file: TEST:             new=1.00a4  Update.)
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [ 3.0EFF]QLGC: NOTICE:1520: Firmware download. (DWC file: STUB: old=1.00a12  new=2.00a3  Update.)
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [ 3.0F1D]QLGC: NOTICE:1520: Firmware download. (DWC file: SLI2: old=1.00a12  new=2.00a3  Update.)
Jul 18 09:41:40 soltest QLGC: [ID 349649 kern.info] [ 3.0F2C]QLGC: NOTICE:1520: Firmware download. (DWC file: SLI3: old=1.00a12  new=2.00a3  Update.)
Jul 18 09:41:48 soltest QLGC: [ID 349649 kern.info] [ 3.0143]QLGC: NOTICE:1521: Firmware download complete. (Status good.)
Jul 18 09:41:53 soltest QLGC: [ID 349649 kern.info] [ 5.055E]QLGC: NOTICE: 720: Link up. (8Gb, fabric, initiator)

At this point, the firmware upgrade is complete as indicated by the “Status good” message above. A reboot is not strictly necessary to begin using the new firmware. But the fcinfo hba-port command may still report the old firmware version. This is only a reporting defect that does not affect firmware operation and will be corrected in a later version of fcinfo. To correct the version shown by fcinfo, a second reboot is necessary. On systems capable of DR, you can perform dynamic reconfiguration on the HBA (via cfgadm unconfigure/configure) instead of rebooting.

Leave a Comment