HP (Hewlett-Packard) 441877-00B Network Card User Manual


 
Firmware upgrade utility 58
Command line
argument
Description
–p Previous. Interactively restores previous firmware
images that were automatically backed up prior to the
firmware update. This option is useful for recovering
from firmware upgrade failures. This option can be
used with any other option.
–h Help. Displays the usage message. If this option is used
with any other option, the other options are ignored.
–c Displays server adapters and current firmware version
without performing an updates. This option cannot be
used with any other option.
Restoring firmware image from backup
Before the server adapter firmware image on the server is updated, the current image is saved in a file
called <MAC_ADDRESS>.bc<Boot Code version>.p<PXE version>.bin. The backup file is
saved in the /var/opt/hp/nicfw_backup directory of the target server.
Use the hpnicfwupg command with the –p option to restore the original firmware image after an
upgrade or after an upgrade failure. This option can only be used interactively. The firmware backup
directory is examined for saved images and a message is displayed showing the current firmware
versions and the versions from the saved image. You will be prompted before the restore is attempted. If
more than one saved image is found for a particular server adapter, you will be prompted for each
image.
The following is a sample screen shot of a typical restore.
[root@rdple root]# /usr/sbin/hpnicfwupg -p
Found HP NC7760 Gigabit Server Adapter MAC: 000BCD5035DE
*** WARNING *** - Installed firmware is the same version as the selected
firmware.
Restore Boot Code 2.35 to 2.35 - y/n/q (n):q
Firmware upgrade cancelled by User.
Firmware upgrade log file
The firmware upgrade installation status (including errors) is written by the Linux server adapter upgrade
package to a firmware upgrade log file called nicfwupg.log in the /var/opt/hp subdirectory on
the target server. Information regarding subsequent installation activity is appended to the same log file,
providing a chronological history of all server adapter firmware upgrade activity on the target server.
Return codes
When the Linux server adapter firmware upgrade package has finished running, it reports the following
return codes to the operating system or calling application.
Error
level
Meaning
0 Hpnicfwupg installed all selected firmware successfully. For
options –c and –i , 0 means the information was displayed
correctly.