5cf148
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
5cf148
# If no version is specified, then the init script will try to find a
5cf148
# kdump kernel with the same version number as the running kernel.
5cf148
KDUMP_KERNELVER=""
5cf148
5cf148
# The kdump commandline is the command line that needs to be passed off to
5cf148
# the kdump kernel.  This will likely match the contents of the grub kernel
5cf148
# line.  For example:
5cf148
#   KDUMP_COMMANDLINE="ro root=LABEL=/"
5cf148
# Dracut depends on proper root= options, so please make sure that appropriate
5cf148
# root= options are copied from /proc/cmdline. In general it is best to append
5cf148
# command line options using "KDUMP_COMMANDLINE_APPEND=".
5cf148
# If a command line is not specified, the default will be taken from
5cf148
# /proc/cmdline
5cf148
KDUMP_COMMANDLINE=""
5cf148
5cf148
# This variable lets us remove arguments from the current kdump commandline
5cf148
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
5cf148
# NOTE: some arguments such as crashkernel will always be removed
5a6191
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma ignition.firstboot"
5cf148
5cf148
# This variable lets us append arguments to the current kdump commandline
5cf148
# after processed by KDUMP_COMMANDLINE_REMOVE
5cf148
KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices numa=off udev.children-max=2 panic=10 transparent_hugepage=never novmcoredd cma=0 hugetlb_cma=0"
5cf148
5cf148
# Any additional kexec arguments required.  In most situations, this should
5cf148
# be left empty
5cf148
#
5cf148
# Example:
5cf148
#   KEXEC_ARGS="--elf32-core-headers"
5cf148
KEXEC_ARGS=""
5cf148
5cf148
#Where to find the boot image
5cf148
#KDUMP_BOOTDIR="/boot"
5cf148
5cf148
#What is the image type used for kdump
5cf148
KDUMP_IMG="vmlinuz"
5cf148
5cf148
#What is the images extension.  Relocatable kernels don't have one
5cf148
KDUMP_IMG_EXT=""
5cf148
5cf148
# Logging is controlled by following variables in the first kernel:
5cf148
#   - @var KDUMP_STDLOGLVL - logging level to standard error (console output)
5cf148
#   - @var KDUMP_SYSLOGLVL - logging level to syslog (by logger command)
5cf148
#   - @var KDUMP_KMSGLOGLVL - logging level to /dev/kmsg (only for boot-time)
5cf148
#
5cf148
# In the second kernel, kdump will use the rd.kdumploglvl option to set the
5cf148
# log level in the above KDUMP_COMMANDLINE_APPEND.
5cf148
#   - @var rd.kdumploglvl - logging level to syslog (by logger command)
5cf148
#   - for example: add the rd.kdumploglvl=3 option to KDUMP_COMMANDLINE_APPEND
5cf148
#
5cf148
# Logging levels: no logging(0), error(1),warn(2),info(3),debug(4)
5cf148
#
5cf148
# KDUMP_STDLOGLVL=3
5cf148
# KDUMP_SYSLOGLVL=0
5cf148
# KDUMP_KMSGLOGLVL=0