[Bug 1486931] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Tue Oct 6 07:22:08 UTC 2015
------- Comment From ppaidipe at in.ibm.com 2015-10-06 07:21 EDT-------
Hi
Tried in-band firmware flash with the proposed ipmitool https://launchpad.net/ubuntu/+source/ipmitool/1.8.13-1ubuntu0.4
It's working fine
Below are the results of in-band update.
1.Firmware level before flash
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin fru print 47
Product Name : OpenPOWER Firmware
Product Version : IBM-firestone-ibm-OP8_PFD_v1.6_0.29
Product Extra : hostboot-6847d73-b8d7c0a
Product Extra : occ-0726e69
Product Extra : skiboot-5.1.3-6221bd2
Product Extra : hostboot-binaries-43d5a59
Product Extra : firestone-xml-db1a93e-4ae8032
Product Extra : capp-ucode-105cb8f
[pridhiviraj at localhost ~]$
2.Verified the version of kernel and ipmitool
ubuntu at ltc-fire8:~$
ubuntu at ltc-fire8:~$ uname -a
Linux ltc-fire8 3.19.0-30-generic #33~14.04.1-Ubuntu SMP Tue Sep 22 09:27:51 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
ubuntu at 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/"
ubuntu at ltc-fire8:~$
ubuntu at ltc-fire8:~$
ubuntu at ltc-fire8:~$ which ipmitool
/usr/bin/ipmitool
ubuntu at ltc-fire8:~$ dpkg -S /usr/bin/ipmitool
ipmitool: /usr/bin/ipmitool
ubuntu at ltc-fire8:~$ dpkg --list | grep ipmitool
ii ipmitool 1.8.13-1ubuntu0.4 ppc64el utility for IPMI control with kernel driver or LAN interface
ubuntu at ltc-fire8:~$ ipmitool -V
ipmitool version 1.8.13
ubuntu at ltc-fire8:~$
ubuntu at ltc-fire8:~$ ipmitool -I usb power status
Chassis Power is on
3.Firmware in-band upgrade done according to the steps mentioned in driver release notes http://pfd.austin.ibm.com/releasenotes/firenze/op810/OP810_1539A/OP810_1539D_RelNote_Main.html. Here upgradation done for all components at a time as mentioned in release notes above.
ubuntu at ltc-fire8:~$ ls
8335_810.1539.20150930n_update.hpm
ubuntu at ltc-fire8:~$
ubuntu at ltc-fire8:~$ ipmitool -I usb mc reset cold
Error while reading CD-Drive
ReadCD returned ERROR
WaitForCommandComplete failed
Error while writing to CD-Drive
Error in WriteSplitData of SCSI_AMIDEF_DATA_SECTOR
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
Error while sending command using
MC reset command failed: Unspecified error
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin power off
Chassis Power Control: Down/Off
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin power status
Chassis Power is off
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin power on
Chassis Power Control: Up/On
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin power status
Chassis Power is on
[pridhiviraj at localhost ~]$
ubuntu at ltc-fire8:~$ ipmitool -I usb raw 0x32 0xBA 0x00 0x00
ubuntu at ltc-fire8:~$ ipmitool -v -I usb hpm upgrade 8335_810.1539.20150930n_update.hpm -z 32767 force
Setting large buffer to 32767
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: 8
Aux : 210 071 001 000
Error getting component properties
compcode=0x83: Unknown (0x83)
Get CompRollbackVersion Failed for component Id 0
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: 8
Aux : 210 071 001 000
Error getting component properties
compcode=0x83: Unknown (0x83)
Get CompRollbackVersion Failed for component Id 1
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
Error getting component properties
compcode=0x83: Unknown (0x83)
Get CompRollbackVersion Failed for component Id 2
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.00 00002002 | 0%|Use File Upgrade Capabilities: 1275 seconds
[120062923649,5] IPMI: PNOR access requested
100%|
| |Upload Time: 00:43 | Image Size: 33554584 bytes |
Use File Upgrade Capabilities: 1275 seconds
Do not skip 0
|* 0|BOOT | 2.08 D2470100 | ---.-- -------- | 2.08 D3470100 | 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.08 D2470100 | ---.-- -------- | 2.08 D3470100 | 0%|Use File Upgrade Capabilities: 1275 seconds
100%|
| |Upload Time: 00:12 | Image Size: 33292440 bytes |
Use File Upgrade Capabilities: 1275 seconds
-------------------------------------------------------------------------------
(*) Component requires Payload Cold Reset
Firmware upgrade procedure successful
ubuntu at ltc-fire8:~$ ipmitool -I usb hpm activate
PICMG HPM.1 Upgrade Agent 1.0.9:
Waiting firmware activation...sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
Error while sending command using
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
sendscsicmd_SGIO: SG_IO ioctl error
Error while writing to CD-Drive
Error in Write CD of SCSI_AMIDEF_CMD_SECTOR
Error while sending command using
sendscsicmd_SGIO: Error: No response to keepalive - Terminating session
Error: No response de-activating SOL payload
3. reboot the system from BMC dashboard
4. Verified firmware level after flashing
[pridhiviraj at localhost ~]$ ipmitool -I lanplus -H 9.40.193.53 -U ADMIN -P admin fru print 47
Product Name : OpenPOWER Firmware
Product Version : IBM-firestone-ibm-OP8_v1.6_0.37
Product Extra : hostboot-bc98d0b-3385c16
Product Extra : occ-0362706
Product Extra : skiboot-5.1.5-9f8b09a
Product Extra : hostboot-binaries-43d5a59
Product Extra : firestone-xml-4db5666
Product Extra : capp-ucode-105cb8f
[pridhiviraj at localhost ~]$
Firmware up-gradation working fine. New version of firmware is
reflecting on machine.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipmitool in Ubuntu.
https://bugs.launchpad.net/bugs/1486931
Title:
[LTCTest][Opal][OP810] ipmitool 1.8.13-1ubuntu0.3 version is still not
working for in-band HPM upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1486931/+subscriptions
More information about the Ubuntu-server-bugs
mailing list