diff options
author | Wenlin Kang <wenlin.kang@windriver.com> | 2015-12-11 14:16:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:11:23 +0000 |
commit | c2492edcb9366ed1741fc6be7d41bc17844041fd (patch) | |
tree | 907233c2c7f7978fcb5feb489dd915063ec4a122 /meta/recipes-kernel/kexec/kexec-tools/kdump.conf | |
parent | 8e40d9d79bfffa8bc4b1dfd20e78e1554f6c9b00 (diff) | |
download | openembedded-core-contrib-c2492edcb9366ed1741fc6be7d41bc17844041fd.tar.gz |
kexec-tools: added the script kdump
Added the script file kdump,it provides the follow support:
1. Load a kdump kernel image into memory;
2. Copy away vmcore when system panic.
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools/kdump.conf')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/kdump.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.conf b/meta/recipes-kernel/kexec/kexec-tools/kdump.conf new file mode 100644 index 0000000000..42a2435b96 --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.conf @@ -0,0 +1,18 @@ +#the kdump kernel version string. +#KDUMP_KVER="`uname -r`" + +#this will be passed to the kdump kernel as kdump kernel command line, it +#usually comes from /proc/cmdline +#KDUMP_CMDLINE="`cat /proc/cmdline`" + +# append arguments to the kdump commandline +#KDUMP_CMDLINE_APPEND="kdump_needed maxcpus=1 irqpoll reset_devices" + +#the kernel image for kdump +#KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}" + +#Where to save the vmcore +#KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`" + +#the arguments to makedumpfile +MAKEDUMPFILE_ARGS="--dump-dmesg -x /boot/vmlinux-`uname -r`" |