Unable to configure Firmware Assisted dump

Bug #1464833 reported by bugproxy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
High
Unassigned

Bug Description

[SRU justification]
This represent a hardware enablement SRU : Firmware assisted dumps (fadump) are not possible on LTS.

[Impact]
The fadump mechanism cannot be used on Power systems running Trusty

[Fix]
Backport fadump functionality from makedumpfile 1.5.8 present in Wily and onward.

[Test Case]
See comment #9 : The proposed SRU has been tested from a PPA on a Power VM.

[Regression]
None expected from a functionality point of view as it is a new feature. Existing code paths are minimally modified.

[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) In order to use Firmware Assisted Dump feature update the kernel command with fadump=on.
4) Reboot.

Post reboot using kdump-config load command fails with following message :

# kdump-config load
Memory for crashkernel is not reserved
Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
Then try to loading kdump kernel
 * failed to load kdump kernel

# kdump-config status
current state : Not ready to kdump
#

# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinux-3.19.0-18-generic root=UUID=3ea23bcf-7269-432f-bacc-f82c6cdd774e ro splash quiet fadump=on crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
# cat /sys/kernel/fadump_enabled
1
# cat /sys/kernel/fadump_registered
0
#

# dmesg | grep -i Firmware
[ 0.000000] Reserved 5120MB of memory at 97279MB for firmware-assisted dump
[ 0.000000] firmware_features = 0x00000001c45ffc5f
#
# cat /boot/config-3.19.0-18-generic | grep -i FA_DUMP
CONFIG_FA_DUMP=y
#

Are there any user space fixes missing which prevents me from configuring firmware assisted dump ?

== Comment: #4 - Hari Krishna Bathini <email address hidden> - 2015-06-12 05:28:24 ==
This patch makes kdump-tools fadump aware so as to switch between
kdump & fadump seemlessly based on the dump method enabled (fadump/kdump).

Thanks
Hari

Revision history for this message
bugproxy (bugproxy) wrote : fadump aware patch for makedumpfile_1.5.5-2ubuntu1.2

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-125884 severity-critical 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/1464833/+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
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fadump aware patch for makedumpfile_1.5.5-2ubuntu1.2" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
vaishnavi (vaishnavi)
Changed in ubuntu:
assignee: nobody → vaishnavi (vaishnavi)
assignee: vaishnavi (vaishnavi) → nobody
bugproxy (bugproxy)
tags: added: targetmilestone-inin14043
removed: targetmilestone-inin---
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-10-07 05:28 EDT-------
This problem can still be recreated with latest build of 14.04.03

root@ubuntu:/home/santhosh# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinux-3.19.0-30-generic root=UUID=03d46cd6-d905-4938-897c-5d22081bee62 ro splash quiet fadump=on crashkernel=1024M vt.handoff=7
root@ubuntu:/home/santhosh# kdump-config status
current state : Not ready to kdump
root@ubuntu:/home/santhosh# kdump-config load
Memory for crashkernel is not reserved
Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
Then try to loading kdump kernel
* failed to load kdump kernel
root@ubuntu:/home/santhosh# cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

root@ubuntu:/home/santhosh# dpkg -l | grep makedumpfile
ii makedumpfile 1.5.5-2ubuntu1.4 ppc64el VMcore extraction tool
root@ubuntu:/home/santhosh#

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-12-14 10:50 EDT-------
Hi Canonical,

Can you please assign this bug to an appropriate developer to fix it as soon as possible.

This has been hanging around a long time without an update.

Thanks for your support.!!

Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
bugproxy (bugproxy)
tags: added: targetmilestone-inin14044
removed: targetmilestone-inin14043
Revision history for this message
Louis Bouchard (louis) wrote :

Hello,

Would it be possible to have someone test the potential modification from a PPA ? Since it concerns addition of a new feature to a stable release, I would prefer to have a bit more testing done before uploading

Kind regards,

..Louis

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-01-07 14:02 EDT-------
Hi Louis,

I have asked internally if someone can test it. If you already have a PPA repository for the packages, can you offer the repository entry to add to sources.list to pull from please? Thanks.

Revision history for this message
Louis Bouchard (louis) wrote :

