|
|
893e0b |
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
|
|
|
893e0b |
# If no version is specified, then the init script will try to find a
|
|
|
893e0b |
# kdump kernel with the same version number as the running kernel.
|
|
|
893e0b |
KDUMP_KERNELVER=""
|
|
|
893e0b |
|
|
|
893e0b |
# The kdump commandline is the command line that needs to be passed off to
|
|
|
893e0b |
# the kdump kernel. This will likely match the contents of the grub kernel
|
|
|
893e0b |
# line. For example:
|
|
|
893e0b |
# KDUMP_COMMANDLINE="ro root=LABEL=/"
|
|
|
893e0b |
# Dracut depends on proper root= options, so please make sure that appropriate
|
|
|
893e0b |
# root= options are copied from /proc/cmdline. In general it is best to append
|
|
|
893e0b |
# command line options using "KDUMP_COMMANDLINE_APPEND=".
|
|
|
893e0b |
# If a command line is not specified, the default will be taken from
|
|
|
893e0b |
# /proc/cmdline
|
|
|
893e0b |
KDUMP_COMMANDLINE=""
|
|
|
893e0b |
|
|
|
893e0b |
# This variable lets us remove arguments from the current kdump commandline
|
|
|
893e0b |
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
|
|
|
893e0b |
# NOTE: some arguments such as crashkernel will always be removed
|
|
|
f8bec6 |
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb"
|
|
|
893e0b |
|
|
|
893e0b |
# This variable lets us append arguments to the current kdump commandline
|
|
|
893e0b |
# after processed by KDUMP_COMMANDLINE_REMOVE
|
|
|
603de6 |
KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off udev.children-max=2 panic=10 rootflags=nofail transparent_hugepage=never novmcoredd"
|
|
|
893e0b |
|
|
|
893e0b |
# Any additional /sbin/mkdumprd arguments required.
|
|
|
893e0b |
MKDUMPRD_ARGS=""
|
|
|
893e0b |
|
|
|
893e0b |
# Any additional kexec arguments required. In most situations, this should
|
|
|
893e0b |
# be left empty
|
|
|
893e0b |
#
|
|
|
893e0b |
# Example:
|
|
|
893e0b |
# KEXEC_ARGS="--elf32-core-headers"
|
|
|
893e0b |
KEXEC_ARGS=""
|
|
|
893e0b |
|
|
|
893e0b |
#Where to find the boot image
|
|
|
893e0b |
#KDUMP_BOOTDIR="/boot"
|
|
|
893e0b |
|
|
|
893e0b |
#What is the image type used for kdump
|
|
|
893e0b |
KDUMP_IMG="vmlinuz"
|
|
|
893e0b |
|
|
|
893e0b |
#What is the images extension. Relocatable kernels don't have one
|
|
|
893e0b |
KDUMP_IMG_EXT=""
|