You are not logged in.

#1 2025-06-29 22:58:46

anacron
Member
Registered: 2020-01-26
Posts: 38

simple-kdump [AUR] test doesn't reach emergency shell

I have simple-kdump configured per the wiki, but when I run the test with

sync; echo 1 > /proc/sys/kernel/sysrq; echo c > /proc/sysrq-trigger

It hangs on a black screen for minutes and I have to hit the hard reset button. On reboot, /var/crash is empty.

Here is my configuration:

$ cat /proc/version
Linux version 6.12.35-1-lts (linux-lts@archlinux) (gcc (GCC) 15.1.1 20250425, GNU ld (GNU Binutils) 2.44.0) #1 SMP PREEMPT_DYNAMIC Fri, 27 Jun 2025 10:50:50 +0000
$ cat /proc/cmdline
BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=8b6b690a-6c28-49b2-9cdf-ab324e3224fb rw rootflags=subvol=@ crashkernel=8G resume=UUID=0b27a88c-f6aa-45f6-bbc5-5b1920a1b6db loglevel=3 quiet
$ cat /etc/conf.d/simple-kdump.conf 
# Kernel and initramfs for the kexec environment.
# Recommended to use the linux or linux-lts kernel with 'default' preset.
KERNEL=/boot/vmlinuz-linux-lts
INITRAMFS=/boot/initramfs-linux-lts.img

# No crashkernel= option for the kexec kernel cmdline.
# Just regular boot options, the extra needed ones will be added by
# simple-kdump-setup service automatically.
BOOT_OPTIONS=root=/dev/os/root rw loglevel=5 console=ttyS0
$ systemctl status simple-kdump-setup.service
● simple-kdump-setup.service - Setup kexec environment for simple-kdump
     Loaded: loaded (/usr/lib/systemd/system/simple-kdump-setup.service; enabled; preset: disabled)
     Active: active (exited) since Sun 2025-06-29 17:19:54 CDT; 33min ago
 Invocation: f539cf4fa6e747068f2624e4edc5f123
    Process: 1336 ExecStart=/usr/bin/kexec -p $KERNEL --initrd $INITRAMFS --append ${BOOT_OPTIONS} nr_cpus=1 reset_devices systemd.u>
   Main PID: 1336 (code=exited, status=0/SUCCESS)
   Mem peak: 79.8M
        CPU: 61ms

Jun 29 17:19:54 mycomputer systemd[1]: Starting Setup kexec environment for simple-kdump...
Jun 29 17:19:54 mycomputer systemd[1]: Finished Setup kexec environment for simple-kdump.

Offline

#2 2025-06-30 08:04:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,950

Re: simple-kdump [AUR] test doesn't reach emergency shell

Moving to AUR Issues, Discussion & PKGBUILD Requests board.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB