0

I have set up kdump to debug an issue, and now I am trying to test it, because the issue I am trying to debug does not create a file in /var/crash. However, the test also does not work.

I am executing these commands as root:

echo "1" > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

No crash is triggered. The system (all screens) just freezes without any terminal output.

kdump configuration:

DUMP_MODE:        kdump
USE_KDUMP:        1
KDUMP_SYSCTL:     kernel.panic_on_oops=1
KDUMP_COREDIR:    /var/crash
crashkernel addr: 0x2b000000
   /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.19.0-18-amd64
kdump initrd: 
   /var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-4.19.0-18-amd64
current state:    ready to kdump

kexec command:
  /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.19.0-18-amd64 root=UUID=344b0749-09f1-442e-aec0-296b0ec2fa1f ro quiet nr_cpus=1 systemd.unit=kdump-tools.service irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz

Output of uname -a:

Linux debian 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

Some hardware details:

CPU: Ryzen Threadripper 2970WX RAM: 32GB Motherboard: MSI MEG X399 Creation

This link also did not help: https://stackoverflow.com/questions/48457579/kdump-cant-reboot-using-echo-c-proc-sysrq-trigger

Tom Atix
  • 101
  • 2

0 Answers0