[SRU] Makedumpfile: Errors and Page Exclusions When Opening Kernel Crashdump Files Generated on the Latest HWE Kernel
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| crash (Ubuntu) | Status tracked in Resolute | |||||
| Noble |
New
|
Undecided
|
Unassigned | |||
| Plucky |
New
|
Undecided
|
Unassigned | |||
| Questing |
New
|
Undecided
|
Unassigned | |||
| Resolute |
Confirmed
|
Undecided
|
Unassigned | |||
| makedumpfile (Ubuntu) | Status tracked in Resolute | |||||
| Noble |
New
|
Undecided
|
Unassigned | |||
| Plucky |
Fix Released
|
Undecided
|
Unassigned | |||
| Questing |
Fix Released
|
Undecided
|
Unassigned | |||
| Resolute |
Fix Released
|
Undecided
|
Unassigned | |||
Bug Description
Note: Original description is at the bottom of this report
[Impact]
The current versions of Makedumpfile and Crash in the -updates pocket on Noble do not support the latest hardware enablement kernel for that platform, which is 6.14. There are several architecture-
Reproducer steps:
-----------------
Boot into a hardware enablement kernel. For example, on arm64 use the 6.14.0-
KERNEL_
DISTRO=noble
sudo apt update
sudo apt install ubuntu-
echo "deb http://
deb http://
sudo tee /etc/apt/
sudo apt update
sudo apt install linux-image-
sudo apt install linux-image-
Modify grub's cmdline to specify a crashkernel: GRUB_CMDLINE_
sudo update-grub
sudo apt install kexec-tools kdump-tools crash makedumpfile
sudo systemctl enable kdump-tools
sudo systemctl start kdump-tools
sudo reboot
echo c | sudo tee /proc/sysrq-trigger
After the machine recovers,
crash /usr/lib/
Results on Arm64
----------------
crash 8.0.4
Copyright (C) 2002-2022 Red Hat, Inc.
...
For help, type "help".
Type "apropos word" to search for commands related to "word"...
please wait... (gathering task table data)
crash: page excluded: kernel virtual address: ffff07ffa042d8e0 type: "xa_node.
Results on amd64
----------------
On an amd64 machine, using a kernel such as linux-image-
crash 8.0.4
...
For help, type "help".
Type "apropos word" to search for commands related to "word"...
# Program exits and no prompt is presented
[Test Plan]
* Ensure that with the proposed combination of makedumpfile and crash is capable of generating and subsequently opening crashdumps on the HWE and GA kernels available for that platform. Here is the mapping ATOW:
Noble GA: 6.8
Noble HWE: 6.14
Plucky (interim release, no HWE): 6.14
Questing (interim release, no HWE): 6.17
Resolute (development): 6.17 (as of Oct. 14th 2025)
* Ensure all of crash's commands produce the expected output (eg. ps, mount, files, vm, vtop, runq, etc.)
* If bugs are found in generating and reading crashdumps on the HWE kernel on other architectures (s390x, etc.), this test plan can be expanded to include those.
[Where Problems Could Occur]
* Crash and Makedumpfile are designed to be backwards-
* The matrix of hardware and kernel versions (including derivative / cloud kernels) to test again is extensive. It's possible that the commits identified to solve the known problems will not be comprehensive. For example, cpu architectures and kernels not in the test matrix may require additional commits to be backported.
[Other Info]
* Support/SEG are currently having conversations with the kernel team about the potential to proactively SRU / MRE the latest upstream crash version, and potentially Makedumpfile as well, alongside -hwe kernel releases to avoid this sort of regression in the future. Though, we understand this would require an SRUExceptionPolicy to be approved and published.
[Investigation and summary of changes]
We have identified that on the Makedumpfile at least two commits are needed:
[1] https:/
[2] https:/
These are patches to compensate for a change in the kernel's mapping of memory. Using the patched Makedumpfile helps, but it is not sufficient. Including the patches in Makedumpfile (or using the tip of upstream master), but opening with the currently distributed crash results in the following errors:
eg. Patched Makedumpfile with crash 8.0.4 on Arm64:
-------
...
WARNING: cannot determine starting stack frame for task ffffd574e21b4800
WARNING: cannot determine starting stack frame for task ffff07ff83296300
WARNING: cannot determine starting stack frame for task ffff07ff83293f80
WARNING: cannot determine starting stack frame for task ffff07ff83a04700
WARNING: cannot determine starting stack frame for task ffff08010507c400
KERNEL: /usr/lib/
DUMPFILE: /var/crash/
CPUS: 128 [OFFLINE: 127]
DATE: Thu Jan 1 00:00:00 UTC 1970
UPTIME: 00:13:38
LOAD AVERAGE: 0.12, 0.16, 0.10
TASKS: 1573
NODENAME: penguru
RELEASE: 6.14.0-
VERSION: #8-Ubuntu SMP PREEMPT_DYNAMIC Sat Jul 26 02:43:53 UTC 2025
MACHINE: aarch64 (unknown Mhz)
MEMORY: 63.8 GB
PANIC: "Kernel panic - not syncing: sysrq triggered crash"
PID: 7886
COMMAND: "tee"
TASK: ffff08010507c400 [THREAD_INFO: ffff08010507c400]
CPU: 85
STATE: TASK_RUNNING (PANIC)
On Amd64
--------
Crash still fails to open.
Therefore, in addition to the above Makedumpfile commits, crash requires some patching. With the above two commits to Makedumpfile I did a bisect on crash on amd64 and arm64.
On the amd64 crash side, I have identified that [3] applied in isolation (cherry-picked) is sufficient on amd64
[3] https:/
I have also found that cherry-picking [4] and [5] resolves the issue on arm64 hardware in testflinger (using the machine agent penguru)
[4] https:/
[5] https:/
At this point, crash's commands such as mount, files, vm, etc. were still broken. To resolve this, [6] and [7] are needed
[6] https:/
[7] https:/
To SRU for Noble, crash must also be work on Plucky, Questing, and Resolute. The current version of makedumpfile on all of those series was found to be sufficient and so no SRU for makedumpfile is required on those. However for crash:
* Plucky uses the 6.14 kernel, so no additional commits are needed - in fact due to the newer version available on Plucky, only [7] is needed.
* Questing uses the 6.17 kernel. No issues other than [7] were observed on arm, but on amd64, an infinite loop while gdb loaded module symbols was observed, This is fixed in [8].
* Resolute will ship with a newer kernel than 6.17, but as of October 14th, 2025 is currently based on 6.17. Currently the package in Debian unstable, which will autosync to Resolute does not contain the required fixes and so it will also require SRU with [7] and [8] unless superceded by an upstream (Debian) version bump.
[8] https:/
PPA with all of the packages built (except resolute): https:/
-------
Original Description:
=======
24.04 LTS,
Linux 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Problem Description:
crash utility is crashing (error code 1) when attempting to analyze kernel crash dumps.
Setup kdump & generated kernel panic using “echo 1 > /proc/sys/
# crash /usr/lib/
crash 8.0.4
Copyright (C) 2002-2022 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011, 2020-2022 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
Copyright (C) 2015, 2021 VMware, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-
Type "show configuration" for configuration details.
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
# echo $?
1
running as root user and file is readable fine:
$ :/var/crash/
total 299144
-rw------- 1 root whoopsie 119627 Sep 16 18:21 dmesg.202509161821
-rw-r--r-- 1 root whoopsie 306200163 Sep 16 18:21 dump.202509161821
symbol file is there:
# ls -l /usr/lib/
-rw-r--r-- 1 root root 450705920 Aug 14 18:02 /usr/lib/
tail of strace:
14:06:20.661240 rt_sigaction(
14:06:20.661281 rt_sigaction(
14:06:20.661322 rt_sigaction(
14:06:20.661360 write(1, "\n", 1
) = 1 <0.000119>
14:06:20.661579 lseek(3, 10312, SEEK_SET) = 10312 <0.000010>
14:06:20.661617 read(3, "OSRELEASE=
14:06:20.661748 unlink(
14:06:20.664817 exit_group(1) = ?
14:06:20.690105 +++ exited with 1 +++
full crash strace https:/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: crash 8.0.4-1ubuntu2
ProcVersionSign
Uname: Linux 6.14.0-29-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckR
Date: Thu Sep 18 20:21:26 2025
InstallationDate: Installed on 2025-09-04 (14 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
SourcePackage: crash
UpgradeStatus: No upgrade log present (probably fresh install)
| description: | updated |
| description: | updated |
| summary: |
- Crash utility exits with error code 1 when analyzing kernel crash + [WIP] [SRU] Makedumpfile: Errors and Page Exclusions When Opening Kernel + Crashdump Files Generated on the Latest HWE Kernel |
| description: | updated |
| description: | updated |
| Changed in makedumpfile (Ubuntu Plucky): | |
| status: | New → Fix Released |
| Changed in makedumpfile (Ubuntu Questing): | |
| status: | New → Fix Released |
| Changed in makedumpfile (Ubuntu Resolute): | |
| status: | Confirmed → Fix Released |
| description: | updated |
| description: | updated |
| description: | updated |
| description: | updated |
| summary: |
- [WIP] [SRU] Makedumpfile: Errors and Page Exclusions When Opening Kernel + [SRU] Makedumpfile: Errors and Page Exclusions When Opening Kernel Crashdump Files Generated on the Latest HWE Kernel |

Triggering a crash with
Linux ubuntu-noble 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Sep 22 14:41:44 ubuntu-noble kdump-tools[587]: Starting kdump-tools: 202509221441/ dmesg.202509221 441 202509221441/ dmesg.202509221 441. 202509221441 202509221441 202509221441/ dump-incomplete 202509221441 202509221441
Sep 22 14:41:44 ubuntu-noble kdump-tools[592]: * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/
Sep 22 14:41:44 ubuntu-noble kdump-tools[610]: The kernel version is not supported.
Sep 22 14:41:44 ubuntu-noble kdump-tools[610]: The makedumpfile operation may be incomplete.
Sep 22 14:41:44 ubuntu-noble kdump-tools[610]: The dmesg log is saved to /var/crash/
Sep 22 14:41:44 ubuntu-noble kdump-tools[610]: makedumpfile Completed.
Sep 22 14:41:44 ubuntu-noble kdump-tools[592]: * kdump-tools: saved dmesg content in /var/crash/
Sep 22 14:41:44 ubuntu-noble kdump-tools[611]: saved dmesg content in /var/crash/
Sep 22 14:41:44 ubuntu-noble kdump-tools[592]: * running makedumpfile -F -c -d 31 /proc/vmcore | compress > /var/crash/
Sep 22 14:41:44 ubuntu-noble kdump-tools[615]: The kernel version is not supported.
Sep 22 14:41:44 ubuntu-noble kdump-tools[615]: The makedumpfile operation may be incomplete.
Sep 22 14:41:46 ubuntu-noble kdump-tools[615]: [574B blob data]
Sep 22 14:41:46 ubuntu-noble kdump-tools[615]: The dumpfile is saved to STDOUT.
Sep 22 14:41:46 ubuntu-noble kdump-tools[615]: makedumpfile Completed.
Sep 22 14:41:46 ubuntu-noble kdump-tools[592]: * kdump-tools: saved vmcore in /var/crash/
Sep 22 14:41:46 ubuntu-noble kdump-tools[620]: saved vmcore in /var/crash/
Sep 22 14:41:46 ubuntu-noble kdump-tools[622]: Mon, 22 Sep 2025 14:41:46 +0000