Bump crash version on Bionic and Eoan to match Focal

Bug #1865041 reported by Guilherme G. Piccoli
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crash (Ubuntu)
Fix Released
High
Guilherme G. Piccoli
Bionic
Fix Released
High
Guilherme G. Piccoli
Eoan
Fix Released
Medium
Guilherme G. Piccoli

Bug Description

[Impact]
* The crash tool aims to allow investigating kernel core dumps collected through the kexec mechanism; as such, this tool is tightly coupled with kernel version, needing awareness for example about kernel structs layout and other kernel "API" details.

* Currently the crash tool is outdated in Bionic, not allowing users to debug kernel core dumps collected with the latest HWE kernel (version 5.3). Also, many bugs and improvements are added to crash as newer kernels are released.

* This LP's goal is to bump the version of crash tool in both Bionic and Eoan in order to match Focal version (7.2.8). With that we can address the Bionic issue when opening kernel 5.3 dumps and gather more fixes with the updated package.

[Test Case]
* The test performed is basically collect dumps with kdump-tools and open in crash. In this particular case, the tests were with kernels 4.15.0-88 and 5.3.0-26 (in Bionic) and kernel 5.3.0-23 (in Eoan) using the crash tool built with the hereby attached source.

[Regression Potential]
* Crash tool aims to have full retro-compatibility with kernel, so the likelihood for regressions are low. If regressions are found, it's likely the same regression applies to all crash/kernel pair versions, so by having the package synced between releases we increase the exposure to gather more bug reports and fix things in a more straightforward fashion.

NOTICE: This bump was agreed with Ubuntu kdump-tools/crash maintainer, Thadeu Cascardo.

Changed in crash (Ubuntu Bionic):
status: New → Confirmed
Changed in crash (Ubuntu Eoan):
status: New → Confirmed
Changed in crash (Ubuntu Bionic):
importance: Undecided → High
Changed in crash (Ubuntu Eoan):
importance: Undecided → Medium
Changed in crash (Ubuntu Bionic):
assignee: nobody → Guilherme G. Piccoli (gpiccoli)
Changed in crash (Ubuntu Eoan):
assignee: nobody → Guilherme G. Piccoli (gpiccoli)
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Attaching here the source files for the Bionic candidate version (7.2.8-1ubuntu1~18.04.1) and Eoan candidate version (7.2.8-1ubuntu1~19.10.1).

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :
description: updated
Changed in crash (Ubuntu Bionic):
status: Confirmed → In Progress
Changed in crash (Ubuntu Eoan):
status: Confirmed → In Progress
Dan Streetman (ddstreet)
tags: added: sts-sponsor-ddstreet
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

I guess it's valid to mention I've checked the minimum version dependencies for crash 7.2.8 (debhelper 10, dpkg-dev 1.16.1 and quilt 0.47) and they are met by both Bionic and Eoan.

Cheers,

Guilherme

Revision history for this message
Dan Streetman (ddstreet) wrote :

uploaded to bionic and eoan.

Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

Hello Guilherme, or anyone else affected,

Accepted crash into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/crash/7.2.8-1ubuntu0.19.10.1 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 on 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-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in crash (Ubuntu Eoan):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-eoan
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Guilherme, or anyone else affected,

Accepted crash into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/crash/7.2.8-1ubuntu0.18.04.1 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 on 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, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in crash (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Thanks Andy and Łukasz for the uploads to -proposed. I was able to verify Bionic proposed version (7.2.8-1ubuntu0.18.04.1) and Eoan proposed version (7.2.8-1ubuntu0.19.10.1), by trying to open crash dumps with the regular/-updates version of crash, and right after, upgraded crash to -proposed version and did the same test.

Everything is fine, and indeed the -proposed crash on Bionic is able to open HWE kernel 5.3.x vmcore, which is not possible with Bionic crash on -updates (it gets segfaulted). Hence, I'm hereby marking these uploads as verified.

Cheers,

Guilherme

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

This bug was fixed in the package crash - 7.2.8-1ubuntu0.19.10.1

---------------
crash (7.2.8-1ubuntu0.19.10.1) eoan; urgency=medium

  * Version bump from Focal, based on upstream release 7.2.8 (LP: #1865041):
    - Multiple fixes up to kernel 5.5-rc1 (e.g., fixes for kmem/timer/log
      commands, for kernels with symbol namespaces and with KASLR enabled).
    - Improve handling of /proc/kcore (live memory) for x86_64 kernels with
      CONFIG_RANDOMIZE_BASE enabled.
    - Fix ARM64 page size handling on kernel 4.4 and before.
    - Improve offset gathering and ELF support on KASLR kernels in S390X.
    - Support xz compressed vmlinux.
    - Fallback to log buffer parsing in case panic task can't be determined
      by normal means in the dumpfile.
  * Remaining changes:
    - Update the maintainer field for Ubuntu.
    - If the "live" autopkgtest fails with a recommendation to try
      /proc/kcore instead of the default, attempt that before failing
      the test. LP: #1858958.
  * Fix test, as if will return 0 when no cases were true.

 -- <email address hidden> (Guilherme G. Piccoli) Thu, 27 Feb 2020 11:12:51 -0300

Changed in crash (Ubuntu Eoan):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for crash has completed successfully and the package is now being 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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crash - 7.2.8-1ubuntu0.18.04.1

---------------
crash (7.2.8-1ubuntu0.18.04.1) bionic; urgency=medium

  * Version bump from Focal, based on upstream release 7.2.8 (LP: #1865041):
    - Multiple fixes up to kernel 5.5-rc1 (e.g., fixes for kmem/timer/log
      commands, for kernels with symbol namespaces and with KASLR enabled).
    - Improve handling of /proc/kcore (live memory) for x86_64 kernels with
      CONFIG_RANDOMIZE_BASE enabled.
    - Fix ARM64 page size handling on kernel 4.4 and before.
    - Improve offset gathering and ELF support on KASLR kernels in S390X.
    - Support xz compressed vmlinux.
    - Fallback to log buffer parsing in case panic task can't be determined
      by normal means in the dumpfile.
  * Remaining changes:
    - Update the maintainer field for Ubuntu.
    - If the "live" autopkgtest fails with a recommendation to try
      /proc/kcore instead of the default, attempt that before failing
      the test. LP: #1858958.
  * Fix test, as if will return 0 when no cases were true.

 -- <email address hidden> (Guilherme G. Piccoli) Thu, 27 Feb 2020 11:12:51 -0300

Changed in crash (Ubuntu Bionic):
status: Fix Committed → Fix Released
Dan Streetman (ddstreet)
Changed in crash (Ubuntu):
status: Confirmed → Fix Released
tags: removed: sts-sponsor-ddstreet
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.