From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qy0-f170.google.com ([209.85.216.170]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PmPJD-0007Bo-MA for kexec@lists.infradead.org; Mon, 07 Feb 2011 11:31:08 +0000 Received: by qyk10 with SMTP id 10so1536835qyk.15 for ; Mon, 07 Feb 2011 03:31:05 -0800 (PST) Date: Mon, 7 Feb 2011 13:30:54 +0200 From: "Ahmed S. Darwish" Subject: [PATCH v2 -next] Documentation: Improve crashkernel= description Message-ID: <20110207113054.GA10388@laptop> References: <20110206154108.GA16542@laptop> <20110206215733.GB26233@verge.net.au> <20110206201448.4a259575.rdunlap@xenotime.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110206201448.4a259575.rdunlap@xenotime.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Randy Dunlap Cc: linux-doc@vger.kernel.org, kexec@lists.infradead.org, LKML , Haren Myneni , Simon Horman , Eric Biederman , Vivek Goyal Had to explore two C code files to make sense of the 'crashkernel=' kernel parameter values. Improve the situation. Signed-off-by: Ahmed S. Darwish --- diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 89835a4..5ad9980 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -545,9 +545,12 @@ and is between 256 and 4096 characters. It is defined in the file Format: ,,,[,] - crashkernel=nn[KMG]@ss[KMG] - [KNL] Reserve a chunk of physical memory to - hold a kernel to switch to with kexec on panic. + crashkernel=size[KMG][@offset[KMG]] + [KNL] Using kexec, Linux can switch to a 'crash kernel' + upon panic. This parameter reserves the physical + memory region [offset, offset + size] for that kernel + image. If '@offset' is omitted, then a suitable offset + is selected automatically. crashkernel=range1:size1[,range2:size2,...][@offset] [KNL] Same as above, but depends on the memory -- Darwish http://darwish.07.googlepages.com _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec