IBM Support

Failure to install HMC code on 7063-CR1 with Return Code: 10

Troubleshooting


Problem

Upgrading or reinstalling HMC code from Recovery media or USB fails always @ 15%.
The messages on the screen gets to "Installing Base Operating System", then returns an
error screen with "An error has occurred during the install/upgrade.  Return code: 10".
If network installation or upgrade was attempted, the HMC will not boot with filesystem corruption.
Reattempt to reinstall from the alt disk partition will result in a failure message of:

Corrupted install image or incorrect time on HMC
Please verify the date/time of the hmc and retry
Corrective service installation has failed.

Progress menus for media failure:
image
Then the following error appears:
image
Clicking OK drops the user to a debug shell.  To verify this tip may apply the user can run the following commands in the debug shell:
image
In the shell type the following commands:

cd /tmp
less HmcInstall.log

Error example:
image

less HmcInstall.err

Error example:
image

Symptom

Unable to install the HMC past around 15%.

Cause

Degraded virtual drive or problems with the virtual drive

Environment

7063-CR1 Any Version or Release
Network install and any media impacted

Diagnosing The Problem

Pre-requisite: To use the mvCLI commands, the mvcli utility must be available. The mvCLI utility is not natively part of the Petitboot shell. You will need to install the mvcli utility, using the Petitboot command line to mount the storage that contains the mvcli utility and copy it off.  How to install the mvCLI utility in the Petitboot environment.
If user is remote in BMC: Go to Power Control -> Set Power Reset
If user is local, power off and on the HMC
Enter the petitboot menu:
image
Select Exit to shell
In the above example the USB is mounted as the sde device.  (USB example follows, for DVD media follow additional steps here )
In the shell run the following cmds:

cp /var/petitboot/mnt/dev/sde/util/marvell/mvcli /tmp
chmod +x /tmp/mvcli
modprobe sg
/tmp/mvcli info -o vd

Example output:

image


 

Resolving The Problem

Pre-requisite: To use the mvCLI commands, the mvcli utility must be available. The mvCLI utility is not natively part of the Petitboot shell. You will need to install the mvcli utility, using the Petitboot command line to mount the storage that contains the mvcli utility and copy it off.  How to install the mvCLI utility in the Petitboot environment.

The "Diagnosing the Problem" example shows the virtual drive is degraded and needs to be recreated.  The virtual drive should be recreated regardless of Status if the installation continues to fail at 15%.
Once mvcli is installed in the Petitboot environment proceed with the solution.
Delete the virtual disk:

/tmp/mvcli delete -o vd --id 0

Verify the virtual disk was removed:

/tmp/mvcli info -o vd

SG driver version x.x.x
No virtual disk is found.

Recreate the virtual disk:

/tmp/mvcli create -o vd -r1 -n "HMC Disk" -d 0,1

Verify the virtual disk was created and it shows "# of PDs" equal to 2:

/tmp/mvcli info -o vd

Example output:
image
Type exit to return to the petitboot menu.
Reattempt installation by selecting the "Install Management Console" option of the USB or DVD device.

Related Information

Document Location

Worldwide

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SGGSNP","label":"Hardware Management Console V9"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
22 September 2021

UID

ibm10796366