xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* RE: Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
@ 2010-02-08 18:59 Mike Viau
  2010-02-08 21:07 ` [Xen-users] " Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Viau @ 2010-02-08 18:59 UTC (permalink / raw)
  To: konrad.wilk; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 3761 bytes --]







> Date: Mon, 8 Feb 2010 13:02:55 -0500
> From: konrad.wilk@oracle.com
> To: mike.viau@sheridanc.on.ca
> Subject: Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on	Jeremy's git kernel
> CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com
> 
> 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?

 Yes oddly enough, shutdown is fine, only hangs on reboot.

 Also I'd like to note I am only using the kernel as a bare-metal kernel, so I have not loaded it as a module in grub with the hypervisor.

> 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.
>

 I have tried using different reboot=X kernel command line arguments, but none of them have correct the rebooting issue. In fact the system hangs the same way in all cases.
 
> 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.
> 

 I know that the system reboot fine with the Debian 2.6.26-2-amd64 kernel. Please suggest how one might compare these kernels reboot.c. Shall I simply run the diff utility. I can read C source, but to truly understand it I feel I need to have written the code... With help I believe I can find the 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.

 Same for shutdown.c, perhaps you could be more precise on what to look for. I could send you the files from my system if you'd like?


> 
> 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?

 As mentioned previous, I was using bare-metal indeed. Should I expect the reboot functionality to work with Jeremy's kernel after using the Xen Hypervisor?

> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
 		 	   		  
_________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4776 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-11 20:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 18:59 Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel Mike Viau
2010-02-08 21:07 ` [Xen-users] " Konrad Rzeszutek Wilk
2010-02-09 16:50   ` Re: [Xen-devel] " Mike Viau
2010-02-09 17:02     ` [Xen-users] " Mike Viau
2010-02-09 20:31       ` 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset Konrad Rzeszutek Wilk
2010-02-09 21:18         ` [Xen-devel] 2.6.32.6 (baremetal) fails to restart " Mike Viau
2010-02-10 15:33           ` Mike Viau
2010-02-10 15:58             ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-02-11  4:19               ` Mike Viau
2010-02-11 20:10               ` [Xen-devel] " Mike Viau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).