From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754262AbZHFGVJ (ORCPT ); Thu, 6 Aug 2009 02:21:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754228AbZHFGVG (ORCPT ); Thu, 6 Aug 2009 02:21:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:43366 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754221AbZHFGVC (ORCPT ); Thu, 6 Aug 2009 02:21:02 -0400 Date: Thu, 6 Aug 2009 02:20:25 -0400 From: Amerigo Wang To: linux-kernel@vger.kernel.org Cc: tony.luck@intel.com, linux-ia64@vger.kernel.org, Neil Horman , "Eric W. Biederman" , Andi Kleen , Amerigo Wang , akpm@linux-foundation.org, Fenghua Yu , Ingo Molnar , Anton Vorontsov Message-Id: <20090806062246.5578.33397.sendpatchset@localhost.localdomain> In-Reply-To: <20090806062125.5578.72123.sendpatchset@localhost.localdomain> References: <20090806062125.5578.72123.sendpatchset@localhost.localdomain> Subject: [Patch 7/7] doc: update the kdump document Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the document for kdump. Signed-off-by: WANG Cong --- Index: linux-2.6/Documentation/kdump/kdump.txt =================================================================== --- linux-2.6.orig/Documentation/kdump/kdump.txt +++ linux-2.6/Documentation/kdump/kdump.txt @@ -147,6 +147,15 @@ System kernel config options analysis tools require a vmlinux with debug symbols in order to read and analyze a dump file. +4) Enable "automatically reserve memory for kexec kernel" in + "Processor type and features." + + CONFIG_KEXEC_AUTO_RESERVE=y + + This will let you to use "crashkernel=auto", instead of specifying + numbers for "crashkernel=". Note, you need to have enough memory. + The threshold and reserved memory size are arch-dependent. + Dump-capture kernel config options (Arch Independent) ----------------------------------------------------- @@ -266,6 +275,13 @@ This would mean: 2) if the RAM size is between 512M and 2G (exclusive), then reserve 64M 3) if the RAM size is larger than 2G, then reserve 128M +Or you can use: + + crashkernel=auto + +if you have enough memory. The threshold is 4G, below which this won't work. +Also the automatically reserved memory size would be 128M on x86, 256M on +other platforms that have KEXEC. Boot into System Kernel