|
|
b9e861 |
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
|
|
|
b9e861 |
# If no version is specified, then the init script will try to find a
|
|
|
b9e861 |
# kdump kernel with the same version number as the running kernel.
|
|
|
b9e861 |
KDUMP_KERNELVER=""
|
|
|
b9e861 |
|
|
|
b9e861 |
# The kdump commandline is the command line that needs to be passed off to
|
|
|
b9e861 |
# the kdump kernel. This will likely match the contents of the grub kernel
|
|
|
b9e861 |
# line. For example:
|
|
|
b9e861 |
# KDUMP_COMMANDLINE="ro root=LABEL=/"
|
|
|
b9e861 |
# Dracut depends on proper root= options, so please make sure that appropriate
|
|
|
b9e861 |
# root= options are copied from /proc/cmdline. In general it is best to append
|
|
|
b9e861 |
# command line options using "KDUMP_COMMANDLINE_APPEND=".
|
|
|
b9e861 |
# If a command line is not specified, the default will be taken from
|
|
|
b9e861 |
# /proc/cmdline
|
|
|
b9e861 |
KDUMP_COMMANDLINE=""
|
|
|
b9e861 |
|
|
|
b9e861 |
# This variable lets us remove arguments from the current kdump commandline
|
|
|
b9e861 |
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
|
|
|
b9e861 |
# NOTE: some arguments such as crashkernel will always be removed
|
|
|
399b37 |
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb"
|
|
|
b9e861 |
|
|
|
b9e861 |
# This variable lets us append arguments to the current kdump commandline
|
|
|
b9e861 |
# after processed by KDUMP_COMMANDLINE_REMOVE
|
|
|
b9e861 |
KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off udev.children-max=2 panic=10 rootflags=nofail transparent_hugepage=never novmcoredd"
|
|
|
b9e861 |
|
|
|
b9e861 |
# Any additional /sbin/mkdumprd arguments required.
|
|
|
b9e861 |
MKDUMPRD_ARGS=""
|
|
|
b9e861 |
|
|
|
b9e861 |
# Any additional kexec arguments required. In most situations, this should
|
|
|
b9e861 |
# be left empty
|
|
|
b9e861 |
#
|
|
|
b9e861 |
# Example:
|
|
|
b9e861 |
# KEXEC_ARGS="--elf32-core-headers"
|
|
|
e97a90 |
KEXEC_ARGS="-s"
|
|
|
b9e861 |
|
|
|
b9e861 |
#Where to find the boot image
|
|
|
b9e861 |
#KDUMP_BOOTDIR="/boot"
|
|
|
b9e861 |
|
|
|
b9e861 |
#What is the image type used for kdump
|
|
|
b9e861 |
KDUMP_IMG="vmlinuz"
|
|
|
b9e861 |
|
|
|
b9e861 |
#What is the images extension. Relocatable kernels don't have one
|
|
|
b9e861 |
KDUMP_IMG_EXT=""
|