Firmware upgrade utility 57
names for the packages are hpnicfwupg-<version>.i386.rpm for Linux 32 and hpnicfwupg-
<version>.x86_64.rpm for Linux 64. The instructions below describe the x32 version.
1.
Before the RPM package is installed, check for the existence of a previous version by issuing the
rpm
-q hpnicfwupg
command.
2.
If a previous version is found, remove it using the
rpm -e hpnicfwupg
command.
3.
Install the RPM package using the
hpnicfwupg–<version>.rpm
command.
4.
Launch the adapter interface by entering
ifup ethx
or
ifconfig ethx up
.
5.
Launch the upgrade utility in interactive mode by entering
hpnicfwupg
.
6.
Before the upgrade is attempted, a copy of the firmware image is saved. If the firmware upgrade
fails due to an unrecoverable error, you can restore your original firmware interactively by entering
/usr/sbin/hpnicfwupg -p
.
If errors have occurred, use the hpnicfwupg utility to restore the server adapter firmware from a backup
copy.
Command line syntax
Use the following command line syntax.
To Use
command
Verify previous version of hpnicfwupg
package exists
# rpm -q hpnicfwupg
Remove an old version of hpnicfwupg
package
# rpm –e hpnicfwupg
Install the RPM package
# rpm -ivh hpnicfwupg-<version>.rpm
Launch the firmware upgrade utility
# user/sbin/hpnicfwupg
Restore original firmware if errors
occur
# /usr/sbin/hpnicfwupg -p
Uninstall the RPM package
# rpm -e hpnicfwupg
Command line arguments
The upgrade utility recognizes the following command line arguments.
Command line
argument
Description
–y
Yes. Executes the utility with no user interaction. Default
action is implied for all prompts. Messages are
displayed to the screen and to the log. If –y is used with
–s, the behavior is the same as if –s had been specified.
–s
Silent. Executes the utility silently with no user
interaction. Default action is implied for all prompts.
Messages are logged but are not displayed on the
screen. If the –y option is used with –s, –y is ignored.
–f
Force. Forces the firmware upgrade even if the
firmware installed on the system is newer than the
firmware in the RPM. This option is only valid with –s or
–y. If neither are specified, the option is ignored.