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