[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623177: linux-2.6: Please enable CONFIG_CRASH_DUMP on x86 architectures



Source: linux-2.6
Severity: wishlist
Tags: patch

Now that we ship debug info, missing CONFIG_CRASH_DUMP=y is the only
thing preventing users of stock Debian kernels from easily taking crash
dumps with makedumpfile/kdump-tools and analyzing them with the crash
utility.

I have built a kernel with the attached patch (against
dists/sid/linux-2.6/debian) to verify that it builds and that it allows
makedumpfile to successfuly take a crash dump.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
John Wright <jsw@debian.org>
>From f3ac73731480704de0c46ada854f88122bed834b Mon Sep 17 00:00:00 2001
From: John Wright <john@johnwright.org>
Date: Sun, 17 Apr 2011 20:35:17 -0700
Subject: [PATCH] Enable CONFIG_CRASH_DUMP for x86 architectures

---
 config/kernelarch-x86/config |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/kernelarch-x86/config b/config/kernelarch-x86/config
index c852cd3..b9993b2 100644
--- a/config/kernelarch-x86/config
+++ b/config/kernelarch-x86/config
@@ -46,7 +46,7 @@ CONFIG_EFI=y
 CONFIG_SECCOMP=y
 CONFIG_CC_STACKPROTECTOR=y
 CONFIG_KEXEC=y
-# CONFIG_CRASH_DUMP is not set
+CONFIG_CRASH_DUMP=y
 # CONFIG_KEXEC_JUMP is not set
 CONFIG_RELOCATABLE=y
 CONFIG_HOTPLUG_CPU=y
-- 
1.7.4.4


Reply to: