From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e23smtp03.au.ibm.com ([202.81.31.145]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RAvel-0000yn-CD for kexec@lists.infradead.org; Tue, 04 Oct 2011 03:27:00 +0000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp03.au.ibm.com (8.14.4/8.13.1) with ESMTP id p943LK51029878 for ; Tue, 4 Oct 2011 14:21:20 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p943OdYa1622242 for ; Tue, 4 Oct 2011 14:24:39 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p943Qq98016406 for ; Tue, 4 Oct 2011 14:26:52 +1100 Message-ID: <4E8A7CF9.9020009@in.ibm.com> Date: Tue, 04 Oct 2011 08:56:49 +0530 From: Suzuki Poulose MIME-Version: 1.0 Subject: Re: [PATCH] kexec: powerpc: crash_dump: No backup region for PPC BookE References: <20111003101746.30979.44424.stgit@suzukikp.in.ibm.com> <4E8A7BAF.9020908@in.ibm.com> In-Reply-To: <4E8A7BAF.9020908@in.ibm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: McClintock Matthew-B29882 Cc: Ananth N Mavinakayanahalli , Simon Horman , Mahesh Jagannath Salgaonkar , "kexec@lists.infradead.org" , "M. Mohan Kumar" , Vivek Goyal On 10/04/11 08:51, Suzuki Poulose wrote: > On 10/03/11 23:53, McClintock Matthew-B29882 wrote: >> On Mon, Oct 3, 2011 at 5:18 AM, Suzuki K. Poulose wrote: >>> Disable backup regions for BookE in case of a CRASH Dump, as they can >>> be run from anywhere. >>> >>> The patch introduces --with-booke option to support the BookE. >>> >>> With the patch, we get : >>> >>> ## On a 256M machine: >>> >>> # busybox cat /proc/cmdline >>> init=/bin/init console=ttyS0,16550 crashkernel=128M@100M >>> # kexec -p root/vmlinux >>> usable memory rgns size:1 base:6400000 size:8000000 >>> CRASH MEMORY RANGES >>> 0000000000000000-0000000006400000 >>> 000000000e400000-0000000010000000 >>> Command line after adding elfcorehdr: elfcorehdr=112380K >>> Command line after adding elfcorehdr: elfcorehdr=112380K savemaxmem=256M >> >> So there were two crash regions when we only needed the one specified >> on the command line? >> > Yes, and isn't that is expected ? The first kernel uses the memory region > (0-100M), (228M,256M). Where the 100-228M is reserved for crash kernel. The CRASH MEMORY RANGES denotes the memory ranges of the crashed kernel and usable memory regions denote the memory usable by the second kernel. Thanks Suzuki _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec