[LTCTest][opal][FW840] Firmware updation using update_flash -f option does not work when kexec.service is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerpc-ibm-utils (Ubuntu) |
Fix Released
|
High
|
Adam Conrad |
Bug Description
---Problem Description---
Firmware updation using update_flash -f option does not work when kexec.service is running
---uname output---
Linux p824l 4.1.0-1-generic #1-Ubuntu SMP Mon Jul 20 19:37:16 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Steps to Reproduce---
Install a P8 PowerNV 8247-42L Hardware with Ubuntu 15.10.
Then I am trying to update the firmware with update_flash tool.
root@p824l:~# /etc/init.
? kdump-tools.service - Kernel crash dump capture service
Loaded: loaded (/lib/systemd/
Active: active (exited) since Thu 2015-07-23 01:42:42 CDT; 1min 33s ago
Process: 4128 ExecStart=
Main PID: 4128 (code=exited, status=0/SUCCESS)
Jul 23 01:42:41 p824l kdump-tools[4128]: Starting kdump-tools: Modified cmdline:
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:41 p824l kdump-tools[4128]: segment[
Jul 23 01:42:42 p824l kdump-tools[4128]: * loaded kdump kernel
Jul 23 01:42:42 p824l kdump-tools[4153]: /sbin/kexec -p --args-linux --command-
Jul 23 01:42:42 p824l systemd[1]: Started Kernel crash dump capture service.
Hint: Some lines were ellipsized, use -l to show in full.
root@p824l:~# /etc/init.d/kexec status
? kexec.service - LSB: Execute the kexec -e command to reboot system
Loaded: loaded (/etc/init.d/kexec)
Active: active (exited) since Thu 2015-07-23 01:40:14 CDT; 4min 8s ago
Docs: man:systemd-
Process: 3660 ExecStart=
Jul 23 01:40:14 p824l systemd[1]: Starting LSB: Execute the kexec -e command to reboot system...
Jul 23 01:40:14 p824l systemd[1]: Started LSB: Execute the kexec -e command to reboot system.
root@p824l:~# uname -a
Linux p824l 4.1.0-1-generic #1-Ubuntu SMP Mon Jul 20 19:37:16 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@p824l:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="15.10 (Wily Werewolf)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Wily Werewolf (development branch)"
VERSION_ID="15.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
root@p824l:~# update_flash -f 01SV840_020_020.img
info: Current Temporary side will be committed to
Permanent side before being replaced with the new
image.
Projected Flash Update Results:
Current T Image: SV840_019
Current P Image: SV840_016
New T Image: SV840_020
New P Image: SV840_019
FLASH: Image ready...rebooting the system...
FLASH: This will take several minutes.
FLASH: Do not power off!
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
login as: ubuntu
ubuntu@
Access denied
ubuntu@
Welcome to Ubuntu Wily Werewolf (development branch) (GNU/Linux 4.1.0-1-generic ppc64le)
* Documentation: https:/
System information as of Thu Jul 23 01:46:28 CDT 2015
System load: 0.49 Processes: 979
Usage of /: 1.0% of 1004.84GB Users logged in: 0
Memory usage: 0% IP address for enP3p9s0f0: 9.70.88.203
Swap usage: 0%
Graph this data and manage this system at:
https:/
Last login: Thu Jul 23 01:40:47 2015 from pavsubra.in.ibm.com
Userspace tool common name: /usr/sbin/
The userspace tool has the following bit modes: 64-bit
Workaround:
In the mean time, you can stop kdump service and do the FW update.. That should work ..
Sample output with patch:
-------
./update_flash -v -f /home/hegdevasa
info: Current fixpack level is unknown.
Projected Flash Update Results:
Current T Image: UNKNOWN
Current P Image: SV840_031
New T Image: SV840_032
New P Image: SV840_031
info: kexec service is running. It will be stopped before flashing.
./update_flash -f /home/hegdevasa
info: Current fixpack level is unknown.
Projected Flash Update Results:
Current T Image: UNKNOWN
Current P Image: SV840_031
New T Image: SV840_032
New P Image: SV840_031
FLASH: Image ready...rebooting the system...
FLASH: This will take several minutes.
FLASH: Do not power off!
info: kexec service stopped.
affects: | ubuntu → powerpc-ibm-utils (Ubuntu) |
Changed in powerpc-ibm-utils (Ubuntu): | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Changed in powerpc-ibm-utils (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Adam Conrad (adconrad) |
status: | New → Triaged |
milestone: | none → ubuntu-15.10 |
importance: | Undecided → High |
Default Comment by Bridge