public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
From: Suzuki Poulose <suzuki@in.ibm.com>
To: McClintock Matthew-B29882 <B29882@freescale.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
	Simon Horman <horms@verge.net.au>,
	Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>,
	"kexec@lists.infradead.org" <kexec@lists.infradead.org>,
	"M. Mohan Kumar" <mohan@in.ibm.com>,
	Vivek Goyal <vgoyal@redhat.com>
Subject: Re: [PATCH] kexec: powerpc: crash_dump: No backup region for PPC BookE
Date: Tue, 04 Oct 2011 08:51:19 +0530	[thread overview]
Message-ID: <4E8A7BAF.9020908@in.ibm.com> (raw)
In-Reply-To: <CAEsOVNefdrEgkSG9gO13kQW2akjYWX=Q6xEEkwxQ4Vv5ndfGKw@mail.gmail.com>

On 10/03/11 23:53, McClintock Matthew-B29882 wrote:
> On Mon, Oct 3, 2011 at 5:18 AM, Suzuki K. Poulose<suzuki@in.ibm.com>  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.

Thanks
Suzuki

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2011-10-04  3:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 10:18 [PATCH] kexec: powerpc: crash_dump: No backup region for PPC BookE Suzuki K. Poulose
2011-10-03 18:23 ` McClintock Matthew-B29882
2011-10-04  3:21   ` Suzuki Poulose [this message]
2011-10-04  3:26     ` Suzuki Poulose
2011-10-04  4:30       ` McClintock Matthew-B29882
2011-10-10  9:53 ` Suzuki Poulose
2011-10-21  7:48   ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E8A7BAF.9020908@in.ibm.com \
    --to=suzuki@in.ibm.com \
    --cc=B29882@freescale.com \
    --cc=ananth@in.ibm.com \
    --cc=horms@verge.net.au \
    --cc=kexec@lists.infradead.org \
    --cc=mahesh@linux.vnet.ibm.com \
    --cc=mohan@in.ibm.com \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox