kdump
kdump
reference:
linux/Documentation/admin-guide/kdump/kdump.rst
https://medium.com/@christina.jacob.koikara/kexec-and-kdump-on-arm64-e456132d410f
https://blog.csdn.net/weixin_44810385/article/details/117993046
http://www.pedestrian.com.cn/kernel/debug/kdump-kexec/index.html?highlight=kdump
https://blog.csdn.net/lsy673908720/article/details/90215501
kexec-tools编译
https://blog.csdn.net/m0_37797953/article/details/107491356?spm=1001.2014.3001.5502
wyk@ubuntu:~/tmp/kexec-tools/kexec-tools-2.0.25$ cat build.sh
#!/bin/sh
./configure ARCH=arm64 --build=x86_64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu --without-xen CC=x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc LD=x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld STRIP=x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-strip LDFLAGS=-static --prefix=~/tmp/kexec-tools/kexec-tools-2.0.25/output
make
make install
wyk@ubuntu:~/tmp/kexec-tools/kexec-tools-2.0.25$
crashkernel参数:
https://nanxiao.me/linux-kernel-note-46-crashkernel-configuration/