|
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
|
|
Petr Šabata |
f5bf49 |
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb"
|
|
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
|
|
Petr Šabata |
f5bf49 |
KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 reset_devices novmcoredd"
|
|
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"
|