|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's gi
> Date: Mon, 8 Feb 2010 13:02:55 -0500 > From: konrad.wilk@xxxxxxxxxx > To: mike.viau@xxxxxxxxxxxxxxx > Subject: Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel > CC: xen-devel@xxxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx > > 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@xxxxxxxxxx > > > To: mike.viau@xxxxxxxxxxxxxxx > > > CC: ahmad.hassan@xxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx > > > 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@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users
Not using Hotmail on your phone? Why not? Get it now.
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel,
Mike Viau <=
|
|
|
|
|