Public bug reported:

== Comment: #0 - Hari Krishna Bathini <hbath...@in.ibm.com> - 2019-05-07 
13:37:51 ==
---Problem Description---
On 4.18.0-18-generic kernel, kexec load command throws below traces:

---

Regular kexec load:

root@ubuntu:~# kexec -l --append="`cat /proc/cmdline`" 
--initrd=/boot/initrd.img-`uname -r` /boot/vmlinux-`uname -r`
/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
Modified cmdline:BOOT_IMAGE=/boot/vmlinux-4.18.0-18-generic 
root=UUID=1aa9458c-3974-4cb4-9ab3-9ee03c0f4e5e ro 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M@128M
 
root@ubuntu:~# 
---

KDump kernel load:

root@ubuntu:~# kdump-config unload
 * unloaded kdump kernel
root@ubuntu:~# kdump-config load
 * Creating symlink /var/lib/kdump/vmlinuz
 * Creating symlink /var/lib/kdump/initrd.img
/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
Modified cmdline:BOOT_IMAGE=/boot/vmlinux-4.18.0-18-generic 
root=UUID=1aa9458c-3974-4cb4-9ab3-9ee03c0f4e5e ro maxcpus=1 
systemd.unit=kdump-tools-dump.service irqpoll noirqdistrib nousb 
elfcorehdr=158912K 
 * loaded kdump kernel
root@ubuntu:~# 
---
 
Contact Information = hbath...@in.ibm.com 
 
---uname output---
Linux ubuntu 4.18.0-18-generic #19~18.04.1-Ubuntu SMP Fri Apr 5 10:21:11 UTC 
2019 ppc64le ppc64le ppc64le GNU/Linux
 
---Additional Hardware Info---
na 

 
Machine Type = na 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Load panic kernel or regular kernel with kexec command:

kdump-config unload; kdump-config load

OR

kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initrd.img-`uname
-r` /boot/vmlinux-`uname -r`

Actual Result:
DT files are not found while loading the kernel

Expected result:
kexec loads without any warning/error messages
 
Userspace tool common name: kexec-tools 
 
The userspace tool has the following bit modes: 64-bit 

Userspace rpm: kexec-tools

Userspace tool obtained from project website:  na 
 
*Additional Instructions for hbath...@in.ibm.com:
-Attach ltrace and strace of userspace application.

== Comment: #1 - Hari Krishna Bathini <hbath...@in.ibm.com> - 2019-05-07
13:44:25 ==

Since v4.16 kernel, ibm,dynamic-memory-v2 Device Tree Property is supported
in the kernel. This leaves kexec-tools on ppc64le broken without the below
fix patches:

https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=c740fdb2048265551f77d3f0fe53b2fddc0c8489
("kexec: add a helper function to add ranges")

https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=b10924a7da3ca48c04982cd23daf04882afb1a87
("kexec/ppc64: add support to parse ibm, dynamic-memory-v2 property")

** Affects: kexec-tools (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-177452 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-177452 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => kexec-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1828187

Title:
  ibm,dynamic-memory property not found while loading kexec kernel
  (4.18.0-18-generic)

Status in kexec-tools package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Hari Krishna Bathini <hbath...@in.ibm.com> - 2019-05-07 
13:37:51 ==
  ---Problem Description---
  On 4.18.0-18-generic kernel, kexec load command throws below traces:

  ---

  Regular kexec load:

  root@ubuntu:~# kexec -l --append="`cat /proc/cmdline`" 
--initrd=/boot/initrd.img-`uname -r` /boot/vmlinux-`uname -r`
  /proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
  Modified cmdline:BOOT_IMAGE=/boot/vmlinux-4.18.0-18-generic 
root=UUID=1aa9458c-3974-4cb4-9ab3-9ee03c0f4e5e ro 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M@128M
 
  root@ubuntu:~# 
  ---

  KDump kernel load:

  root@ubuntu:~# kdump-config unload
   * unloaded kdump kernel
  root@ubuntu:~# kdump-config load
   * Creating symlink /var/lib/kdump/vmlinuz
   * Creating symlink /var/lib/kdump/initrd.img
  /proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
  /proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory: No 
such file or directory
  Modified cmdline:BOOT_IMAGE=/boot/vmlinux-4.18.0-18-generic 
root=UUID=1aa9458c-3974-4cb4-9ab3-9ee03c0f4e5e ro maxcpus=1 
systemd.unit=kdump-tools-dump.service irqpoll noirqdistrib nousb 
elfcorehdr=158912K 
   * loaded kdump kernel
  root@ubuntu:~# 
  ---
   
  Contact Information = hbath...@in.ibm.com 
   
  ---uname output---
  Linux ubuntu 4.18.0-18-generic #19~18.04.1-Ubuntu SMP Fri Apr 5 10:21:11 UTC 
2019 ppc64le ppc64le ppc64le GNU/Linux
   
  ---Additional Hardware Info---
  na 

   
  Machine Type = na 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   Load panic kernel or regular kernel with kexec command:

  kdump-config unload; kdump-config load

  OR

  kexec -l --append="`cat /proc/cmdline`"
  --initrd=/boot/initrd.img-`uname -r` /boot/vmlinux-`uname -r`

  Actual Result:
  DT files are not found while loading the kernel

  Expected result:
  kexec loads without any warning/error messages
   
  Userspace tool common name: kexec-tools 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace rpm: kexec-tools

  Userspace tool obtained from project website:  na 
   
  *Additional Instructions for hbath...@in.ibm.com:
  -Attach ltrace and strace of userspace application.

  == Comment: #1 - Hari Krishna Bathini <hbath...@in.ibm.com> -
  2019-05-07 13:44:25 ==

  Since v4.16 kernel, ibm,dynamic-memory-v2 Device Tree Property is supported
  in the kernel. This leaves kexec-tools on ppc64le broken without the below
  fix patches:

  
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=c740fdb2048265551f77d3f0fe53b2fddc0c8489
  ("kexec: add a helper function to add ranges")

  
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=b10924a7da3ca48c04982cd23daf04882afb1a87
  ("kexec/ppc64: add support to parse ibm, dynamic-memory-v2 property")

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1828187/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to