BMC firmware update fails with "Bad file descriptor" error
Applies to
- ONTAP 9.7P6
- AFF-A400
Issue
Baseboard Management Controller (BMC) firmware update from Data ONTAP prompt fails.
- Attempting to update BMC firmware from ONTAP prompt.
Example:
cluster::*> system service-processor image update -node nodename -package BMC_FW_308-04013_13.3.zip
Note: Firmware update will need to reboot the SP on completion. If your console
connection is through the SP, it will be disconnected
Do you want to proceed with the firmware update ? {y|n}: y
SP firmware update has been successfully scheduled.
- BMC console log shows that the update fails due to "Bad file descriptor" error.
[201208052740][IPMIMain][INFO]SET URL = http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
[201208052740][IPMIMain][INFO]SET PROTOCOL = 2
[201208052740][IPMIMain][INFO]SET device = 0
[201208052741][IPMIMain][INFO]SET image = 0
[201208052741][IPMIMain][INFO]SET retry number = 5
[201208052741][IPMIMain][INFO]SET Preserve = 2
[201208052741][IPMIMain][INFO]url = http://xxx.x.x.x:xxxxx/FW_BMC/CPMI_BMC.ima
[201208052741][IPMIMain][INFO]protocol = 2
[201208052741][IPMIMain][INFO]device = 0
[201208052741][IPMIMain][INFO]image = 0
[201208052741][IPMIMain][INFO]retry = 5
[201208052741][IPMIMain][INFO]preserve = 2
[201208052741][IPMIMain][INFO]cmd to ex: /usr/local/bin/bmc update http://xxx.x.x.x:xxxxx/FW_BMC/CPMI_BMC.ima backup
[201208052741][bmc][INFO]URL = http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
[201208052741][bmc][INFO]image = backup
[201208052741][bmc][INFO]current_boot = 0
[201208052741][bmc][INFO]Update: current=0 target=1 wipe=0 switch=0
[201208052741][bmc][INFO]Update inactive via http http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
Upgrade and preserve BMC config
Download HTTP: http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
Connecting to xxx.x.x.xx:xxxxx(xxx.x.x.xx:xxxxx)
wget: can't connect to remote host (xxx.x.x.xx): Bad file descriptor
Download HTTP: Fail
Download HTTP: http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
Connecting to xxx.x.x.xx:xxxxx (xxx.x.x.xx:xxxxx)
wget: can't connect to remote host (xxx.x.xx.xx): Bad file descriptor
Download HTTP: Fail
Download HTTP: http://xxx.x.x.xx:xxxxx/FW_BMC/CPMI_BMC.ima
Connecting to xxx.x.xx.xx:xxxxx (xxx.x.x.xx:xxxxx)
wget: can't connect to remote host (xxx.x.x.xx): Bad file descriptor
Download HTTP: Fail
Error : 100%
[201208052750][bmc][INFO]Remove /tmp/rom.ima
Fail to update bmc