All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Andy Pfiffer <andyp@osdl.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Suparna Bhattacharya <suparna@in.ibm.com>,
	Petr Vandrovec <VANDROVE@vc.cvut.cz>,
	fastboot@osdl.org, Werner Almesberger <wa@almesberger.net>,
	Pavel Machek <pavel@ucw.cz>, "Ph. Marek" <marek@bmlv.gv.at>,
	Pavel Roskin <proski@gnu.org>,
	Torrey Hoffman <thoffman@arnor.net>,
	Rob Landley <landley@trommello.org>,
	Kasper Dupont <kasperd@daimi.au.dk>
Subject: Re: [CFT] [PATCH] kexec 2.5.44 (minimal)
Date: 30 Oct 2002 20:59:20 -0700	[thread overview]
Message-ID: <m1r8e7gsx3.fsf@frodo.biederman.org> (raw)
In-Reply-To: <1036017717.1726.7.camel@andyp>

Andy Pfiffer <andyp@osdl.org> writes:

> On Mon, 2002-10-28 at 00:16, Eric W. Biederman wrote:
> > And is currently kept in two pieces.
> > The pure system call.
> > http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.44.x86kexec-2.diff
> > 
> > And the set of hardware fixes known to help kexec.
> >
> http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.44.x86kexec-hwfixes.diff
> 
> 
> Eric,
> 
> Hmmm... I'm having a lot more problems on my troublesome machine with
> this patchset than I did with the previous iteration.  I've
> triple-checked the application of the patches, but I can't even get
> kexec_test to start, much less run to completion.
> 
> The new behavior is that the system appears to hang immediately after
> invoking "kexec kexec_test".
> 
> What could I have done wrong?

With out some amount of output I don't have a clue.

With just the first patch it doesn't work on SMP, but I don't try it to see
what the failure mode was.

With the second patch all should be the same except the legacy pic actually
gets disabled.  I wonder if disabling the legacy pic locks your system?

There should be two printks one about shuting down devices,
and another about kexecing the image.  And knowing when which of those
printed could be useful.

In any event.  Remove the shutdown routine in arch/i386/kernel/i8259.c
That should restore the kernel to it's previous behavior if something really changed...

 static struct device_driver i8259A_driver = {
 	.name		= "pic",
 	.bus		= &system_bus_type,
 	.resume		= i8259A_resume,
- 	.shutdown	= i8259A_shutdown,
 };

Or you could try it with a uniprocessor kernel and just the first patch.

Eric


      reply	other threads:[~2002-10-31  4:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 10:10 kexec for 2.5.44 (Who do I send this to?) Eric W. Biederman
2002-10-19 19:23 ` Bill Davidsen
2002-10-19 21:36   ` Eric W. Biederman
2002-10-20 23:02   ` Rob Landley
2002-10-21 12:31   ` Alan Cox
2002-10-21 14:51     ` Eric W. Biederman
2002-10-21 20:54     ` Bill Davidsen
2002-10-20 19:09 ` Pavel Machek
2002-10-26 13:54   ` Eric W. Biederman
2002-10-27 17:44   ` Eric W. Biederman
2002-10-27 22:51     ` Eric W. Biederman
2002-10-30 14:02       ` Pavel Machek
2002-10-30 15:53         ` Eric W. Biederman
2002-10-28  8:16   ` [CFT] [PATCH] kexec 2.5.44 (minimal) Eric W. Biederman
2002-10-30 22:41     ` Andy Pfiffer
2002-10-31  3:59       ` Eric W. Biederman [this message]

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=m1r8e7gsx3.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=VANDROVE@vc.cvut.cz \
    --cc=andyp@osdl.org \
    --cc=fastboot@osdl.org \
    --cc=kasperd@daimi.au.dk \
    --cc=landley@trommello.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marek@bmlv.gv.at \
    --cc=pavel@ucw.cz \
    --cc=proski@gnu.org \
    --cc=suparna@in.ibm.com \
    --cc=thoffman@arnor.net \
    --cc=wa@almesberger.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.