Support newer kernels

Bug #1954815 reported by Thadeu Lima de Souza Cascardo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crash (Ubuntu)
Invalid
Undecided
Unassigned
Focal
In Progress
Medium
Thadeu Lima de Souza Cascardo
Hirsute
Won't Fix
Medium
Thadeu Lima de Souza Cascardo
Impish
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Kernels newer than 5.4 cannot be analyzed using the crash tool from Focal.

[Test case]
Install a linux dbgsym package and run the command below, replacing vmlinux-5.11.0-1023-azure by the appropriate kernel debug file.

crash /usr/lib/debug/boot/vmlinux-5.11.0-1023-azure /proc/kcore

[Potential regression]
crash might fail to work with older kernels, or some of its commands might not work anymore.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Now building on ppa:cascardo/kdump2 for testing.

Changed in crash (Ubuntu):
status: New → Invalid
Changed in crash (Ubuntu Impish):
status: New → Fix Released
Changed in crash (Ubuntu Hirsute):
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
Changed in crash (Ubuntu Focal):
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
Changed in crash (Ubuntu Hirsute):
importance: Undecided → Medium
Changed in crash (Ubuntu Focal):
importance: Undecided → Medium
Changed in crash (Ubuntu Hirsute):
status: New → In Progress
Changed in crash (Ubuntu Focal):
status: New → In Progress
Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Notice the debdiff is against the version in impish (-release), which is also the current version in jammy.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Notice the debdiff is against the version in impish (-release).

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

This debdiff for focal is against the version in impish. Contrary to the previous version of the debdiff, this one builds fine on focal. The versioned dependency on debhelper was changed from >= 13 to >= 12, as debhelper 13 is not currently available on focal.

Cascardo.

Revision history for this message
dann frazier (dannf) wrote :

So it looks like the proposal here is to backport the impish version of crash back through focal, which means an upstream version bump. Resolving the issue in this way normally requires a documented special case to the SRU process[*], and I don't see one that includes the crash package.

I'd be supportive of such a special case for crash as this package usually needs updates to support new HWE kernels (same w/ makedumpfile) but, unless an ubuntu-sru-team members says differently, I think we need to go through that process first. Cascardo: would you mind drafting a special case page?

Alternatively, we could investigate if there's a more surgical way to add support for the desired kernels to the crash version already in focal.

[*] https://wiki.ubuntu.com/StableReleaseUpdates#Documentation_for_Special_Cases

Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in crash (Ubuntu Hirsute):
status: In Progress → Won't Fix
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.