Comment 17 for bug 1746299

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 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 <email address hidden>
> 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 <email address hidden>

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