I have installed the ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb package on
Ubuntu 14.04.3 OS and tried to update the OPAL 810 latest Firmware on a
Habanero LC Hardware.

root@ltchabanero002:~# 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 03:10:11--  
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 03:10:12--  
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      601KB/s   in 0.5s

2015-11-16 03:10:13 (601 KB/s) -
âipmitool_1.8.13-1ubuntu0.6_ppc64el.debâ saved [311704/311704]


root@ltchabanero002:~# uname -a
Linux ltchabanero002 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 
18:17:15 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ltchabanero002:~# 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@ltchabanero002:~# cat /proc/cpuinfo | tail
processor       : 79
cpu             : POWER8 (raw), altivec supported
clock           : 3491.000000MHz
revision        : 2.0 (pvr 004d 0200)

timebase        : 512000000
platform        : PowerNV
model           : TN71-BP012
machine         : PowerNV TN71-BP012
firmware        : OPAL v3

root@ltchabanero002:~# dpkg -i ipmitool_1.8.13-1ubuntu0.6_ppc64el.deb
(Reading database ... 139136 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@ltchabanero002:~# which ipmitool
/usr/bin/ipmitool
root@ltchabanero002:~# dpkg -S /usr/bin/ipmitool
ipmitool: /usr/bin/ipmitool
root@ltchabanero002:~# dpkg --list | grep ipmitool
ii  ipmitool                                       1.8.13-1ubuntu0.6            
              ppc64el      utility for IPMI control with kernel driver or LAN 
interface

root@ltchabanero002:~# wget 
https://w3.austin.ibm.com/afs/austin/projects/gfw/images/openpower8/810.1543.20151105a/ship/signed/8348_810.1543.20151105a_update.hpm
 --no-check-certificate
--2015-11-16 05:07:39--  
https://w3.austin.ibm.com/afs/austin/projects/gfw/images/openpower8/810.1543.20151105a/ship/signed/8348_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: â8348_810.1543.20151105a_update.hpmâ

100%[===================================================================================================================>]
67,109,473  4.45MB/s   in 15s

2015-11-16 05:07:55 (4.21 MB/s) - â8348_810.1543.20151105a_update.hpmâ
saved [67109473/67109473]


root@ltchabanero002:~# ls -l 8348_810.1543.20151105a_update.hpm
-rw-r--r-- 1 root root 67109473 Nov  5 21:12 8348_810.1543.20151105a_update.hpm


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

root@ltchabanero002:~# echo $?
0
root@ltchabanero002:~# ipmitool -v -I usb hpm upgrade 
/root/8348_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: 15
 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: 15
 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                              
100%|
|    |Upload Time: 00:24             | Image Size: 33554584 bytes              |
Use File Upgrade Capabilities: 1275 seconds
Do not skip 0
|*  0|BOOT         |   2.15 9A4B0100 | ---.-- -------- |   2.16 4D4C0100 |  
0%|Use File Upgrade Capabilities: 1275 seconds                              
100%|
|    |Upload Time: 00:00             | Image Size:  262296 bytes              |
Use File Upgrade Capabilities: 1275 seconds
Do not skip 1
|*  1|APP          |   2.15 9A4B0100 | ---.-- -------- |   2.16 4D4C0100 |  
0%|Use File Upgrade Capabilities: 1275 seconds                              
100%|
|    |Upload Time: 00:11             | Image Size: 33292440 bytes              |
Use File Upgrade Capabilities: 1275 seconds
-------------------------------------------------------------------------------
(*) Component requires Payload Cold Reset

Firmware upgrade procedure successful

root@ltchabanero002:~# ipmitool -I usb mc reset cold
Sent cold reset command to MC


The In-band firmware update using the ipmitool on Habanero Hardware worked fine 
with the latest package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509896

Title:
  IPMI USB SCSI endpoint discovery can fail on OpenPower machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1509896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to