Tested in dump file form in s390x; working.
s390x
-----
vm
SERIES=noble
ARCH=s390x
DISK=${SERIES}_${ARCH}.qcow2
wget
https://cloud-images.ubuntu.com/$SERIES/current/${SERIES}-server-cloudimg-${ARCH}.img
qemu-img create -F qcow2 -b ${SERIES}-server-cloudimg-${ARCH}.img -f
qcow2 $DISK 8G
sudo apt install -y qemu-system-s390x
qemu-system-s390x \
-machine s390-ccw-virtio -cpu qemu \
\
-smp cpus=2 -m 2048 \
-nodefaults -no-user-config \
-nographic -serial stdio \
\
-drive file=$DISK,if=none,id=drive0 \
-device virtio-blk,drive=drive0 \
\
-drive file=test-cidata.iso,media=cdrom \
\
-netdev user,hostfwd=::22224-:22,id=net0 \
-device virtio-net,netdev=net0
$ ssh [email protected] -p 22224
$ lsb_release -cs
No LSB modules are available.
noble
$ uname -m
s390x
$ uname -rv
6.6.0-14-generic #14-Ubuntu SMP Thu Nov 30 09:46:34 UTC 2023
kdump-tools
sudo apt update && sudo apt install -y linux-crashdump # No, Yes
sudo sed '/^parameters =/ s/$/ crashkernel=512M/' -i /etc/zipl.conf
sudo zipl && sudo reboot
$ sudo dmesg | grep 'crashkernel.*RAM'
[ 1.176382] setup: Reserving 512MB of memory at 1509MB for
crashkernel (System RAM: 1536MB)
$ sudo kdump-config status
current state : ready to kdump
crashdump
$ echo c | sudo tee /proc/sysrq-trigger
$ find /var/crash
/var/crash
/var/crash/kexec_cmd
/var/crash/kdump_lock
/var/crash/linux-image-6.6.0-14-generic-202401091639.crash
/var/crash/202401091639
/var/crash/202401091639/dmesg.202401091639
/var/crash/202401091639/dump.202401091639
debug symbols
dpkg -l | awk '$2 ~ /linux-image-[0-9.-]+-generic/ { print $2, $3}' \
| while read pkg version; do \
dbgpkg="linux-image-${pkg#linux-image-}-dbgsym"; \
arch=$(dpkg --print-architecture); \
wget
"https://launchpad.net/ubuntu/+archive/primary/+files/${dbgpkg}_${version}_${arch}.ddeb";
\
done
ar p linux-image-*-dbgsym_*.ddeb data.tar.xz | tar xJ
--wildcards './usr/lib/debug/boot/vmlinux-*-generic'
crash
sudo add-apt-repository -y ppa:mfo/lp2047861-noble-crash && sudo
apt install -y crash
# dpkg -s crash | grep Version:
Version: 8.0.4-1ubuntu1
# crash ./usr/lib/debug/boot/vmlinux-*-generic /var/crash/*/dump.*
...
KERNEL: ./usr/lib/debug/boot/vmlinux-6.6.0-14-generic
DUMPFILE: /var/crash/202401091639/dump.202401091639 [PARTIAL DUMP]
CPUS: 2
DATE: Tue Jan 9 16:36:47 UTC 2024
UPTIME: 00:06:08
LOAD AVERAGE: 2.56, 2.20, 1.11
TASKS: 148
NODENAME: test
RELEASE: 6.6.0-14-generic
VERSION: #14-Ubuntu SMP Thu Nov 30 09:46:34 UTC 2023
MACHINE: s390x (unknown Mhz)
MEMORY: 2 GB
PANIC: "Kernel panic - not syncing: sysrq triggered crash"
PID: 1615
COMMAND: "tee"
TASK: 4bd2400 [THREAD_INFO: 4bd2400]
CPU: 0
STATE: TASK_RUNNING (PANIC)
crash> bt
PID: 1615 TASK: 4bd2400 CPU: 0 COMMAND: "tee"
LOWCORE INFO:
-psw : 0x0400c00180000000 0x0000000000126220
-function : __do_machine_kdump at 126220
-prefix : 0x026e8000
-cpu timer: 0x7ffffea07b16f64d
-clock cmp: 0x796343ea7b0db800
-general registers:
0x00000000026bd400 0x00000000026bd400
0x0000000000126220 0x000000007f239800
000000000000000000 000000000000000000
0x000000007f239800 0x0000000001743958
0x000000007f239800 000000000000000000
0x0000000001743c90 0x0000000000000002
0x000003ff960d9c80 0x0000000000fa24d0
0x00000000001263ee 0x00000000026b7db8
-access registers:
0x000003ff 0x962fa760 0000000000 0000000000
0000000000 0000000000 0000000000 0000000000
0000000000 0000000000 0000000000 0000000000
0000000000 0000000000 0000000000 0000000000
-control registers:
0x0000000014166a10 0x00000000020ec007
0x00000000000ff140 000000000000000000
0x000000000000ffff 0x00000000000ff140
0x0000000030000000 0x000000000474c1c7
0x0000000000008000 000000000000000000
000000000000000000 000000000000000000
000000000000000000 0x00000000020ec007
0x00000000db000000 0x00000000000ff000
-floating point registers:
0x000002aa1fe4e383 0x5554462d38004c43
0x000003ff960db4c3 0x0000000000000005
0x75746638000daa08 0x75746638000daa08
0x000003ff960da9d8 0x0000000000000004
0x0000000000000002 0x000002aa1644b820
0x000003ffe8bf79d8 0x000002aa1644cfd0
000000000000000000 000000000000000000
0x000002aa08d225c8 0x000003ffced7942f
#0 [026b7e20] __machine_kexec at 126510
#1 [026b7e98] pcpu_delegate at 11c74a
#2 [38000367978] smp_call_ipl_cpu at 11e13e
#3 [38000367998] __crash_kexec at 2b4c8a
#4 [38000367a90] panic at 1ab198
#5 [38000367b38] sysrq_reset_seq_param_set at a618d0
#6 [38000367b50] __handle_sysrq at a62644
#7 [38000367bc8] write_sysrq_trigger at a63104
#8 [38000367c00] proc_reg_write at 625136
#9 [38000367c50] vfs_write at 55b7e4
#10 [38000367d10] ksys_write at 55bd10
#11 [38000367d60] __do_syscall at ea75d8
#12 [38000367e98] system_call at eb9708
PSW: 0705200180000000 000003ff9601715a (user space)
GPRS: 0000000000000150 0000000000000004 ffffffffffffffda
000003ffe8bf79d8
0000000000000002 000003ff960e1ea8 000003ff960d91e0
0000000000000002
0000000000000002 000002aa1fe4e300 000003ffe8bf79d8
0000000000000002
000003ff960d9c80 0000000000000001 000003ff95f9369c
000003ffe8bf75c0
crash> quit
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to crash in Ubuntu.
https://bugs.launchpad.net/bugs/2047861
Title:
Merge crash 8.0.4-1 into Noble
Status in crash package in Ubuntu:
In Progress
Bug description:
$ rmadison -a source crash | grep noble
crash | 8.0.3+ds1-3ubuntu1 | noble | source
$ rmadison -a source -u debian -s unstable crash
crash | 8.0.4-1 | unstable | source
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/2047861/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp