mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
5e4bb476c0
split kexec-tools into two packages, kexec and kdump. * kexec to simply execute a new kernel * kdump is for loading and collecting debris of a crashed kernel with support for kdump forensics. In order to properly support booting into a crashkernel, an init script as well as UCI configuration has been added. As modifying the kernel cmdline is required for this to work in x86 platforms use an uci-defaults script to modify /boot/grub/grub.cfg. To test collecting crash information, use the 'c' sysrq-trigger, ie. echo c > /proc/sysrq-trigger This should result in the crash kernel being executed and (depending on the configution) dmesg and/or vmcore getting saved. To check if the crash kernel was loaded properly, use the 'status' command of the kdump init script. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
15 lines
174 B
Plaintext
15 lines
174 B
Plaintext
menu "Configuration"
|
|
depends on PACKAGE_kexec
|
|
|
|
config KEXEC_ZLIB
|
|
bool
|
|
prompt "zlib support"
|
|
default y
|
|
|
|
config KEXEC_LZMA
|
|
bool
|
|
prompt "lzma support"
|
|
default n
|
|
|
|
endmenu
|