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