[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-26 Thread bugproxy
--- Comment From naveed...@in.ibm.com 2018-02-26 08:18 EDT---
(In reply to comment #24)
> Hi.
>
> As of now, the package is only ready for bionic, so this would need to be
> tested on bionic. Also, there is a problem on some of the KPTI kernels that
> includes 4.13 and 4.4 (but not the current 4.15 on bionic). This problem
> requires a package that is now on my ppa, no you will need to install
> makedumpfile from that.
>
> As this patch would be required for any xenial backport, I am requesting
> that you test it on bionic right now, with 4.13 kernel. Otherwise, I can't
> push something that is not tested on real ppc64el hardware to xenial. Can
> you do that?
>
> Thank you very much.
> Cascardo.

Thank you Cascardo for the reply,

We tested in couple of systems with 512GB RAM and we are able to use
your makedumpfile to dump the vmcore on  4.13.0-32-generic kernel on
Bionic.

==console log===

# dpkg -s makedumpfile
Package: makedumpfile
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 493
Maintainer: Louis Bouchard 
Architecture: ppc64el
Version: 1:1.6.3-1ubuntu1
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:any
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).

Starting Kernel crash dump capture service...
[   26.303566] kdump-tools[1369]: Starting kdump-tools:  * running makedumpfile 
-c -d 31 /proc/vmcore /var/crash/201802260805/dump-incomplete
Copying data  : [100.0 %] |   eta: 
0s
[   57.183844] kdump-tools[1369]: The dumpfile is saved to 
/var/crash/201802260805/dump-incomplete.
[   57.183934] kdump-tools[1369]: makedumpfile Completed.
[   57.194154] kdump-tools[1369]:  * kdump-tools: saved vmcore in 
/var/crash/201802260805
[   60.095854] kdump-tools[1369]:  * running makedumpfile --dump-dmesg 
/proc/vmcore /var/crash/201802260805/dmesg.201802260805
[   60.135142] kdump-tools[1369]: The dmesg log is saved to 
/var/crash/201802260805/dmesg.201802260805.
[   60.135301] kdump-tools[1369]: makedumpfile Completed.
[   60.135439] kdump-tools[1369]:  * kdump-tools: saved dmesg content in 
/var/crash/201802260805
[   60.446625] kdump-tools[1369]: Mon, 26 Feb 2018 08:06:14 -0500
[   60.736484] kdump-tools[1369]: Rebooting.
===

Can you point this makedumpfile over web link which we can wget to
install it on 16.04.4 (reason we are asking this is, we will be doing
hardware certifications and kdump test will fail on 16.04.4)

We request for your comment on inclusion of this version makedumpfile on
16.04.4 after we test it.

-- 
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  - 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 

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-26 Thread bugproxy
--- 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 
> 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 

===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  - 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  - 2018-01-30 
10:49:13 ==
  With kernel version updated to 4.13.0, please update makedumpfile tool
  version to 1.6.3 which 

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-25 Thread bugproxy
--- Comment From naveed...@in.ibm.com 2018-02-26 02:31 EDT---
Tested 1:1.5.9-5ubuntu0.6  on 4.13.0-36-generic 16.04.4 .
Makedumpfile fails while 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 
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 

-- 
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  - 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  - 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


[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-25 Thread bugproxy
--- Comment From pavra...@in.ibm.com 2018-02-26 00:13 EDT---
(In reply to comment #19)
> Sorry, but that version number is not sufficient. It cannot distinguish
> between package versions, which might contain patches? When you give a
> makedumpfile version, can you use dpkg -s makedumpfile?
>
> Also, I need to know which kernel version you dumped with that. And if crash
> could successfully load it. It might be that makedumpfile dumps (though
> incorrectly) a newer kernel, but, then, crash won't be able to analyze it.
> Can you test that? And, please, test the makedumpfile from the ppa.
>
> Thanks.
> Cascardo.

Please find crash tool output below.

-generic dump.201802210519 02210519# crash
/usr/lib/debug/boot/vmlinux-4.15.0-10-

crash 7.2.1
Copyright (C) 2002-2017  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64le-unknown-linux-gnu"...

KERNEL: /usr/lib/debug/boot/vmlinux-4.15.0-10-generic
DUMPFILE: dump.201802210519  [PARTIAL DUMP]
CPUS: 1
DATE: Wed Feb 21 05:18:51 2018
UPTIME: 00:04:50
LOAD AVERAGE: 0.01, 0.08, 0.04
TASKS: 105
NODENAME: ubuntu
RELEASE: 4.15.0-10-generic
VERSION: #11-Ubuntu SMP Tue Feb 13 18:21:52 UTC 2018
MACHINE: ppc64le  (2250 Mhz)
MEMORY: 2 GB
PANIC: "sysrq: SysRq : Trigger a crash"
PID: 1737
COMMAND: "bash"
TASK: c0007c44cf00  [THREAD_INFO: c0007c47c000]
CPU: 0
STATE: TASK_RUNNING (SYSRQ)

crash> bt
PID: 1737   TASK: c0007c44cf00  CPU: 0   COMMAND: "bash"
#0 [c0007c47f850] crash_kexec at c01e0930
#1 [c0007c47f890] oops_end at c00258e8
#2 [c0007c47f910] bad_page_fault at c006a1e0
#3 [c0007c47f980] handle_page_fault at c000a560
Data Access [300] exception frame:
R0:  c07eb1a8R1:  c0007c47fc70R2:  c16ea600
R3:  0063R4:  c0007fd4ce18R5:  c0007fd64368
R6:  6967676572206120R7:  63726173680d0a72R8:  0007
R9:  0001R10: R11: 
R12: c07ea240R13: c7a8R14: 01f7efb34348
R15: R16: 01f7ef96e9f0R17: 01f7efa01998
R18: 01f7efa019d0R19: 01f7efa38204R20: 
R21: 0001R22: R23: 778cdfe4
R24: 778cdfe0R25: 01f7efa3afc4R26: c15e9930
R27: 0002R28: 0063R29: 0007
R30: c1572a9cR31: c15e9cd0
NIP: c07ea268MSR: 80009033OR3: c07eb1a4
CTR: c07ea240LR:  c07eb1a8XER: 2004
CCR: 2822MQ:  0001DAR: 
DSISR: 4200 Syscall Result: 
#4 [c0007c47fc70] sysrq_handle_crash at c07ea268
[Link Register] [c0007c47fc70] __handle_sysrq at c07eb1a8
#5 [c0007c47fd10] write_sysrq_trigger at c07eb9b4
#6 [c0007c47fd40] proc_reg_write at c047c548
#7 [c0007c47fd70] __vfs_write at c03cf8dc
#8 [c0007c47fd90] vfs_write at c03cfb38
#9 [c0007c47fde0] sys_write at c03cfe58
#10 [c0007c47fe30] system_call at c000b184
System Call [c01] exception frame:
R0:  0004R1:  778cddf0R2:  7841f7ca7300
R3:  0001R4:  01f7efb41008R5:  0002
R6:  0010R7:  R8:  
R9:  R10: R11: 
R12: R13: 7841f7dcb0a0
NIP: 7841f7bddca8MSR: 8000f033OR3: 0001
CTR: LR:  7841f7b50418XER: 
CCR: 48222882MQ:  0001DAR: 01f7efb73808
DSISR: 0a00 Syscall Result: 
crash>

Thanks,
Pavithra

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to makedumpfile in Ubuntu.

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-23 Thread bugproxy
--- Comment From pavra...@in.ibm.com 2018-02-23 05:57 EDT---
We have below makedumpfile in bionic-proposed and dump capture works fine.

:~# makedumpfile -v
makedumpfile: version 1.6.3 (released on 29 Jun 2018)
lzo enabled
snappy  disabled

-- 
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  - 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  - 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


[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-15 Thread bugproxy
--- Comment From hbath...@in.ibm.com 2018-02-15 06:21 EDT---
(In reply to comment #11)
> (In reply to comment #10)
> > Hi, Hari.
> >
> > It's already in bionic. However, due to some of the changes on kpti patches,
> > it might fail to properly work, and there is no upstream makedumpfile fix in
> > the works yet, so I am debugging and working on it, so we will get something
> > that will also work for those latest kernels we have released.
> >
> > Thanks.
> > Cascardo.
>
> Thannk you cascardo for the update,
> Yes though v1.6.3 is present in 18.04 makedumpfile still fails during dump..
> ===console log===
> kernel used on Bionic is 4.13.0-32-generic
> ||/ Name Version ArchitectureDescription
> +++--===-===-
> =
> ii  makedumpfile 1:1.6.3-1   ppc64el VMcore extraction
> tool
>
>  Starting Kernel crash dump capture service...
> [   22.094036] kdump-tools[1360]: Starting kdump-tools:  * running
> makedumpfile -c -d 31 /proc/vmcore /var/crash/201802150350/dump-incomplete
> Checking for memory holes : [100.0 %] |
> readpage_elf: Attempt to read non-existent page at 0x4d39b3.
> [   22.378312] kdump-tools[1360]: readmem: type_addr: 0,
> addr:c04d39b37140, size:16384
> [   22.378411] kdump-tools[1360]: __exclude_unnecessary_pages: Can't read
> the buffer of struct page.
> [   22.378538] kdump-tools[1360]: create_2nd_bitmap: Can't exclude
> unnecessary pages.
> Checking for memory holes : [100.0 %] -
> readpage_elf: Attempt to read non-existent page at 0x4d39b3.
> [   22.378708] kdump-tools[1360]: readmem: type_addr: 0,
> addr:c04d39b37140, size:16384
> [   22.378779] kdump-tools[1360]: __exclude_unnecessary_pages: Can't read
> the buffer of struct page.
> [   22.378853] kdump-tools[1360]: create_2nd_bitmap: Can't exclude
> unnecessary pages.
> [   22.378924] kdump-tools[1360]: makedumpfile Failed.
> [   22.379014] kdump-tools[1360]:  * kdump-tools: makedumpfile failed,
> falling back to 'cp'

Naveed, what was the size of the vmcore saved through 'cp'? What is the total
RAM size on the system? please share the proc/device-tree info (sys.dts) on
the system it failed

$ dtc -I fs /proc/device-tree -O dts -o sys.dts

Thanks
Hari

-- 
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  - 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  - 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].

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-15 Thread bugproxy
--- Comment From naveed...@in.ibm.com 2018-02-15 05:50 EDT---
(In reply to comment #10)
> Hi, Hari.
>
> It's already in bionic. However, due to some of the changes on kpti patches,
> it might fail to properly work, and there is no upstream makedumpfile fix in
> the works yet, so I am debugging and working on it, so we will get something
> that will also work for those latest kernels we have released.
>
> Thanks.
> Cascardo.

Thannk you cascardo for the update,
Yes though v1.6.3 is present in 18.04 makedumpfile still fails during dump..
===console log===
kernel used on Bionic is 4.13.0-32-generic
||/ Name Version ArchitectureDescription
+++--===-===-=
ii  makedumpfile 1:1.6.3-1   ppc64el VMcore extraction tool

Starting Kernel crash dump capture service...
[   22.094036] kdump-tools[1360]: Starting kdump-tools:  * running makedumpfile 
-c -d 31 /proc/vmcore /var/crash/201802150350/dump-incomplete
Checking for memory holes : [100.0 %] | 
 readpage_elf: Attempt to read non-existent page at 0x4d39b3.
[   22.378312] kdump-tools[1360]: readmem: type_addr: 0, addr:c04d39b37140, 
size:16384
[   22.378411] kdump-tools[1360]: __exclude_unnecessary_pages: Can't read the 
buffer of struct page.
[   22.378538] kdump-tools[1360]: create_2nd_bitmap: Can't exclude unnecessary 
pages.
Checking for memory holes : [100.0 %] - 
 readpage_elf: Attempt to read non-existent page at 0x4d39b3.
[   22.378708] kdump-tools[1360]: readmem: type_addr: 0, addr:c04d39b37140, 
size:16384
[   22.378779] kdump-tools[1360]: __exclude_unnecessary_pages: Can't read the 
buffer of struct page.
[   22.378853] kdump-tools[1360]: create_2nd_bitmap: Can't exclude unnecessary 
pages.
[   22.378924] kdump-tools[1360]: makedumpfile Failed.
[   22.379014] kdump-tools[1360]:  * kdump-tools: makedumpfile failed, falling 
back to 'cp'

-- 
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  - 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  - 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: 

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-12 Thread bugproxy
--- Comment From hbath...@in.ibm.com 2018-02-13 02:12 EDT---
(In reply to comment #8)
> This bug was fixed in the package makedumpfile - 1:1.6.3-1
>
> ---
> makedumpfile (1:1.6.3-1) unstable; urgency=medium
>
> * New upstream release. Main new feature:
> o Support new kernels
> - The supported kernel is updated to 4.14.8 in this version. (LP: #1746299)
> 4.14.9 and later can't be filtered correctly due to inappropriate VMCOREINFO,
> it will be resolved in kernel 4.15.
>
> * Changelog:
> o New feature
> - [PATCH v2] x86_64: Take care of init_level4_pgt rename in kernel (by
> Pratyush Anand) 64bd5db
> - [PATCH v2] Fix SECTION_MAP_MASK for kernel >= v.13 (by Pratyush Anand)
> 4bf4f2b
> - [PATCH v2] book3s/ppc64: Lower the max real address to 53 bits for kernels
> >= v4.11
> (by Bhupesh Sharma) 6c83e74
> - [PATCH v3 1/4] Support symbol __cpu_online_mask (by Takao Indoh) 3b11c00
> - [PATCH] ppc64: update hash page table geometry (by Hari Bathini) 3c39f13
> - [PATCH] handle renamed init_level4_pgt -> init_top_pgt (by Jeff Mahoney)
> 5e54d53
>
> o Bugfix
> - [PATCH v2] arm64: Fix page table walk of 1GB section (by Bradley Bolen)
> 27508f1
> - [PATCH v2 1/2] ppc64: set page_offset in get_versiondep_info_ppc64() (by
> Pingfan Liu) 52319d2
> - [PATCH v2 2/2] ppc64: get the info of mem reserved for crashkernel (by
> Pingfan Liu) c7fcbbc
> - [PATCH v3 3/4] sadump: Fix a KASLR problem of sadump (by Takao Indoh)
> b4f7d95
> - [PATCH v3 4/4] sadump: Fix a KASLR problem of sadump while kdump is
> working (by Takao Indoh) 13d3059
> - [PATCH 2/2] Fix 'kernel_version' variable being uninitialized & introduce
> minor reorganization
> (by Bhupesh Sharma) d1ffe82
> - [PATCH 1/2] Fix off-by-one errors in exclude_segment() (by Petr Tesarik)
> 590f35e
> - [PATCH 2/2] Fix physical-to-virtual conversion in exclude_segment() (by
> Petr Tesarik) 6c1bf2a
>
> o Cleanup
> - [PATCH] Fix formatting problems in header file (by Eric DeVolder) cefea9e
> - [PATCH v3 2/4] Introduce vtop4_x86_64_pagetable (by Takao Indoh) 6de5d37
> - [PATCH 1/2] Fix compilation warnings on ppc64/ppc64le platforms (by
> Bhupesh Sharma) 0df157a
> - [PATCH] Make good use of is_cyclic_region() (by Atsushi Kumagai) 6bfd7a3
> - [PATCH] Fix the regression about getting kernel version (by Atsushi
> Kumagai) 254c116
> - [PATCH] Update maintainers (by Atsushi Kumagai) 9d3147e
>
> * Use multi-user.target. (LP: #1708409)
> * kdump-tools Recommends initramfs-tools-core.
> * Add myself as uploader.
> * Move Vcs control fields to salsa.
>
> -- Thadeu Lima de Souza Cascardo   Tue, 06 Feb 2018
> 12:53:14 -0200

Hello Cascardo, we don't see the fix package in -proposed yet.
When could we expect it there..?

Thanks
Hari

-- 
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  - 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 

[Kernel-packages] [Bug 1746299] Comment bridged from LTC Bugzilla

2018-02-06 Thread bugproxy
--- Comment From mputt...@in.ibm.com 2018-02-06 07:43 EDT---
Please suggest if the makedumpfile tool have been updated to version 1.6.3?

-- 
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 makedumpfile package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Hari Krishna Bathini  - 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  - 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/+source/makedumpfile/+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