mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@in.ibm.com>
To: Valdis.Kletnieks@vt.edu
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Andrew Morton <akpm@osdl.org>,
	fastboot@lists.osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [Fastboot] Stupid kexec/kdump question...
Date: Wed, 27 Sep 2006 09:11:23 -0400	[thread overview]
Message-ID: <20060927131123.GA2514@in.ibm.com> (raw)
In-Reply-To: <200609271251.k8RCpp6X029724@turing-police.cc.vt.edu>

On Wed, Sep 27, 2006 at 08:51:50AM -0400, Valdis.Kletnieks@vt.edu wrote:
> On Wed, 27 Sep 2006 02:00:07 MDT, Eric W. Biederman said:
[..]
> > At that level I would say that below 32M is where you start dealing with
> > custom built programs, instead of slapping a bunch of utilities inside
> > a ramdisk.  I suspect with a little care you could get a few K user
> > space executable and fit everything inside of 4M.  But I don't know if anyone
> > is that ambitious yet.
> 
> Well, the stripped down kernel is right around 2M.  Unfortunately, I need
> to run lvm.static, which is another 1.5M at least.  So unless busybox has
> grown support for LVM, I'm looking at 8M at best.
> 
> Another stupid question - I see how the first kernel gets the 'crashkernel='
> parameter and knows how much space there is.  But if you set it to 32M@16M,
> how does the kdump kernel know it only has 32M?  Or does it just start at
> the 16M line, and it's your job to make sure it doesn't go over the 48M line
> and start corrupting the dump?
> 

Kdump kernel is booted with User defined memory map. For this purpose
kexec-tools passes memmap=exactmap option on command line to the second
kernel. Hence second kernel execution is bounded within reserved memory
region.

-Vivek

  reply	other threads:[~2006-09-27 13:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 15:25 Valdis.Kletnieks
2006-09-27  5:10 ` Andrew Morton
2006-09-27  5:27   ` [Fastboot] " Horms
2006-09-27  8:00     ` Eric W. Biederman
2006-09-27 12:51       ` Valdis.Kletnieks
2006-09-27 13:11         ` Vivek Goyal [this message]
2006-09-27 13:24         ` Vivek Goyal
2006-09-27 14:44           ` Valdis.Kletnieks

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=20060927131123.GA2514@in.ibm.com \
    --to=vgoyal@in.ibm.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@osdl.org \
    --cc=ebiederm@xmission.com \
    --cc=fastboot@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®