------- Comment From [email protected] 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 Architecture Description > +++-====================-===============-===============- > ============================================= > 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 0x4d39b30000. > [ 22.378312] kdump-tools[1360]: readmem: type_addr: 0, > addr:c000004d39b37140, 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 0x4d39b30000. > [ 22.378708] kdump-tools[1360]: readmem: type_addr: 0, > addr:c000004d39b37140, 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 <[email protected]> - 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 = [email protected] ---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 [email protected]: -Attach ltrace and strace of userspace application. == Comment: #1 - Hari Krishna Bathini <[email protected]> - 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 : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

