[LTCTest][Opal][OP810] ipmitool 1.8.13-1ubuntu0.3 version is still not working for in-band HPM upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipmitool (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
New hardware enablement: enables IPMI usage over USB transport, for those systems providing such an interface.
[Test case]
1) run 'ipmitool -I usb sensor'
Without a patched ipmitool, this will not work. With a version of ipmitool with USB interface support, sensor data available for the system will be listed.
[Regression potential]
In the event that the user selects the USB interface (-I usb) on systems which do not support it, ipmitool requests will fail. The new interface code is a new completely separated code path that is unlikely to interfere with any existing code. The additional memcpy change could cause extra data to be read or ignored coming from the BMC, by the ipmitool utility.
---
== Comment: #0 - PAVAMAN SUBRAMANIYAM <email address hidden> - 2015-08-20 05:10:55 ==
---Problem Description---
ipmitool 1.8.13-1ubuntu0.3 version is still not working for in-band HPM upgrade
Contact Information = <email address hidden>
---uname output---
Linux ltc-fire6 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:10:52 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a P8 Open Power Hardware with Ubuntu 14.04.3 netboot images.
Then install the proposed ipmitool .deb package which is downloaded from the link: https:/
Then try to use this ipmitool to upgrade the latest HPM files using usb options as done below.
root@ltc-fire6:~# uname -a
Linux ltc-fire6 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:10:52 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-fire6:~# 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://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
root@ltc-fire6:~# which ipmitool
/usr/bin/ipmitool
root@ltc-fire6:~# dpkg -S /usr/bin/ipmitool
ipmitool: /usr/bin/ipmitool
root@ltc-fire6:~# dpkg --list | grep ipmitool
ii ipmitool 1.8.13-1ubuntu0.3 ppc64el utility for IPMI control with kernel driver or LAN interface
root@ltc-fire6:~# ls
ipmitool_
root@ltc-fire6:~# wget https:/
--2015-08-19 00:21:52-- https:/
Resolving w3.austin.ibm.com (w3.austin.
Connecting to w3.austin.ibm.com (w3.austin.
WARNING: cannot verify w3.austin.ibm.com's certificate, issued by ?/C=US/
Unable to locally verify the issuer's authority.
WARNING: certificate common name ?w3sfo.
HTTP request sent, awaiting response... 200 OK
Length: 100663497 (96M)
Saving to: ?firestone_
100%[==
2015-08-19 00:21:57 (20.1 MB/s) - ?firestone_
root@ltc-fire6:~# ipmitool -I usb lan print
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
IP Address Source : Static Address
IP Address : 9.3.190.141
Subnet Mask : 255.255.255.0
MAC Address : 70:e2:84:14:01:77
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.3.190.1
Default Gateway MAC : 00:1f:6d:a3:04:00
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,
Cipher Suite Priv Max : caaaaaaaaaaaXXX
root@ltc-fire6:~# ipmitool -I usb mc reset cold
Error while writing to CD-Drive
Error in WriteSplitData of SCSI_AMIDEF_
Error while writing to CD-Drive
Error in WriteSplitData of SCSI_AMIDEF_
Error while writing to CD-Drive
Error in WriteSplitData of SCSI_AMIDEF_
Error while sending command using
MC reset command failed: Unspecified error
root@ltc-fire6:~# sleep 120
on the BMC login
login as: sysadmin
sysadmin@
BusyBox v1.13.2 (2015-07-06 12:28:10 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# power -s
System Power Off.
# power -n
Powering OnSystem already powered on. Exiting...
# power -s
System Power On.
Also power on the HOST OS using Power Control and Status tab in BMC dashboard
root@ltc-fire6:~# ipmitool -I usb raw 0x32 0xBA 0x00 0x00
root@ltc-fire6:~# ipmitool -v -I usb -z 32767 hpm upgrade firestone_
Setting large buffer to 32767
Invalid length for the selected interface (Invalid command) 193
PICMG HPM.1 Upgrade Agent 1.0.8:
Component Id 0 provided
TARGET UPGRADE CAPABILITIES
-------
HPM.1 version.
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.
Defered activation......[y]
Service affected........[y]
Manual rollback.
Automatic rollback......[n]
Self test...
Upgrade timeout.
Self test timeout.......[5 sec]
Rollback timeout.
Inaccessibility timeout.[25 sec]
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
Description string: BOOT
Current Version:
Major: 2
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.
Description string: APP
Current Version:
Major: 2
Minor: 0
Aux : 113 057 001 000
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
Description string: BIOS
Current Version:
Major: 0
Minor: 0
Aux : 000 000 000 000
Validating firmware image integrity...OK
Performing preparation stage...TARGET UPGRADE CAPABILITIES
-------
HPM.1 version.
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.
Defered activation......[y]
Service affected........[y]
Manual rollback.
Automatic rollback......[n]
Self test...
Upgrade timeout.
Self test timeout.......[5 sec]
Rollback timeout.
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.
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
OK
Performing upgrade stage:
Updating component 0
Updating component 1
Updating component 2
Component update mask : 0x07
-------
|ID | Name | Versions | % |
| | | Active | Backup | File | |
|----|-
Do not skip 0
|* 0|BOOT | 2.00 00000000 | ---.-- -------- | 1.00 22000000 | 0%|Use File Upgrade Capabilities: 1275 seconds 100%|
| |Upload Time: 00:21 | Image Size: 262160 bytes |
Use File Upgrade Capabilities: 1275 seconds
Do not skip 1
|* 1|APP | 2.00 71390100 | ---.-- -------- | 2.00 7C350100 | 0%|Use File Upgrade Capabilities: 1275 seconds 100%|
| |Upload Time: 21:23 | Image Size: 33292304 bytes |
Error finishing firmware upload
compcode=0x81: Unknown (0x81)
-------
(*) Component requires Payload Cold Reset
Firmware upgrade procedure failed
Invalid length for the selected interface (Invalid command) 193
root@ltc-fire6:~# ipmitool -I usb hpm activate component 0
PICMG HPM.1 Upgrade Agent 1.0.8:
Error activating firmware
compcode=0xd5: Command not supported in present state
root@ltc-fire6:~# ipmitool -I usb mc reset cold
Sent cold reset command to MC
root@ltc-fire6:~# ipmitool -I usb hpm activate component 0
PICMG HPM.1 Upgrade Agent 1.0.8:
Error activating firmware
compcode=0xd5: Command not supported in present state
root@ltc-fire6:~# ipmitool -v -I usb -z 32767 hpm upgrade firestone_
Setting large buffer to 32767
Invalid length for the selected interface (Invalid command) 193
PICMG HPM.1 Upgrade Agent 1.0.8:
Component Id 1 provided
TARGET UPGRADE CAPABILITIES
-------
HPM.1 version.
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.
Defered activation......[y]
Service affected........[y]
Manual rollback.
Automatic rollback......[n]
Self test...
Upgrade timeout.
Self test timeout.......[5 sec]
Rollback timeout.
Inaccessibility timeout.[25 sec]
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
Description string: BOOT
Current Version:
Major: 2
Minor: 0
Aux : 124 053 001 000
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
Description string: APP
Current Version:
Major: 2
Minor: 0
Aux : 113 057 001 000
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
Description string: BIOS
Current Version:
Major: 0
Minor: 0
Aux : 000 000 000 000
Validating firmware image integrity...OK
Performing preparation stage...TARGET UPGRADE CAPABILITIES
-------
HPM.1 version.
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.
Defered activation......[y]
Service affected........[y]
Manual rollback.
Automatic rollback......[n]
Self test...
Upgrade timeout.
Self test timeout.......[5 sec]
Rollback timeout.
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.
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
GENERAL PROPERTIES
-------
Payload cold reset req....[y]
Def. activation supported.[y]
Comparison supported......[y]
Preparation supported.....[y]
Rollback supported.
OK
Performing upgrade stage:
Updating component 0
Updating component 1
Updating component 2
Component update mask : 0x07
-------
|ID | Name | Versions | % |
| | | Active | Backup | File | |
|----|-
Do not skip 0
|* 0|BOOT | 2.00 7C350100 | ---.-- -------- | 1.00 22000000 | 0%|Use File Upgrade Capabilities: 1275 seconds 100%|
| |Upload Time: 00:20 | Image Size: 262160 bytes |
Use File Upgrade Capabilities: 1275 seconds
Do not skip 1
|* 1|APP | 2.00 71390100 | ---.-- -------- | 2.00 7C350100 | 0%|Use File Upgrade Capabilities: 1275 seconds 100%|
| |Upload Time: 21:26 | Image Size: 33292304 bytes |
Error finishing firmware upload
compcode=0x81: Unknown (0x81)
-------
(*) Component requires Payload Cold Reset
Firmware upgrade procedure failed
Invalid length for the selected interface (Invalid command) 193
Userspace tool common name: /usr/bin/ipmitool
The userspace tool has the following bit modes: 64-bit
Userspace rpm: ipmitool-
Userspace tool obtained from project website: na
Related branches
tags: | added: architecture-ppc64le bugnameltc-129223 severity-critical targetmilestone-inin14043 |
affects: | ubuntu → ipmitool (Ubuntu) |
Changed in ipmitool (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
description: | updated |
Changed in ipmitool (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in ipmitool (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in ipmitool (Ubuntu): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
tags: | removed: bugnameltc-129223 patch severity-critical verification-needed |
Was this not verified working by Breno when he marked verification- done-trusty in bug 1481780?