[PATCH] 2.5.41: lkcd (7/8): dump configuration

From: Matt D. Robinson (yakker@aparity.com)
Date: Thu Oct 10 2002 - 15:04:36 EST


This patch adds the ability to configure crash dumps in the
kernel, including optional compression mechanisms and loading
of network crash dump capabilities.

 arch/i386/config.in | 7 +++++++
 lib/Config.in | 2 ++
 2 files changed, 9 insertions(+)

diff -Naur linux-2.5.41.orig/arch/i386/config.in linux-2.5.41.lkcd/arch/i386/config.in
--- linux-2.5.41.orig/arch/i386/config.in Mon Oct 7 11:24:02 2002
+++ linux-2.5.41.lkcd/arch/i386/config.in Tue Oct 8 01:15:13 2002
@@ -445,6 +445,13 @@
    dep_bool 'Software Suspend (EXPERIMENTAL)' CONFIG_SOFTWARE_SUSPEND $CONFIG_PM
 fi
 
+tristate 'Linux Kernel Crash Dump (LKCD) Support' CONFIG_CRASH_DUMP
+if [ "$CONFIG_CRASH_DUMP" != "n" ]; then
+ dep_tristate ' LKCD Block Device Driver' CONFIG_CRASH_DUMP_BLOCKDEV $CONFIG_CRASH_DUMP
+ dep_tristate ' LKCD RLE compression' CONFIG_CRASH_DUMP_COMPRESS_RLE $CONFIG_CRASH_DUMP
+ dep_tristate ' LKCD GZIP compression' CONFIG_CRASH_DUMP_COMPRESS_GZIP $CONFIG_CRASH_DUMP
+fi
+
 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
    bool ' Debug memory allocations' CONFIG_DEBUG_SLAB
diff -Naur linux-2.5.41.orig/lib/Config.in linux-2.5.41.lkcd/lib/Config.in
--- linux-2.5.41.orig/lib/Config.in Mon Oct 7 11:23:24 2002
+++ linux-2.5.41.lkcd/lib/Config.in Tue Oct 8 01:15:13 2002
@@ -26,10 +26,12 @@
 fi
 
 if [ "$CONFIG_PPP_DEFLATE" = "y" -o \
+ "$CONFIG_CRASH_DUMP_COMPRESS_GZIP" = "y" -o \
      "$CONFIG_JFFS2_FS" = "y" ]; then
    define_tristate CONFIG_ZLIB_DEFLATE y
 else
   if [ "$CONFIG_PPP_DEFLATE" = "m" -o \
+ "$CONFIG_CRASH_DUMP_COMPRESS_GZIP" = "m" -o \
        "$CONFIG_JFFS2_FS" = "m" ]; then
      define_tristate CONFIG_ZLIB_DEFLATE m
   else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:38 EST