Comment 7 for bug 1509896

Revision history for this message
Pavaman Subramaniyam (pavsubra) wrote :

But when I follow the same steps on updating the OPAL 810 Firmware on Firestone Hardware, I am getting error as shown.

root@ltc-fire8:~# uname -a
Linux ltc-fire8 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 10:11:54 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-fire8:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

root@ltc-fire8:~# cat /proc/cpuinfo | tail
processor : 191
cpu : POWER8 (raw), altivec supported
clock : 2094.000000MHz
revision : 2.0 (pvr 004d 0200)

timebase : 512000000
platform : PowerNV
model : 8335-GTA
machine : PowerNV 8335-GTA
firmware : OPAL v3

root@ltc-fire8:~# wget https://launchpad.net/ubuntu/+source/ipmitool/1.8.13-1ubuntu0.6/+build/8288800/+files/ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb
--2015-11-16 02:16:02-- https://launchpad.net/ubuntu/+source/ipmitool/1.8.13-1ubuntu0.6/+build/8288800/+files/ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb
Resolving launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223
Connecting to launchpad.net (launchpad.net)|91.189.89.222|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://launchpadlibrarian.net/225826018/ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb [following]
--2015-11-16 02:16:03-- https://launchpadlibrarian.net/225826018/ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 311704 (304K) [application/x-debian-package]
Saving to: âipmitool_1.8.13-1ubuntu0.6_ppc64el.debâ

100%[===================================================================================================================>] 311,704 316KB/s in 1.0s

2015-11-16 02:16:05 (316 KB/s) - âipmitool_1.8.13-1ubuntu0.6_ppc64el.debâ saved [311704/311704]

