kfan / rpms / kexec-tools

Forked from rpms/kexec-tools 3 years ago
Clone
0112f36
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
0112f36
# If no version is specified, then the init script will try to find a
0112f36
# kdump kernel with the same version number as the running kernel.
0112f36
KDUMP_KERNELVER=""
0112f36
0112f36
# The kdump commandline is the command line that needs to be passed off to
0112f36
# the kdump kernel.  This will likely match the contents of the grub kernel
0112f36
# line.  For example:
0112f36
#   KDUMP_COMMANDLINE="ro root=LABEL=/"
Dave Young ec8e35a
# Dracut depends on proper root= options, so please make sure that appropriate
Dave Young ec8e35a
# root= options are copied from /proc/cmdline. In general it is best to append
Dave Young ec8e35a
# command line options using "KDUMP_COMMANDLINE_APPEND=".
0112f36
# If a command line is not specified, the default will be taken from
0112f36
# /proc/cmdline
72e44cb
KDUMP_COMMANDLINE=""
0112f36
Dangyi Liu 3ec336c
# This variable lets us remove arguments from the current kdump commandline
Dangyi Liu 3ec336c
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
Dangyi Liu 3ec336c
# NOTE: some arguments such as crashkernel will always be removed
134c578
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb"
Dangyi Liu 3ec336c
d3c4b95
# This variable lets us append arguments to the current kdump commandline
Dangyi Liu 3ec336c
# after processed by KDUMP_COMMANDLINE_REMOVE
ff32968
KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 reset_devices novmcoredd"
d3c4b95
0112f36
# Any additional kexec arguments required.  In most situations, this should
0112f36
# be left empty
2603512
#
2603512
# Example:
2603512
#   KEXEC_ARGS="--elf32-core-headers"
0112f36
KEXEC_ARGS=""
dyoung@redhat.com 386c641
dyoung@redhat.com 386c641
#Where to find the boot image
dyoung@redhat.com 386c641
#KDUMP_BOOTDIR="/boot"
dyoung@redhat.com 386c641
dyoung@redhat.com 386c641
#What is the image type used for kdump
dyoung@redhat.com 386c641
KDUMP_IMG="vmlinuz"
d001bd1
8b0a755
# Logging is controlled by following variables in the first kernel:
8b0a755
#   - @var KDUMP_STDLOGLVL - logging level to standard error (console output)
8b0a755
#   - @var KDUMP_SYSLOGLVL - logging level to syslog (by logger command)
8b0a755
#   - @var KDUMP_KMSGLOGLVL - logging level to /dev/kmsg (only for boot-time)
d001bd1
#
8b0a755
# In the second kernel, kdump will use the rd.kdumploglvl option to set the
8b0a755
# log level in the above KDUMP_COMMANDLINE_APPEND.
8b0a755
#   - @var rd.kdumploglvl - logging level to syslog (by logger command)
8b0a755
#   - for example: add the rd.kdumploglvl=3 option to KDUMP_COMMANDLINE_APPEND
d001bd1
#
8b0a755
# Logging levels: no logging(0), error(1),warn(2),info(3),debug(4)
8b0a755
#
8b0a755
# KDUMP_STDLOGLVL=3
8b0a755
# KDUMP_SYSLOGLVL=0
8b0a755
# KDUMP_KMSGLOGLVL=0