UbuntuKVM:Ubuntu16.10:makekdumpfile fails during kdump reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
makedumpfile (Ubuntu) |
New
|
Undecided
|
Taco Screen team |
Bug Description
Problem Description:
===================
makedumpfile Fails during kdump reboot
Steps to re-create:
==================
- Install abakvm with 4.8.0-26
- Edit /etc/default/
Logs:
====
root@abakvm:~# cat /proc/cmdline
root=UUID=
root@abakvm:~# uname -r
4.8.0-26-generic
root@abakvm:~# ls -lh /var/lib/kdump
total 31M
drwxr-xr-x 5 root root 4.0K Oct 17 03:10 initramfs-tools
lrwxrwxrwx 1 root root 42 Oct 24 05:07 initrd.img -> /var/lib/
-rw-r--r-- 1 root root 16M Oct 17 05:09 initrd.
-rw-r--r-- 1 root root 16M Oct 24 04:56 initrd.
lrwxrwxrwx 1 root root 30 Oct 24 05:07 vmlinuz -> /boot/vmlinux-
root@abakvm:~# kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr:
/var/
kdump initrd:
/var/
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-
root@abakvm:~# dmesg | grep Reser
[ 0.000000] Reserving 4096MB of memory at 128MB for crashkernel (System RAM: 131072MB)
[ 0.000000] cma: Reserved 6560 MiB at 0x0000001e56000000
root@abakvm:~#
- Initiate crash, and when checked in console logs the follwoing makekdumpfile is failing
Logs:
====
Starting Kernel crash dump capture service...
Starting LSB: Start NTP daemon...
[ 255.138066] kdump-tools[6019]: Starting kdump-tools: * running makedumpfile -c -d 31 /proc/vmcore /var/crash/
[ 255.218513] kdump-tools[6019]: get_mem_map: Can't distinguish the memory type.
[ 255.218832] kdump-tools[6019]: The kernel version is not supported.
[ 255.219086] kdump-tools[6019]: The makedumpfile operation may be incomplete.
[ 255.219385] kdump-tools[6019]: makedumpfile Failed.
[ 255.219559] kdump-tools[6019]: * kdump-tools: makedumpfile failed, falling back to 'cp'
== Comment: #1 - Vaishnavi Bhat <email address hidden> - 2016-10-26 06:05:26 ==
The makedumpfile.h defines the latest kernel version as 4.5.3 where as the uname output gives a higher kernel version (4.8.0 ), Hence we are seeing this message in the dmesg.
#define OLDEST_VERSION KERNEL_VERSION(2, 6, 15)/* linux-2.6.15 */
#define LATEST_VERSION KERNEL_VERSION(4, 5, 3)/* linux-4.5.3 */
tags: | added: architecture-ppc64le bugnameltc-147804 severity-high targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → makedumpfile (Ubuntu) |
------- Comment From <email address hidden> 2016-11-06 22:53 EDT-------
*** This bug has been marked as a duplicate of bug 146571 ***