------- Comment From naveed...@in.ibm.com 2018-02-26 06:02 EDT-------
(In reply to comment #21)
> Tested 1:1.5.9-5ubuntu0.6  on 4.13.0-36-generic 16.04.4 .
> Makedumpfile fails s/while/during/ kdump and kdump falls back to cp.
>
> # dpkg -s makedumpfile
> Package: makedumpfile
> Status: install ok installed
> Priority: optional
> Section: devel
> Installed-Size: 425
> Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
> Architecture: ppc64el
> Version: 1:1.5.9-5ubuntu0.6
> Replaces: kdump-tools (<< 1.3.4-1~)
> Depends: libc6 (>= 2.17), libdw1 (>= 0.143), libelf1 (>= 0.142), liblzo2-2,
> zlib1g (>= 1:1.2.0), perl
> Recommends: crash, kexec-tools
> Description: VMcore extraction tool
>  This program is used to extract a subset of the memory available either
>  via /dev/mem or /proc/vmcore (for crashdumps). It is used to get memory
>  images without extra unneeded information (zero pages, userspace programs,
>  etc).
> Original-Maintainer: Louis Bouchard <louis.bouch...@ubuntu.com>

===console log===
27.528264] kdump-tools[2637]: Starting kdump-tools:  * running makedumpfile -c 
-d 31 /proc/vmcore /var/crash/201802260113/dump-incomplete
Checking for memory holes          : [100.0 %] |/usr/sbin/kdump-config: line 
595:  2714 Segmentation fault      makedumpfile $MAKEDUMP_ARGS $vmcore_file 
$KDUMP_CORETEMP
[   27.648216] kdump-tools[2637]:  * kdump-tools: makedumpfile failed, falling 
back to 'cp'
[   94.724887] kdump-tools[2637]:  * kdump-tools: saved vmcore in 
/var/crash/201802260113
[   95.548243] kdump-tools[2637]:  * running makedumpfile --dump-dmesg 
/proc/vmcore /var/crash/201802260113/dmesg.201802260113
[   95.662597] kdump-tools[2637]: The kernel version is not supported.
[   95.663151] kdump-tools[2637]: The makedumpfile operation may be incomplete.
[   95.663574] kdump-tools[2637]: The dmesg log is saved to 
/var/crash/201802260113/dmesg.201802260113.
[   95.663992] kdump-tools[2637]: makedumpfile Completed.
[   95.664296] kdump-tools[2637]:  * kdump-tools: saved dmesg content in 
/var/crash/201802260113
[   95.749509] kdump-tools[2637]: Mon, 26 Feb 2018 01:14:41 -0600
[   95.812644] kdump-tools[2637]: Rebooting.
====
# ls -lhrt /var/crash/201802260113/
total 4.9G
-r-------- 1 root root 253G Feb 26 01:14 vmcore.201802260113
-rw------- 1 root root 103K Feb 26 01:14 dmesg.201802260113
====
vmcore size is of RAM size, makedumpfile was failure on 16.04.4

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

Title:
  update makedumpfile tool version to v1.6.3

Status in The Ubuntu-power-systems project:
  In Progress
Status in makedumpfile package in Ubuntu:
  Fix Released

Bug description:
  [Impact]
  New upstream kernel versions, as those in linux-hwe package, require a newer 
makedumpfile to be supported. Otherwise, all copies fallback to copying the 
entire memory.

  [Test case]
  kdump-tools has been installed, system rebooted, then crash trigerred and 
verified that a small dump file was present on /var/crash/. Tested on amd64 and 
ppc64le.

  [Regression potential]
  Many other bug fixes have been included in the latest version of the package. 
The changes are supposed to fix these bugs, and have been tested as well. 
However, as the total of changes is not trivial, there is impact of regression 
that has been minimized by the tests done. Regression potential of not 
supporting older kernels has been tested with the kernels shipped on xenial and 
artful as well.


  
  ====================================================================

  == Comment: #0 - Hari Krishna Bathini <hbath...@in.ibm.com> - 2018-01-30 
10:46:53 ==
  ---Problem Description---
  update makedumpfile to latest version v1.6.3 that officially supports
  up to kernel version 4.14.8. Since makedumpfile is inherently backward 
compatible,
  this would not break existing functionality..

  Contact Information = hbath...@in.ibm.com

  ---uname output---
  na

  Machine Type = na

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   makedumpfile reports ""The kernel version is not supported" while generating 
vmcore
  Also, there is a possibility of bogus address translations in makedumpfile 
tool with
  missing upstream patches. Can't be so sure without an exhaustive testing. 
Instead,
  it would be a good idea to go with the version which officially supports the 
kernel
  version in question.

  Userspace tool common name: makedumpfile

  The userspace tool has the following bit modes: 64-bit

  Userspace rpm: makedumpfile

  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> - 2018-01-30 
10:49:13 ==
  With kernel version updated to 4.13.0, please update makedumpfile tool
  version to 1.6.3 which officially supports up to kernel version 4.14.8 [1].

  Thanks
  Hari

  [1]
  http://lists.infradead.org/pipermail/kexec/2018-January/019853.html

  This needs to be tagged for both 16.04.4 & 18.04 releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1746299/+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