~ubuntu-branches/ubuntu/precise/makedumpfile/precise

« back to all changes in this revision

Viewing changes to debian/kdump-tools.default

  • Committer: Bazaar Package Importer
  • Author(s): John Wright
  • Date: 2010-03-03 17:17:35 UTC
  • mfrom: (1.1.3 upstream) (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100303171735-vxw4zqii21mcj0a0
Tags: 1.3.5-1
* New upstream version
* Preserve upstream's original makedumpfile.8 in clean target
* kdump-config: Fix a typo
* Switch to the "3.0 (quilt)" source format
  - Remove unneeded Build-Depends on quilt
* Update kdump-tools.README.Debian to reflect that recent kernels
  don't need a crash kernel start address
* Apply patch from Petter Reinholdtsen to fix incorrect dependencies
  in kdump-tools.init (Closes: #569685)
* Indicate support for Linux 2.6.32
  - Although upstream hasn't updated its LATEST_VERSION macro, this
    version works without modification on Linux 2.6.32.  Squelch a
    warning that a 2.6.32 kernel is not supported.
* Backport upstream commit 4a16bd39866093f4949f8e9dc183fa2321bda22d
  - Fix buffer overflow when writing dh->signature

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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"
 
13
#
 
14
USE_KDUMP=0
 
15
#KDUMP_SYSCTL="kernel.panic_on_oops=1"
 
16
 
 
17
 
 
18
# ---------------------------------------------------------------------------
 
19
# Kdump Kernel:
 
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 
 
24
#     these manually.
 
25
#KDUMP_KERNEL=
 
26
#KDUMP_INITRD=
 
27
 
 
28
 
 
29
# ---------------------------------------------------------------------------
 
30
# vmcore Handling:
 
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"
 
34
#     is the default.
 
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"
 
39
 
 
40
 
 
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.
 
50
#DEBUG_KERNEL=
 
51
#MAKEDUMP_ARGS="-c -d 31"
 
52
 
 
53
 
 
54
# ---------------------------------------------------------------------------
 
55
# Kexec/Kdump args
 
56
# KDUMP_KEXEC_ARGS - Additional arguments to the kexec command used to load
 
57
#     the kdump kernel
 
58
#     Example - Use this option on x86 systems with PAE and more than 
 
59
#     4 gig of memory:
 
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"
 
65
#KDUMP_KEXEC_ARGS=""
 
66
#KDUMP_CMDLINE=""
 
67
#KDUMP_CMDLINE_APPEND="irqpoll maxcpus=1 nousb"
 
68
 
 
69
# ---------------------------------------------------------------------------
 
70
# Architecture specific Overrides: