initscripts: add kdump scripts

this is initial kdump and kdump scripts, it looks when run kdump-config
load the first time, the kdump kernel can be loaded, and test crash dump
with echo c > /proc/sysrq-trigger result in system hang forever, then
had to power reset. after power reset, kdump-config load could no longer
load the kdump kernel, errors out with:

[root@bpfire-3 crash]# kdump-config load
cp: cannot stat '/etc/kdump/sysctl.conf': No such file or directory
Creating symlink /var/lib/kdump/vmlinuz.
ln: failed to create symbolic link '/var/lib/kdump/vmlinuz': No such file or directory
Unable to locate kernel hook ... failed!
Can't find kernel text map area from kcore
Cannot load /boot/vmlinuz-6.15.6-ipfire
failed to load kdump kernel ... failed!

so kdump is not working properly, but add the kdump scripts anyway, the
issue can be investigated later in future.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2025-08-22 21:38:29 +00:00
parent 8d0051d8f6
commit ca64eb8761
5 changed files with 1989 additions and 0 deletions

View File

@@ -97,6 +97,10 @@ etc/rc.d/init.d/loxilb
etc/rc.d/init.d/xdpdns
etc/rc.d/init.d/xdpsni
etc/rc.d/init.d/xdpgeoip
etc/rc.d/init.d/kdump-config
etc/rc.d/init.d/kdump-init-functions
etc/rc.d/init.d/kdump-tools
etc/rc.d/init.d/kdump-vars.sh
#etc/rc.d/rc0.d
#etc/rc.d/rc0.d/K01imspetor
#etc/rc.d/rc0.d/K01motion