All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Mike Viau <viaum@sheridanc.on.ca>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
Date: Mon, 8 Feb 2010 13:02:55 -0500	[thread overview]
Message-ID: <20100208180255.GA5854@phenom.dumpdata.com> (raw)
In-Reply-To: <BAY107-W85EA60F45027FB3E1059CEF510@phx.gbl>

On Mon, Feb 08, 2010 at 12:27:41PM -0500, Mike Viau wrote:
> 
> > Date: Mon, 8 Feb 2010 10:48:29 -0500
> > From: konrad.wilk@oracle.com
> > To: mike.viau@sheridanc.on.ca
> > CC: ahmad.hassan@gmail.com; xen-devel@lists.xensource.com; xen-users@lists.xensource.com
> > Subject: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's	git kernel
> > 
> > On Sat, Feb 06, 2010 at 09:58:13AM -0500, Mike Viau wrote:
> > > 
> > > Attached is a screen shot of the last messages I recieve during a system reboot. 
> > > 
> > > Note: The power is never cycled and Linux apprears to hang.
> > > 
> > > Is there something else I can try to resolve this issue?
> > 
> > I have the same issue (AMD development hardware) so I believe we haven't
> > fixed out all the bugs. If you are interested in resolving this I can
> > give you some ideas where to poke in the kernel/hypervisor code.
> > 
> 
> Absolutely,
> what can I do to help!

Need to narow down under what situations the kernel/hypervisor shuts
properly the machine.

For that we need to do a couple of variants:

a). Bare-metal. Boot pv-ops and shutdown. Does it do it?
b). If it does not, try an earlier kernel or a distro supplied one.

If the a) or b) don't work then you have a very unique motherboard
and we will need to play a bit with 'reboot=' command line arguments.
Look in arch/x86/kernel/reboot.c for details.

Lets assume that a) or b) do work. We want to find out what it does
to the machine. You can instrument the code (reboot.c?) and find out
which mechanism it uses.

Make sure the Xen hypervisor uses the same mechanism. You can toggle
those flags with the 'reboot=' arguments (look in arch/x86/shutdown.c)
After that, if you know that the reboot mechanism used by the bare-metal
is the same as the one used by the hypervisor, then there is something
amiss in the hypervisor that will have to be updated.

P.S.
What is weird is that your screenshot says "machine reboot" which only
shows up when you are running on bare-metal. Was that screen shot taken
when pv-ops was running under Xen or bare-metal?

  reply	other threads:[~2010-02-08 18:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 13:36 Linux hangs during reboot on Jeremy's git kernel Mike Viau
2010-02-05 14:12 ` [Xen-devel] " Ahmad Hassan
2010-02-06 14:58   ` Mike Viau
2010-02-08 15:48     ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-02-08 17:27       ` [Xen-users] " Mike Viau
2010-02-08 18:02         ` Konrad Rzeszutek Wilk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-02-06 16:49 Re: [Xen-devel] " Mike Viau
2010-02-08 18:59 Mike Viau
2010-02-08 21:07 ` [Xen-users] " Konrad Rzeszutek Wilk
2010-02-09 16:50   ` Re: [Xen-devel] " Mike Viau

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=20100208180255.GA5854@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=viaum@sheridanc.on.ca \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.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 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.