Linux hangs during reboot on Jeremy's git kernel
Quoted 36 lines
Date: Mon, 8 Feb 2010 13:02:55 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
CC: [email protected]; [email protected]Quoted 15 lines · Mike Viau
Quoted 15 lines
Date: Mon, 8 Feb 2010 10:48:29 -0500
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]; [email protected]
Subject: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernelQuoted 6 lines · Mike Viau
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?
Quoted 7 lines
Quoted 4 lines
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!
Quoted 6 lines
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.
Quoted 6 lines
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.cfor 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.
Quoted 4 lines
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.
Quoted 5 lines
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?
Quoted 5 lines
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?
Quoted 6 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
_________________________________________________________________
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 6 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 6 lines
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.cfor 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.
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?
Quoted 7 lines
Quoted 5 lines
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.
Diff would do it. Look for shutdown.c and reboot.c file. ..snip ..
Quoted 5 lines
Quoted 3 lines
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?
Probably not. The shutdown/reboot code is similar to the upstream kernel. So if the upstream is not working, then this one wouldn't either.
Quoted 20 lines
Date: Mon, 8 Feb 2010 16:07:36 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
CC: [email protected]; [email protected]Quoted 13 lines
Quoted 1 line
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.
Quoted 6 lines
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.cfor details.
Quoted 5 lines
Quoted 1 line
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.
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?
Well its not the 'latest' linux kernel, but I installed 2.6.30-8-amd64 from http://packages.debian.org/lenny-backports/kernel/linux-image-2.6.30-bpo.2-amd64 and the reboot hangs the same way.
That leads me to believe something in the mechanism of a system reboot has changed since 2.6.26-2-amd64.
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
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.Diff would do it. Look for
shutdown.candreboot.cfile.
I don't find any shutdown.c file oddly enough. I have found multiple reboot.c though.
/usr/src/linux-2.6-xen/arch/sparc/kernel/reboot.c /usr/src/linux-2.6-xen/arch/um/kernel/reboot.c /usr/src/linux-2.6-xen/arch/x86/kernel/reboot.c /usr/src/linux-2.6-xen/arch/blackfin/kernel/reboot.c /usr/src/linux-2.6-xen/drivers/acpi/reboot.c
and
/usr/src/linux-2.6-2.6.26/arch/um/kernel/reboot.c /usr/src/linux-2.6-2.6.26/arch/x86/kernel/reboot.c /usr/src/linux-2.6-2.6.26/arch/x86/mach-visws/reboot.c /usr/src/linux-2.6-2.6.26/arch/blackfin/kernel/reboot.c
Which one of these reboot.c should I diff against each other?
Quoted 7 lines
..snip ..
Quoted 5 lines
Quoted 3 lines
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?
Quoted 8 lines
Probably not. The shutdown/reboot code is similar to the upstream kernel. So if the upstream is not working, then this one wouldn't either.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-M
_________________________________________________________________
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
From: [email protected]
To: [email protected]
Subject: RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
Date: Tue, 9 Feb 2010 11:50:29 -0500
CC: [email protected]; [email protected]
Quoted 19 lines
Date: Mon, 8 Feb 2010 16:07:36 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
CC: [email protected]; [email protected]Quoted 13 lines
Quoted 1 line
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.
Quoted 6 lines
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.cfor details.
Quoted 5 lines
Quoted 1 line
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.
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?
Well its not the 'latest' linux kernel, but I installed 2.6.30-8-amd64 from http://packages.debian.org/lenny-backports/kernel/linux-image-2.6.30-bpo.2-amd64 and the reboot hangs the same way.
That leads me to believe something in the mechanism of a system reboot has changed since 2.6.26-2-amd64.
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
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.Diff would do it. Look for
shutdown.candreboot.cfile.
I don't find any shutdown.c file oddly enough. I have found multiple reboot.c though.
/usr/src/linux-2.6-xen/arch/sparc/kernel/reboot.c /usr/src/linux-2.6-xen/arch/um/kernel/reboot.c /usr/src/linux-2.6-xen/arch/x86/kernel/reboot.c /usr/src/linux-2.6-xen/arch/blackfin/kernel/reboot.c /usr/src/linux-2.6-xen/drivers/acpi/reboot.c
and
/usr/src/linux-2.6-2.6.26/arch/um/kernel/reboot.c /usr/src/linux-2.6-2.6.26/arch/x86/kernel/reboot.c /usr/src/linux-2.6-2.6.26/arch/x86/mach-visws/reboot.c /usr/src/linux-2.6-2.6.26/arch/blackfin/kernel/reboot.c
Which one of these reboot.c should I diff against each other?
EDIT: Attached are diff.out & diff.out2 (with side-by-side)
Working reboot.c as first file, Jermemy's reboot.c as second file.
root@localhost:/usr/src# diff ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out root@localhost:/usr/src# nano diff.out root@localhost:/usr/src# diff -y ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out2
Quoted 7 lines
..snip ..
Quoted 5 lines
Quoted 3 lines
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?
Quoted 8 lines
Probably not. The shutdown/reboot code is similar to the upstream kernel. So if the upstream is not working, then this one wouldn't either.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-M
Windows® phone-your Windows stuff, on the go. See more.
_________________________________________________________________
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
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.
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?Well its not the 'latest' linux kernel, but I installed 2.6.30-8-amd64 from http://packages.debian.org/lenny-backports/kernel/linux-image-2.6.30-bpo.2-amd64 and the reboot hangs the same way.
That is too old. Use the one from http://kernel.org/. You will have to compile it.
Quoted 2 lines
That leads me to believe something in the mechanism of a system reboot has changed since 2.6.26-2-amd64.
Just to be clear, your problem is not related to Xen, as your problem happen on bare-metal, so I am changing the title.
.. snip..
Quoted 3 lines
root@localhost:/usr/src# diff ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out root@localhost:/usr/src# nano diff.out root@localhost:/usr/src# diff -y ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out2
Yes. Thanks for the diffs. There is nothing in it that catches my eye
as: "This is it!"
RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
Quoted 9 lines
Date: Tue, 9 Feb 2010 15:31:23 -0500
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-devel] 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset.Quoted 2 lines
Quoted 2 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?Well its not the 'latest' linux kernel, but I installed 2.6.30-8-amd64 from http://packages.debian.org/lenny-backports/kernel/linux-image-2.6.30-bpo.2-amd64 and the reboot hangs the same way.
That is too old. Use the one from http://kernel.org/. You will have to compile it.
Latest Stable Kernel:
2.6.32.8http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2 I will download the tarball and compile it ASAP.
Quoted 6 lines
Quoted 2 lines
That leads me to believe something in the mechanism of a system reboot has changed since 2.6.26-2-amd64.
Just to be clear, your problem is not related to Xen, as your problem happen on bare-metal, so I am changing the title.
.. snip..
Quoted 6 lines
Quoted 3 lines
root@localhost:/usr/src# diff ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out root@localhost:/usr/src# nano diff.out root@localhost:/usr/src# diff -y ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out2Yes. Thanks for the diffs. There is nothing in it that catches my eye
as: "This is it!"
Shall I attach the complete reboot.c files? Also I agree the subject fits better, I have just changed fails to shutdown to fails to restart as that is where my problems lies.
Additionally is there any other info I can get you from my machine that will assist?
I have updated my system's BIOS to the latest version, but it has been the same version since I started this thread on this issue.
http://downloadmirror.intel.com/18605/eng/KG_4507_ReleaseNotes.pdf
And my mothboard is an Intel® Desktop Board DP55WG
http://ark.intel.com/Product.aspx?id=40078
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-M
_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9708121
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
RE: 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
From: [email protected]
To: [email protected]
Subject: RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
Date: Tue, 9 Feb 2010 16:18:30 -0500
CC: [email protected]; [email protected]
Quoted 8 lines
Date: Tue, 9 Feb 2010 15:31:23 -0500
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-devel] 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset.Quoted 2 lines
Quoted 2 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
<scratches his head> That is most bizzare.
Can you try to get the latest linux kernel and see how it works?Well its not the 'latest' linux kernel, but I installed 2.6.30-8-amd64 from http://packages.debian.org/lenny-backports/kernel/linux-image-2.6.30-bpo.2-amd64 and the reboot hangs the same way.
That is too old. Use the one from http://kernel.org/. You will have to compile it.
Latest Stable Kernel:
2.6.32.8http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2 I will download the tarball and compile it ASAP.
**EDIT**
This kernel does the same hang. The good news is this might just be an issue with my hardware right? The bad news is I am not sure on what to try next. Has anyone got any suggestions?
Quoted 6 lines
Quoted 2 lines
That leads me to believe something in the mechanism of a system reboot has changed since 2.6.26-2-amd64.
Just to be clear, your problem is not related to Xen, as your problem happen on bare-metal, so I am changing the title.
.. snip..
Quoted 6 lines
Quoted 3 lines
root@localhost:/usr/src# diff ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out root@localhost:/usr/src# nano diff.out root@localhost:/usr/src# diff -y ./linux-2.6-2.6.26/arch/x86/kernel/reboot.c ./linux-2.6-xen/arch/x86/kernel/reboot.c > diff.out2Yes. Thanks for the diffs. There is nothing in it that catches my eye
as: "This is it!"
Shall I attach the complete reboot.c files? Also I agree the subject fits better, I have just changed fails to shutdown to fails to restart as that is where my problems lies.
Additionally is there any other info I can get you from my machine that will assist?
I have updated my system's BIOS to the latest version, but it has been the same version since I started this thread on this issue.
http://downloadmirror.intel.com/18605/eng/KG_4507_ReleaseNotes.pdf
And my mothboard is an Intel® Desktop Board DP55WG
http://ark.intel.com/Product.aspx?id=40078
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-M
_________________________________________________________________
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
Quoted 7 lines
2.6.32.8http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2 I will download the tarball and compile it ASAP.
**EDIT**
This kernel does the same hang. The good news is this might just be an issue with my hardware right? The bad news is I am not sure on what to try next. Has anyone got any suggestions?
Try the latest one. 2.6.33-rc<soimething> IT might have a fix for this.
RE: 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
Quoted 10 lines
Date: Wed, 10 Feb 2010 10:58:47 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
CC: [email protected]; [email protected]Quoted 3 lines
2.6.32.8http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2 I will download the tarball and compile it ASAP.
Quoted 6 lines
Quoted 4 lines
**EDIT**
This kernel does the same hang. The good news is this might just be an issue with my hardware right? The bad news is I am not sure on what to try next. Has anyone got any suggestions?
Try the latest one. 2.6.33-rc<soimething> IT might have a fix for this.
OK. I will download that tarball and compile it ASAP.
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.33-rc7.tar.bz2
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9708121
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
In reply to Konrad Rzeszutek WilkFrom: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
Date: Wed, 10 Feb 2010 23:19:54 -0500
Quoted 9 lines
Date: Wed, 10 Feb 2010 10:58:47 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
CC: [email protected]; [email protected]Quoted 3 lines
2.6.32.8http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2 I will download the tarball and compile it ASAP.
Quoted 6 lines
Quoted 4 lines
**EDIT**
This kernel does the same hang. The good news is this might just be an issue with my hardware right? The bad news is I am not sure on what to try next. Has anyone got any suggestions?
Try the latest one. 2.6.33-rc<soimething> IT might have a fix for this.
OK. I will download that tarball and compile it ASAP.
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.33-rc7.tar.bz2
**EDIT**
Same story as the last, reboot still hangs even with the newest kernel available. Again the oddest thing is how the Debian 2.6.26-2-amd64 kernel reboots fine. Is it possible that Linux does not yet support my style motherboard? Is it Debian Lenny? Is there an issue with my /etc/inittab
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
If anyone else is running a similar hardware setup, what kernel are you using, what kernel arguments do you pass at bootup, and does your Linux hang on reboot?
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_________________________________________________________________
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users