root@ltc-fire8:~# dpkg -i ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb
(Reading database ... 123258 files and directories currently installed.)
Preparing to unpack ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb ...
Unpacking ipmitool (1.8.13-1ubuntu0.6) over (1.8.13-1ubuntu0.5) ...
Setting up ipmitool (1.8.13-1ubuntu0.6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot

root@ltc-fire8:~# which ipmitool
/usr/bin/ipmitool
root@ltc-fire8:~# dpkg -S /usr/bin/ipmitool
ipmitool: /usr/bin/ipmitool
root@ltc-fire8:~# dpkg --list | grep ipmitool
ii ipmitool 1.8.13-1ubuntu0.6 ppc64el utility for IPMI control with kernel driver or LAN interface

root@ltc-fire8:~# ipmitool -I usb lan print
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
                        : User : MD5
                        : Operator : MD5
                        : Admin : MD5
                        : OEM : MD5
IP Address Source : Static Address
IP Address : 9.40.193.53
Subnet Mask : 255.255.255.0
MAC Address : 70:e2:84:14:01:5b
SNMP Community String : AMI
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 0.0 seconds
Default Gateway IP : 9.40.193.1
Default Gateway MAC : 00:00:5e:00:01:a3
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : caaaaaaaaaaaXXX
                        : X=Cipher Suite Unused
                        : c=CALLBACK
                        : u=USER
                        : o=OPERATOR
                        : a=ADMIN
                        : O=OEM

root@ltc-fire8:~# wget https://w3.austin.ibm.com/afs/austin/projects/gfw/images/openpower8/810.1543.20151105a/ship/signed/8335_810.1543.20151105a_update.hpm --no-check-certificate
--2015-11-16 02:23:42-- https://w3.austin.ibm.com/afs/austin/projects/gfw/images/openpower8/810.1543.20151105a/ship/signed/8335_810.1543.20151105a_update.hpm
Resolving w3.austin.ibm.com (w3.austin.ibm.com)... 9.3.129.217
Connecting to w3.austin.ibm.com (w3.austin.ibm.com)|9.3.129.217|:443... connected.
WARNING: cannot verify w3.austin.ibm.com's certificate, issued by â/C=US/O=International Business Machines Corporation/CN=IBM INTERNAL INTERMEDIATE CAâ:
  Unable to locally verify the issuer's authority.
    WARNING: certificate common name âw3sfo.austin.ibm.comâ doesn't match requested host name âw3.austin.ibm.comâ.
HTTP request sent, awaiting response... 200 OK
Length: 67109473 (64M)
Saving to: â8335_810.1543.20151105a_update.hpmâ

100%[===================================================================================================================>] 67,109,473 19.8MB/s in 3.3s

2015-11-16 02:23:46 (19.4 MB/s) - â8335_810.1543.20151105a_update.hpmâ saved [67109473/67109473]

root@ltc-fire8:~# ls -l 8335_810.1543.20151105a_update.hpm
-rw-r--r-- 1 root root 67109473 Nov 5 20:22 8335_810.1543.20151105a_update.hpm

root@ltc-fire8:~# ipmitool -I usb raw 0x32 0xba 0x18 0x00

root@ltc-fire8:~# echo $?
0
root@ltc-fire8:~# ipmitool -v -I usb hpm upgrade /root/8335_810.1543.20151105a_update.hpm -z 30000 force
Setting large buffer to 30000

PICMG HPM.1 Upgrade Agent 1.0.9:

TARGET UPGRADE CAPABILITIES
-------------------------------
HPM.1 version............0
Component 0 presence....[y]
Component 1 presence....[y]
Component 2 presence....[y]
Component 3 presence....[n]
Component 4 presence....[n]
Component 5 presence....[n]
Component 6 presence....[n]
Component 7 presence....[n]
Upgrade undesirable.....[n]
Aut rollback override...[n]
IPMC degraded...........[y]
Defered activation......[y]
Service affected........[y]
Manual rollback.........[n]
Automatic rollback......[n]
Self test...............[y]
Upgrade timeout.........[1275 sec]
Self test timeout.......[5 sec]
Rollback timeout........[1275 sec]
Inaccessibility timeout.[25 sec]

GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

Description string: BOOT

Current Version:
 Major: 2
 Minor: 12
 Aux : 154 075 001 000

Deferred FW Version:
 Major: 0
 Minor: 0
 Aux : 000 000 000 000

GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

Description string: APP

Current Version:
 Major: 2
 Minor: 12
 Aux : 154 075 001 000

Deferred FW Version:
 Major: 0
 Minor: 0
 Aux : 000 000 000 000

GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

Description string: BIOS

Current Version:
 Major: 0
 Minor: 0
 Aux : 000 000 000 000

Deferred FW Version:
 Major: 0
 Minor: 0
 Aux : 000 000 000 000

Validating firmware image integrity...OK
Performing preparation stage...TARGET UPGRADE CAPABILITIES
-------------------------------
HPM.1 version............0
Component 0 presence....[y]
Component 1 presence....[y]
Component 2 presence....[y]
Component 3 presence....[n]
Component 4 presence....[n]
Component 5 presence....[n]
Component 6 presence....[n]
Component 7 presence....[n]
Upgrade undesirable.....[n]
Aut rollback override...[n]
IPMC degraded...........[y]
Defered activation......[y]
Service affected........[y]
Manual rollback.........[n]
Automatic rollback......[n]
Self test...............[y]
Upgrade timeout.........[1275 sec]
Self test timeout.......[5 sec]
Rollback timeout........[1275 sec]
Inaccessibility timeout.[25 sec]

Services may be affected during upgrade. Do you wish to continue? (y/n): y
GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

GENERAL PROPERTIES
-------------------------------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported........[n]

OK

Performing upgrade stage:
Updating component 2
Updating component 0
Updating component 1
Component update mask : 0x07

-------------------------------------------------------------------------------
|ID | Name | Versions | % |
| | | Active | Backup | File | |
|----|-------------|-----------------|-----------------|-----------------|----|
Do not skip 2
|* 2|BIOS | 0.00 00000000 | ---.-- -------- | 1.01 0D010701 | 0%|Use File Upgrade Capabilities: 1275 seconds
Error waiting for command 31, compcode = 81
Skip|
-------------------------------------------------------------------------------
(*) Component requires Payload Cold Reset
Firmware upgrade procedure failed

The firmware update is failing on Firestone Hardware as can be seen.