kexec enable to load/kdump zstd compressed zimg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdump-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
kexec-tools (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
While testing the 6.5.0-6-generic proposed arm64 generic kernel I encountered issues being able to use kdump.
After enabling -proposed and installing the -proposed 6.5.0-6 kernel and rebooting I encountered the following:
`kdump-config show` shows `current state: Not ready to kdump` and looking at the status of the kdump-tools services I see `Cannot determine the file type of /var/lib/
Full output:
```
ubuntu@cloudimg:~$ sudo kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0xde000000
/var/
kdump initrd:
/var/
current state: Not ready to kdump
kexec command:
no kexec command recorded
ubuntu@cloudimg:~$ sudo service kdump-tools status
● kdump-tools.service - Kernel crash dump capture service
Loaded: loaded (/lib/systemd/
Active: active (exited) since Tue 2023-09-26 09:21:44 UTC; 5min ago
Process: 515 ExecStart=
Main PID: 515 (code=exited, status=0/SUCCESS)
CPU: 4min 21.329s
Sep 26 09:16:14 cloudimg systemd[1]: Starting kdump-tools.service - Kernel crash dump capture service...
Sep 26 09:16:24 cloudimg kdump-tools[515]: Starting kdump-tools:
Sep 26 09:16:24 cloudimg kdump-tools[537]: * Creating symlink /var/lib/
Sep 26 09:16:32 cloudimg kdump-tools[580]: kdump-tools: Generating /var/lib/
Sep 26 09:21:42 cloudimg kdump-tools[537]: * Creating symlink /var/lib/
Sep 26 09:21:43 cloudimg kdump-tools[5538]: Cannot determine the file type of /var/lib/
Sep 26 09:21:44 cloudimg kdump-tools[537]: * failed to load kdump kernel
Sep 26 09:21:44 cloudimg kdump-tools[5539]: failed to load kdump kernel
Sep 26 09:21:44 cloudimg systemd[1]: Finished kdump-tools.service - Kernel crash dump capture service.
ubuntu@cloudimg:~$ ls -al /var/lib/
lrwxrwxrwx 1 root root 29 Sep 26 09:16 /var/lib/
ubuntu@cloudimg:~$ file /var/lib/
/var/lib/
ubuntu@cloudimg:~$ sudo file /boot/vmlinuz-
/boot/vmlinuz-
```
The reboot with 6.5.0-6 was successful and the reboot after linux-crashdump install was successful too.
I used https:/
I used arm64 qcow cloud image from http://
Changed in kdump-tools (Ubuntu): | |
status: | New → Incomplete |
Changed in kexec-tools (Ubuntu): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
milestone: | none → ubuntu-23.10 |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2037398
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.