Hello,

One way to make the PPA available is to use add-apt-repository (part of software-properties-common package) with the following syntax :

$ sudo add-apt-repository ppa:louis-bouchard/test-makedumpfile

then run sudo apt-get update

Otherwise you can use the following :

$ sudo -s
$ cat << EOF > /etc/apt/sources.list.d/louis-bouchard-test-makedumpfile-trusty.list
deb http://ppa.launchpad.net/louis-bouchard/test-makedumpfile/ubuntu trusty main
# deb-src http://ppa.launchpad.net/louis-bouchard/test-makedumpfile/ubuntu trusty main
EOF

then
$ apt-get update

Kind regards,

...Louis

Steve Langasek (vorlon)
Changed in ubuntu:
assignee: Taco Screen team (taco-screen-team) → nobody
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-01-08 05:07 EDT-------
(In reply to comment #24)
> Hello,
>
> One way to make the PPA available is to use add-apt-repository (part of
> software-properties-common package) with the following syntax :
>
> $ sudo add-apt-repository ppa:louis-bouchard/test-makedumpfile
>
> then run sudo apt-get update
>
> Otherwise you can use the following :
>
> $ sudo -s
> $ cat << EOF >
> /etc/apt/sources.list.d/louis-bouchard-test-makedumpfile-trusty.list
> deb http://ppa.launchpad.net/louis-bouchard/test-makedumpfile/ubuntu trusty
> main
> # deb-src http://ppa.launchpad.net/louis-bouchard/test-makedumpfile/ubuntu
> trusty main
> EOF
>
> then
> $ apt-get update
>
> Kind regards,
>
> ...Louis

Hi

tried with new repo and it seems me fadump is working , Thanks for fix !!

root@system:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinux-4.2.0-22-generic root=UUID=319e9484-a9fd-41c4-b331-e46625647087 ro splash quiet crashkernel=512M fadump=on vt.handoff=7
root@system:~# kdump-config load
* fadump registered successfully
root@system:~# kdump-config status
current state : ready to fadump
root@system:~#

Revision history for this message
Louis Bouchard (louis) wrote :

Hello,

Please be aware that the PPA is not a definitive fix and will eventually disapear. Now that I know that it works, I will proceed to get this fix included in the official archive. I will update this bug when it happens.

Kind regards,

...Louis

Revision history for this message
Louis Bouchard (louis) wrote :

debdiff for trusty SRU

description: updated
Chris J Arges (arges)
affects: ubuntu → makedumpfile (Ubuntu)
Changed in makedumpfile (Ubuntu):
status: New → Fix Released
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.5 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 :

Hello Praveen,

Would it be possible for you to test the uploaded packages in the trusty-proposed archive to confirm that the fix is adequate. Please don't forget to remove the test packages provided in the PPA.

Kind regards,

...Louis

bugproxy (bugproxy)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Breno Leitão (breno-leitao) wrote :

Tested iternally at IBM by Praveen, and he reported:

"Tested with https://launchpad.net/ubuntu/+source/makedumpfile/1.5.5-2ubuntu1.5 package and it works fine ,yes before trying with new package i removed PPA build"

Revision history for this message
Louis Bouchard (louis) wrote :

Thank you for the test.

It should be released publicly in a few days.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * Add support for Firmware Assisted Dump (fadump)
    (LP: #1464833)

 -- Louis Bouchard <email address hidden> Tue, 05 Jan 2016 16:07:54 +0100

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.

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

------- Comment From <email address hidden> 2016-01-21 00:20 EDT-------
Hi ,

Tested on today build and it works fine .

root@tuleta4u-lp6:~# vim /etc/default/kdump-tools
root@tuleta4u-lp6:~# kdump-config load
* fadump registered successfully
root@tuleta4u-lp6:~# dpkg -l | grep makedumpfile
ii makedumpfile 1.5.5-2ubuntu1.5 ppc64el VMcore extraction tool
root@tuleta4u-lp6:~#

Louis Bouchard (louis)
Changed in makedumpfile (Ubuntu Trusty):
assignee: Louis Bouchard (louis-bouchard) → nobody
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.