1
# kdump-tools configuration
2
# ---------------------------------------------------------------------------
3
# USE_KDUMP - controls kdump will be configured
4
# 0 - kdump kernel will not be loaded
5
# 1 - kdump kernel will be loaded and kdump is configured
6
# KDUMP_SYSCTL - controls when a panic occurs, using the sysctl
7
# interface. The contents of this variable should be the
8
# "variable=value ..." portion of the 'sysctl -w ' command.
9
# If not set, the default value "kernel.panic_on_oops=1" will
10
# be used. Disable this feature by setting KDUMP_SYSCTL=" "
11
# Example - also panic on oom:
12
# KDUMP_SYSCTL="kernel.panic_on_oops=1 vm.panic_on_oom=1"
15
#KDUMP_SYSCTL="kernel.panic_on_oops=1"
18
# ---------------------------------------------------------------------------
20
# KDUMP_KERNEL - A full pathname to a kdump kernel.
21
# KDUMP_INITRD - A full pathname to the kdump initrd (if used).
22
# If these are not set, kdump-config will try to use the current kernel
23
# and initrd if it is relocatable. Otherwise, you will need to specify
29
# ---------------------------------------------------------------------------
31
# KDUMP_COREDIR - local path to save the vmcore to.
32
# KDUMP_FAIL_CMD - This variable can be used to cause a reboot or
33
# start a shell if saving the vmcore fails. If not set, "reboot -f"
35
# Example - start a shell if the vmcore copy fails:
36
# KDUMP_FAIL_CMD="echo 'makedumpfile FAILED.'; /bin/bash; reboot -f"
37
KDUMP_COREDIR="/var/crash"
38
#KDUMP_FAIL_CMD="reboot -f"
41
# ---------------------------------------------------------------------------
42
# Makedumpfile options:
43
# DEBUG_KERNEL - a debug version of the running kernel. If not set,
44
# kdump-config will use /usr/lib/debug/vmlinux-$(uname -r) if it is
45
# available. If it is not available, makedumpfile will be limited to
46
# dumping all pages in memory.
47
# MAKEDUMP_ARGS - extra arguments passed to makedumpfile (8). The default,
48
# if unset, is to pass '-c -d 31' telling makedumpfile to use compression
49
# and reduce the corefile to in-use kernel pages only.
51
#MAKEDUMP_ARGS="-c -d 31"
54
# ---------------------------------------------------------------------------
56
# KDUMP_KEXEC_ARGS - Additional arguments to the kexec command used to load
58
# Example - Use this option on x86 systems with PAE and more than
60
# KDUMP_KEXEC_ARGS="--elf64-core-headers"
61
# KDUMP_CMDLINE - The default is to use the contents of /proc/cmdline.
62
# Set this variable to override /proc/cmdline.
63
# KDUMP_CMDLINE_APPEND - Additional arguments to append to the command line
64
# for the kdump kernel. If unset, it defaults to "irqpoll maxcpus=1 nousb"
67
#KDUMP_CMDLINE_APPEND="irqpoll maxcpus=1 nousb"
69
# ---------------------------------------------------------------------------
70
# Architecture specific Overrides: