BMC firmware update fails with "Bad file descriptor" error
Applies to
- ONTAP 9.7
- AFF-A400
- FAS8300
Issue
- Baseboard Management Controller (BMC) firmware update from Data ONTAP prompt fails.
cluster::*> system service-processor image update -node nodename -package BMC_FW_308-04013_13.3.zip
- BMC console log shows that the update fails due to "Bad file descriptor" error.
[201208052740][IPMIMain][INFO]SET URL = http://192.0.2.85:xxx/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://192.0.2.85:xxx/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://192.0.2.85:xxx/FW_BMC/CPMI_BMC.ima backup
[201208052741][bmc][INFO]URL = http://192.0.2.85:xxx/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://192.0.2.85:xxx/FW_BMC/CPMI_BMC.ima
Upgrade and preserve BMC config
Download HTTP: http://192.0.2.85:xxx/FW_BMC/CPMI_BMC.ima
Connecting to 192.0.2.85:65508(192.0.2.85:xxx)
wget: can't connect to remote host (192.0.2.85): Bad file descriptor
Download HTTP: Fail
Download HTTP: http://192.0.2.85:65508/FW_BMC/CPMI_BMC.ima
Connecting to 192.0.2.85:65508 (192.0.2.85:xxx)
wget: can't connect to remote host (192.0.2.85): Bad file descriptor
Download HTTP: Fail
Download HTTP: http://192.0.2.85:xxx/FW_BMC/CPMI_BMC.ima
Connecting to 192.0.2.85:65508 (192.0.2.85:xxx)
wget: can't connect to remote host (192.0.2.85): Bad file descriptor
Download HTTP: Fail
Error : 100%
[201208052750][bmc][INFO]Remove /tmp/rom.ima
Fail to update bmc