Hi Chengen,
The fix is included in 1.7.3 in mantic, so only lunar needs the fix.
We probably would like jammy as well, for compatibility with the 6.2+ HWE kernel (without regression to the 5.15 GA kernel).
Could you please check jammy for that too? (I'll add a task as Incomplete.)
$ git describe --contains 5f17bdd2128998a3eeeb4521d136a192222fadb6 1.7.3~6
$ rmadison -a source makedumpfile makedumpfile | 1.5.5-2ubuntu1 | trusty | source makedumpfile | 1.5.5-2ubuntu1.6 | trusty-updates | source makedumpfile | 1:1.5.9-5~ubuntu14.04.1 | trusty-backports | source makedumpfile | 1:1.5.9-5 | xenial | source makedumpfile | 1:1.6.3-2~16.04.3 | xenial-updates | source makedumpfile | 1:1.6.3-2 | bionic | source makedumpfile | 1:1.6.5-1ubuntu1~18.04.7 | bionic-updates | source makedumpfile | 1:1.6.7-1ubuntu2 | focal | source makedumpfile | 1:1.6.7-1ubuntu2.4 | focal-updates | source makedumpfile | 1:1.7.0-1build1 | jammy | source makedumpfile | 1:1.7.2-1 | lunar | source makedumpfile | 1:1.7.3-1 | mantic | source
Packages verified with LXD VM and upstream crash for now (before bug 2038248). All good!
Uploaded to Lunar.
Thanks!
Details: ---
Setup:
$ lxc launch --vm --config limits.memory=2GiB ubuntu:lunar mdf-l $ lxc shell mdf-l
# apt update && apt install -y linux-image-generic linux-crashdump crash # apt remove -y $(dpkg -l | awk '$2 ~ /linux-.*kvm/ { print $2 }')
# sed 's/crashkernel=[^ "]\+/crashkernel=512M/' -i /etc/default/grub.d/kdump-tools.cfg # update-grub # reboot # kdump-config show | grep state: current state: ready to kdump # echo c >/proc/sysrq-trigger
Debug symbols:
# wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-unsigned-6.2.0-34-generic-dbgsym_6.2.0-34.34_amd64.ddeb # ar x linux-image-unsigned-6.2.0-34-generic-dbgsym_6.2.0-34.34_amd64.ddeb data.tar.xz # tar xvf data.tar.xz ./usr/lib/debug/boot/vmlinux-6.2.0-34-generic ./usr/lib/debug/boot/vmlinux-6.2.0-34-generic
Upstream crash (for now):
# apt build-dep -y crash # git clone https://github.com/crash-utility/crash.git # cd crash # make
Original package: ---
# ./crash /var/crash/202310072357/dump.202310072357 ./usr/lib/debug/boot/vmlinux-6.2.0-34-generic ... please wait... (gathering task table data) crash: page excluded: kernel virtual address: ffff9b13c2b826c8 type: "xa_node shift"
Patched package: ---
# wget https://launchpad.net/~mfo/+archive/ubuntu/test/+build/26759821/+files/makedumpfile_1.7.2-1ubuntu0.1_amd64.deb # apt install ./makedumpfile_1.7.2-1ubuntu0.1_amd64.deb
# kdump-config reload # kdump-config show | grep state: current state: ready to kdump # echo c >/proc/sysrq-trigger
# ./crash /var/crash/202310080054/dump.202310080054 ./usr/lib/debug/boot/vmlinux-6.2.0-34-generic ... KERNEL: ./usr/lib/debug/boot/vmlinux-6.2.0-34-generic DUMPFILE: /var/crash/202310080054/dump.202310080054 [PARTIAL DUMP] ... crash>
Hi Chengen,
The fix is included in 1.7.3 in mantic, so only lunar needs the fix.
We probably would like jammy as well, for compatibility with the 6.2+ HWE kernel (without regression to the 5.15 GA kernel).
Could you please check jammy for that too? (I'll add a task as Incomplete.)
$ git describe --contains 5f17bdd2128998a 3eeeb4521d136a1 92222fadb6
1.7.3~6
$ rmadison -a source makedumpfile 5~ubuntu14. 04.1 | trusty-backports | source 1ubuntu1~ 18.04.7 | bionic-updates | source
makedumpfile | 1.5.5-2ubuntu1 | trusty | source
makedumpfile | 1.5.5-2ubuntu1.6 | trusty-updates | source
makedumpfile | 1:1.5.9-
makedumpfile | 1:1.5.9-5 | xenial | source
makedumpfile | 1:1.6.3-2~16.04.3 | xenial-updates | source
makedumpfile | 1:1.6.3-2 | bionic | source
makedumpfile | 1:1.6.5-
makedumpfile | 1:1.6.7-1ubuntu2 | focal | source
makedumpfile | 1:1.6.7-1ubuntu2.4 | focal-updates | source
makedumpfile | 1:1.7.0-1build1 | jammy | source
makedumpfile | 1:1.7.2-1 | lunar | source
makedumpfile | 1:1.7.3-1 | mantic | source
Packages verified with LXD VM and upstream crash for now (before bug 2038248). All good!
Uploaded to Lunar.
Thanks!
Details:
---
Setup:
$ lxc launch --vm --config limits.memory=2GiB ubuntu:lunar mdf-l
$ lxc shell mdf-l
# apt update && apt install -y linux-image-generic linux-crashdump crash
# apt remove -y $(dpkg -l | awk '$2 ~ /linux-.*kvm/ { print $2 }')
# sed 's/crashkernel=[^ "]\+/crashkerne l=512M/ ' -i /etc/default/ grub.d/ kdump-tools. cfg sysrq-trigger
# update-grub
# reboot
# kdump-config show | grep state:
current state: ready to kdump
# echo c >/proc/
Debug symbols:
# wget https:/ /launchpad. net/ubuntu/ +archive/ primary/ +files/ linux-image- unsigned- 6.2.0-34- generic- dbgsym_ 6.2.0-34. 34_amd64. ddeb unsigned- 6.2.0-34- generic- dbgsym_ 6.2.0-34. 34_amd64. ddeb data.tar.xz debug/boot/ vmlinux- 6.2.0-34- generic lib/debug/ boot/vmlinux- 6.2.0-34- generic
# ar x linux-image-
# tar xvf data.tar.xz ./usr/lib/
./usr/
Upstream crash (for now):
# apt build-dep -y crash /github. com/crash- utility/ crash.git
# git clone https:/
# cd crash
# make
Original package:
---
# ./crash /var/crash/ 202310072357/ dump.2023100723 57 ./usr/lib/ debug/boot/ vmlinux- 6.2.0-34- generic
...
please wait... (gathering task table data)
crash: page excluded: kernel virtual address: ffff9b13c2b826c8 type: "xa_node shift"
Patched package:
---
# wget https:/ /launchpad. net/~mfo/ +archive/ ubuntu/ test/+build/ 26759821/ +files/ makedumpfile_ 1.7.2-1ubuntu0. 1_amd64. deb 1.7.2-1ubuntu0. 1_amd64. deb
# apt install ./makedumpfile_
# kdump-config reload sysrq-trigger
# kdump-config show | grep state:
current state: ready to kdump
# echo c >/proc/
# ./crash /var/crash/ 202310080054/ dump.2023100800 54 ./usr/lib/ debug/boot/ vmlinux- 6.2.0-34- generic debug/boot/ vmlinux- 6.2.0-34- generic 202310080054/ dump.2023100800 54 [PARTIAL DUMP]
...
KERNEL: ./usr/lib/
DUMPFILE: /var/crash/
...
crash>