I was receiving error Flash Engine exit code: 2
root@suse11:/usr/lib/x86_64-linux-gnu/hp-firmware-fc-emulex-2015.02.01-1.1 # ./.hpsetup
—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.log
Flash Engine exit code: 2
All updates failed.
Flash complete [7]
I have a dual port Emulex LPe1105-HP
root@suse11:~ # systool -av -c fc_host | grep “Class Device =”
Class Device = “host0”
Class Device = “host1”root@suse11:~ # systool -c scsi_host -v -d host0 | grep modeldesc
modeldesc = “HP BLc Emulex LPe1105-HP FC Mezz Option Kit”
root@suse11:~ # systool -c scsi_host -v -d host1 | grep modeldesc
modeldesc = “HP BLc Emulex LPe1105-HP FC Mezz Option Kit”
Reviewing the log file, it seems that this server already had the firmware flashed
root@suse11:~ # cat /var/cpq/Component.log
=================================================================Installation started: Wed Oct 7 10:57:33 BRT 2015
Installing: CP022701.scexe
Version: 2014.04.01a
Description: HP Firmware Flash for Emulex Fibre Channel HBAs and CNAs—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /sysfs /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.logWed Oct 7 10:58:12 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8E,
Update=Firmware, Image=ZF282X4.ALL, New=282X4, Old=280A4, Status=SuccessWed Oct 7 10:58:33 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8E,
Update=Boot Code, Image=ZU610A14.PRG, New=610A14, Old=603A7, Status=SuccessWed Oct 7 10:59:11 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8F,
Update=Firmware, Image=ZF282X4.ALL, New=282X4, Old=280A4, Status=SuccessWed Oct 7 10:59:32 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8F,
Update=Boot Code, Image=ZU610A14.PRG, New=610A14, Old=603A7, Status=Successelxflash: All required updates succeeded – Return Code=0
Flash Engine exit code: 0
All updates were successful. Reboot needed.
Flash complete [1]Return code: 1
Installation complete: Wed Oct 7 10:59:32 BRT 2015
=================================================================
—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.logelxflash: Error – all required updates failed – Return Code=2
Flash Engine exit code: 2
All updates failed.
Flash complete [7]
—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.logelxflash: Error – all required updates failed – Return Code=2
Flash Engine exit code: 2
All updates failed.
Flash complete [7]