Unsupported kernel warning while running makedumpfile

Bug #1469054 reported by bugproxy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Medium
Unassigned

Bug Description

[SRU justification]
Newer trusty kernels trigger a supportability message from makedumpfile. The upstream version used on the release do not support those kernels.

[Impact]
Warning message when running makedumpfile on kernels higher than 3.11

[Fix]
Cherry-pick upstream commits that provide newer kernel support.

[Test Case]
1) Using latest daily ISO install 14.04.02 as a Power VM guest.
2) Install linux-virtual-lts-vivid (hence upgrading kernel to 3.19)
3) Configure kdump.
4) Trigger a dump. Dump is captured successfully without the message
   "The kernel version is not supported." being displayed

[Regression]
Aside from cosmetic modification in README, the only sensible modification
it to adapt to the CONFIG_RANDOMIZE_BASE=y kernel parameter to correctly
fetch memory element. This config is enabled in new kernels.

[Original description of the problem]

---Steps to Reproduce---
1) Using latest daily ISO install 14.04.02 as a Power VM guest.
2) Upgrade the kernel to 3.19 level (3.19.0-18-generic)
3) Configure kdump. A fix is required to configure kdump. Refer to defect (https://bugzilla.linux.ibm.com/show_bug.cgi?id=125712)
4) Trigger a dump. Dump is captured successfully.

During collection of dump following warning is shown on the screen. It would be good to fix this warning.

Starting kdump-tools: * running makedumpfile -c -d 31 /proc/vmcore /var/crash/201506040624/dump-incomplete
The kernel version is not supported. <<================
The created dumpfile may be incomplete.
Copying data : [100.0 %] /

The dumpfile is saved to /var/crash/201506040624/dump-incomplete.

makedumpfile Completed.
 * kdump-tools: saved vmcore in /var/crash/201506040624
 * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/201506040624/dmesg.201506040624
The kernel version is not supported. <<================
The created dumpfile may be incomplete.

The dmesg log is saved to /var/crash/201506040624/dmesg.201506040624.

makedumpfile Completed.
 * kdump-tools: saved dmesg content in /var/crash/201506040624

== Comment: #1 - Hari Krishna Bathini <email address hidden> - 2015-06-04 15:05:41 ==
makedumpfile tool version, please?

== Comment: #2 - SACHIN P. SANT <email address hidden> - 2015-06-05 01:30:23 ==
(In reply to comment #1)
> makedumpfile tool version, please?

makedumpfile -v
makedumpfile: version 1.5.5 (released on 18 Dec 2013)

== Comment: #6 - SACHIN P. SANT <email address hidden> - 2015-06-24 06:25:13 ==
Externalizing comment :

Each makedumpfile version supports kernel versions ranging from OLDEST_VERSION
till LATEST_VERSION (defined as macros in makedumpfile.h).
For makedumpfile v1.5.5, the LATEST_VERSION version is defined as 3.11.3.
As the makedumpfile tool currently shipped with ubuntu is based on v1.5.5 and
as the kernel version is higher (v3.13/v3.16/v3.19), we see this warning.
We can deal with this in a couple of ways:

1. Suggest Canonical to spike the LATEST_VERSION macro to 3.19 reinforcing support for kernel version 3.19.
2. Suggest Canonical to use the latest makedumpfile version (1.5.8) that supports kernel version 3.19

Thanks
Hari

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-125881 severity-medium targetmilestone-inin---
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1469054/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → makedumpfile (Ubuntu)
bugproxy (bugproxy)
tags: added: targetmilestone-inin14043
removed: targetmilestone-inin---
Louis Bouchard (louis)
Changed in makedumpfile (Ubuntu):
status: New → Triaged
Changed in makedumpfile (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Louis Bouchard (louis-bouchard)
Changed in makedumpfile (Ubuntu):
status: Triaged → Fix Released
Louis Bouchard (louis)
tags: added: sts
Louis Bouchard (louis)
description: updated
Revision history for this message
Louis Bouchard (louis) wrote :

Just uploaded a new revision for SRU to trusty with the backported fixes up to 3.19

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted makedumpfile into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedumpfile/1.5.5-2ubuntu1.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in makedumpfile (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Louis Bouchard (louis) wrote :

Test completed OK. The warning message no longer appears.

 * running makedumpfile -c -d 31 /proc/vmcore /var/crash/201509171514/dump-incomplete
cyclic buffer size has been changed: 32767 => 32640
 * Starting Bridge socket events into upstart] / [ OK ]
Excluding unnecessary pages : [100.0 %] \ * Starting Bridge file e[ OK ]into upstart
Copying data : [100.0 %] |

The dumpfile is saved to /var/crash/201509171514/dump-incomplete.

makedumpfile Completed.
 * kdump-config: saved vmcore in /var/crash/201509171514
 * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/201509171514/dmesg.201509171514

The dmesg log is saved to /var/crash/201509171514/dmesg.201509171514.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package makedumpfile - 1.5.5-2ubuntu1.4

---------------
makedumpfile (1.5.5-2ubuntu1.4) trusty; urgency=medium

  * Add support for newer kernels. Changes include :
    - Support newer kernels up to 3.19
    - Remove the task about remap allocator from TODO list.
    - Initialize symbols early for old kernels.
    - Get MODULES_VADDR by KERNEL_IMAGE_SIZE for x86_64.
    (LP: #1469054)

 -- Louis Bouchard <email address hidden> Tue, 15 Sep 2015 15:48:11 +0200

Changed in makedumpfile (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for makedumpfile has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Louis Bouchard (louis)
Changed in makedumpfile (Ubuntu Trusty):
assignee: Louis Bouchard (louis-bouchard) → nobody
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-10-07 04:50 EDT-------
Problem is fixed with latest version of makedumpfile.

root@ubuntu:/var/crash/201510070039# dpkg -l | grep makedumpfile
ii makedumpfile 1.5.5-2ubuntu1.4 ppc64el VMcore extraction tool
root@ubuntu:/var/crash/201510070039# cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

root@ubuntu:/var/crash/201510070039#

* running makedumpfile -c -d 31 /proc/vmcore /var/crash/201510070039/dump-incomplete
* Stopping Mount network filesystems [ OK ]
Copying data : [100.0 %] /

The dumpfile is saved to /var/crash/201510070039/dump-incomplete.

makedumpfile Completed.
* kdump-config: saved vmcore in /var/crash/201510070039
* running makedumpfile --dump-dmesg /proc/vmcore /var/crash/201510070039/dmesg.201510070039

The dmesg log is saved to /var/crash/201510070039/dmesg.201510070039.

makedumpfile Completed.
* kdump-config: saved dmesg content in /var/crash/201510070039
Wed, 07 Oct 2015 00:39:52 -0400
[ 30.881085] reboot: Restarting system

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.