mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Itsuro Oda <oda@valinux.co.jp>
Cc: fastboot@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [Fastboot] Yet another crash dump tool
Date: 05 Jan 2005 22:25:34 -0700	[thread overview]
Message-ID: <m1y8f7nn75.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20050106093723.6C35.ODA@valinux.co.jp>

Itsuro Oda <oda@valinux.co.jp> writes:

> Hi,
> 
> On 23 Dec 2004 04:59:03 -0700
> ebiederm@xmission.com (Eric W. Biederman) wrote:
> 
> > developed right now.  Would you be willing to work on the kexec system
> > call so we can get a infrastructure that reliably does what is needed
> > for everyone? 
> 
> We concentrate on the fault analysis. We think the original aim of the
> kexec (== fastboot) differ from the caputuring dump. However,
> since we apply the effort of the kexec project to mkdump, we are happy
> to return something to the kexec project. 

As a whole it has always been a goal.  The functionality was first
prototyped with kexec predecessor mcore.   At OLS this year there
appears to have been a lot of discussion the consensus reached was
that a kexec type mechanism was the way to go.  From comments Andrew
Morton has made I know it is something he would like to see.

Hariprasad Nellitheertha <hari@in.ibm.com>, and Vivek Goyal
<vgoyal@in.ibm.com> have recently been working on getting  the crash
dump case working.

Personally the crash dump case is not a large motivator but at the
same time I find handling the general case is quite important.
Currently I am in the process of cleaning things up and simplifying
them so hopefully we have something interesting.

> > Reading your documentation it seems to indicate that you have
> > successfully avoid using any memory that the crashing kernel used.
> > Is that correct?
> 
> No. If the code or the data structures running from crash occur to the
> mini kernel start (although it is very short) is damaged, starting the 
> mini kernel will fail.
> What we done (and will do partialy) is that the logical possibility of 
> the deadlock/hang condition is eliminated from the code running from 
> crash occur to the mini kernel start.

Let me clarify my question.

One of the problems  Hariprasad and Vivek seem to have been having is
that the keeping the crash dump kernel from using the first 1M.  You
have avoided that problem correct?

> > And just for a little active feedback.  While you safely tuck
> > your kernel away in your reserved area of memory it does not appear
> > you tuck away the data structures necessary to get there.  Which
> > makes me just a little nervous.
> 
> What do you mean "the data structures necessary to get there" ?
> The necessary information to run the mini kernel and to caputure dump 
> is stored in the reserved area at the same time of loading the mini kernel
> (during the kernel is normal).

As I recall from looking at your patch and it was obviously your last
version was that you were using kmalloc or get_free_pages for some 
of your data structures that controlled the loaded of the mini kernel
instead of allocating those data structures from the reserved area.

I'm not quite there as currently I have one structure still not
allocated in the reserved area.  But everything else is.

As soon as I can manage to focus I will have a new patch set out.

Eric

  reply	other threads:[~2005-01-06  5:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 23:05 Itsuro Oda
2004-10-14 11:29 ` Robin Holt
2004-10-15  0:08   ` Itsuro Oda
2004-10-15 13:06     ` Robin Holt
2004-10-18  3:33       ` Itsuro Oda
2004-12-23 11:59 ` [Fastboot] " Eric W. Biederman
2005-01-06  1:54   ` Itsuro Oda
2005-01-06  5:25     ` Eric W. Biederman [this message]
2005-01-06 23:55       ` Itsuro Oda

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=m1y8f7nn75.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=fastboot@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oda@valinux.co.jp \
    /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®