Mike Viau
2010-Feb-05 02:43 UTC
[Xen-users] Linux hangs during reboot on Jeremy''s git kernel
I was unable to find issues in the mailing list archive pertaining to Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel which can reboot my system by ctrl+alt+del or by simply using the reboot command. Then I lost the ability to reboot after using my compiled PVOPS kernel. STEPS TAKEN TO BUILD PV DOM0: sudo apt-get install git-core kernel-package fakeroot build-essential ncurses-dev Then I checked out linux-2.6-xen to my source/building directory with: 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen 2) and then used the .config (renamed accordingly) @ http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 3) in the kernel source directorymake-kpkg clean 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers 5) everything compiled fine so I installed the outputted debs (dpkg -i *.deb) successfully 6) updated my grub configuration (menu.lst) The system boots fine, but then I just cannot restart the dom0. I tried the suggestions at: http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ Using the reboot= kernel options did not fix the rebooting issue. QUESTIONS: Firstly does anyone have a fix or patch for an issue like this? Secondly is there a more suitable or updated .config to use rather than the one I used for step #2 Thirdly I am using make-kpkg because I believe it to be the correct debian way. I looked for a way to build both a linux-image and linux-headers deb package for installation. I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, but this only builds the linux-image part into a deb. How might one use the Makefile options to include headers in the appropriate kernel and appropriate file system location? Thanks for looking :) -M _________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Feb-05 07:20 UTC
Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel
On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote:> Link: [1]File-List > Link: [2]themeData > Link: [3]colorSchemeMapping > > I was unable to find issues in the mailing list archive pertaining to > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel > which can reboot my system by ctrl+alt+del or by simply using the reboot > command. > > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > STEPS TAKEN TO BUILD PV DOM0: > > sudo apt-get install git-core kernel-package fakeroot build-essential > ncurses-dev > > Then I checked out linux-2.6-xen to my source/building directory with: > 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-xen > > 2) and then used the .config (renamed accordingly) > @ > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 > > 3) in the kernel source directory > > make-kpkg clean > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > *.deb) successfully > > 6) updated my grub configuration (menu.lst) > > The system boots fine, but then I just cannot restart the dom0. I tried > the suggestions at: > [4]http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ > > Using the reboot= kernel options did not fix the rebooting issue. > > QUESTIONS: > > Firstly does anyone have a fix or patch for an issue like this? >reboot and shutdown works for me now.. there was issues with it for a long time, but I thought all of those were already fixed. I guess there''s some bug left.. this might be xen-devel material.> Secondly is there a more suitable or updated .config to use rather than > the one I used for step #2 >After copying the config as .config, you should run "make oldconfig" to adapt it to your current kernel version. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-05 13:25 UTC
[Xen-users] RE: Linux hangs during reboot on Jeremy''s git kernel
> Date: Fri, 5 Feb 2010 09:20:14 +0200 > From: pasik@iki.fi > To: viaum@sheridanc.on.ca > CC: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > Link: [1]File-List > > Link: [2]themeData > > Link: [3]colorSchemeMapping > > > > I was unable to find issues in the mailing list archive pertaining to > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. > > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel > > which can reboot my system by ctrl+alt+del or by simply using the reboot > > command. > > > > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > sudo apt-get install git-core kernel-package fakeroot build-essential > > ncurses-dev > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > linux-2.6-xen > > > > 2) and then used the .config (renamed accordingly) > > @ > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 > > > > 3) in the kernel source directory > > > > make-kpkg clean > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers > > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > *.deb) successfully > > > > 6) updated my grub configuration (menu.lst) > > > > The system boots fine, but then I just cannot restart the dom0. I tried > > the suggestions at: > > [4]http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ > > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > QUESTIONS: > > > > Firstly does anyone have a fix or patch for an issue like this? > > > > reboot and shutdown works for me now.. there was issues with it for a long time, > but I thought all of those were already fixed. > > I guess there''s some bug left.. this might be xen-devel material. >Perhaps I should have mentioned that me hardware is fairly new. Intel i7 860 with P55 chipset. Regardless I am forwarding this to the devel list.> > Secondly is there a more suitable or updated .config to use rather than > > the one I used for step #2 > > > > After copying the config as .config, you should run "make oldconfig" to adapt > it to your current kernel version. >I wish it was this simple, I compared my compiled kernel config in /boot to the .config left in the kernel source directory and they are exact copies. Anyways I really do appreciate the suggestion Pasi!> -- Pasi >For the devel team. What information would assist solving the reboot hang. I look forward to working with anyone that wishes to help. Additionally I am using make-kpkg because I believe it to be the correct debian way. I looked for a way to build both a linux-image (vmlinuz + modules) deb binary and linux-headers deb binary package for installation. I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, but this only builds the linux-image part into a deb. I believe the source directory is used as the kernel head directory by default, however I''d prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file unpack just the kernel headers to that directory. How might one use the Makefile options to include headers for the appropriate kernel and appropriate file system location? Thanks. -M _________________________________________________________________ Check your Hotmail from your phone. http://go.microsoft.com/?linkid=9708121 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-05 13:36 UTC
[Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
From: viaum@sheridanc.on.ca To: pasik@iki.fi; xen-devel@lists.xensource.com CC: xen-users@lists.xensource.com Subject: RE: Linux hangs during reboot on Jeremy''s git kernel Date: Fri, 5 Feb 2010 08:25:56 -0500> Date: Fri, 5 Feb 2010 09:20:14 +0200 > From: pasik@iki.fi > To: viaum@sheridanc.on.ca > CC: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > Link: [1]File-List > > Link: [2]themeData > > Link: [3]colorSchemeMapping > > > > I was unable to find issues in the mailing list archive pertaining to > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. > > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel > > which can reboot my system by ctrl+alt+del or by simply using the reboot > > command. > > > > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > sudo apt-get install git-core kernel-package fakeroot build-essential > > ncurses-dev > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > linux-2.6-xen > > > > 2) and then used the .config (renamed accordingly) > > @ > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 > > > > 3) in the kernel source directory > > > > make-kpkg clean > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers > > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > *.deb) successfully > > > > 6) updated my grub configuration (menu.lst) > > > > The system boots fine, but then I just cannot restart the dom0. I tried > > the suggestions at: > > [4]http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ > > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > QUESTIONS: > > > > Firstly does anyone have a fix or patch for an issue like this? > > > > reboot and shutdown works for me now.. there was issues with it for a long time, > but I thought all of those were already fixed. > > I guess there''s some bug left.. this might be xen-devel material. >Perhaps I should have mentioned that me hardware is fairly new. Intel i7 860 with P55 chipset. Regardless I am forwarding this to the devel list.> > Secondly is there a more suitable or updated .config to use rather than > > the one I used for step #2 > > > > After copying the config as .config, you should run "make oldconfig" to adapt > it to your current kernel version. >I wish it was this simple, I compared my compiled kernel config in /boot to the .config left in the kernel source directory and they are exact copies. Anyways I really do appreciate the suggestion Pasi!> -- Pasi >For the devel team. What information would assist solving the reboot hang. I look forward to working with anyone that wishes to help. Additionally I am using make-kpkg because I believe it to be the correct debian way. I looked for a way to build both a linux-image (vmlinuz + modules) deb binary and linux-headers deb binary package for installation. I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, but this only builds the linux-image part into a deb. I believe the source directory is used as the kernel head directory by default, however I''d prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file unpack just the kernel headers to that directory. How might one use the Makefile options to include headers for the appropriate kernel and appropriate file system location? Thanks. -M Live connected with Hotmail on your phone. Learn more. _________________________________________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ahmad Hassan
2010-Feb-05 14:12 UTC
[Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
Hi Mike, Can you please share the screenshot of the screen where it hangs up? Thanks. Best Regards, Hassan On 5 February 2010 13:36, Mike Viau <viaum@sheridanc.on.ca> wrote:> From: viaum@sheridanc.on.ca > To: pasik@iki.fi; xen-devel@lists.xensource.com > CC: xen-users@lists.xensource.com > Subject: RE: Linux hangs during reboot on Jeremy''s git kernel > Date: Fri, 5 Feb 2010 08:25:56 -0500 > > > Date: Fri, 5 Feb 2010 09:20:14 +0200 > > From: pasik@iki.fi > > To: viaum@sheridanc.on.ca > > CC: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > > Link: [1]File-List > > > Link: [2]themeData > > > Link: [3]colorSchemeMapping > > > > > > I was unable to find issues in the mailing list archive pertaining to > > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. > > > > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 > kernel > > > which can reboot my system by ctrl+alt+del or by simply using the > reboot > > > command. > > > > > > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > > > sudo apt-get install git-core kernel-package fakeroot build-essential > > > ncurses-dev > > > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > > 1) git clone git:// > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > > linux-2.6-xen > > > > > > 2) and then used the .config (renamed accordingly) > > > @ > > > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 > > > > > > 3) in the kernel source directory > > > > > > make-kpkg clean > > > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers > > > > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > > *.deb) successfully > > > > > > 6) updated my grub configuration (menu.lst) > > > > > > The system boots fine, but then I just cannot restart the dom0. I tried > > > the suggestions at: > > > [4] > http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ > > > > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > > > QUESTIONS: > > > > > > Firstly does anyone have a fix or patch for an issue like this? > > > > > > > reboot and shutdown works for me now.. there was issues with it for a > long time, > > but I thought all of those were already fixed. > > > > I guess there''s some bug left.. this might be xen-devel material. > > > > Perhaps I should have mentioned that me hardware is fairly new. Intel i7 > 860 with P55 chipset. Regardless I am forwarding this to the devel list. > > > > Secondly is there a more suitable or updated .config to use rather than > > > the one I used for step #2 > > > > > > > After copying the config as .config, you should run "make oldconfig" to > adapt > > it to your current kernel version. > > > > I wish it was this simple, I compared my compiled kernel config in /boot to > the .config left in the kernel source directory and they are exact copies. > Anyways I really do appreciate the suggestion Pasi! > > > -- Pasi > > > > For the devel team. What information would assist solving the reboot hang. > I look forward to working with anyone that wishes to help. > > > Additionally I am using make-kpkg because I believe it to be the correct > debian way. I looked for a way to build both a linux-image (vmlinuz + > modules) deb binary and linux-headers deb binary package for installation. > > I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, > but this only builds the linux-image part into a deb. I believe the source > directory is used as the kernel head directory by default, however I''d > prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file > unpack just the kernel headers to that directory. > > How might one use the Makefile options to include headers for the > appropriate kernel and appropriate file system location? > > > Thanks. > > -M > > > ------------------------------ > Live connected with Hotmail on your phone. Learn more.<http://go.microsoft.com/?linkid=9708117> > ------------------------------ > Windows® phone-your Windows stuff, on the go. See more.<http://go.microsoft.com/?linkid=9708119> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-06 14:58 UTC
RE: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
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? Thanks. -M From: ahmad.hassan@gmail.com Date: Fri, 5 Feb 2010 14:12:44 +0000 Subject: Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel To: viaum@sheridanc.on.ca CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com Hi Mike, Can you please share the screenshot of the screen where it hangs up? Thanks. Best Regards, Hassan On 5 February 2010 13:36, Mike Viau <viaum@sheridanc.on.ca> wrote: From: viaum@sheridanc.on.ca To: pasik@iki.fi; xen-devel@lists.xensource.com CC: xen-users@lists.xensource.com Subject: RE: Linux hangs during reboot on Jeremy''s git kernel Date: Fri, 5 Feb 2010 08:25:56 -0500> Date: Fri, 5 Feb 2010 09:20:14 +0200 > From: pasik@iki.fi > To: viaum@sheridanc.on.ca > CC: xen-users@lists.xensource.com> Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > Link: [1]File-List > > Link: [2]themeData> > Link: [3]colorSchemeMapping > > > > I was unable to find issues in the mailing list archive pertaining to > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel.> > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel > > which can reboot my system by ctrl+alt+del or by simply using the reboot > > command. > >> > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > sudo apt-get install git-core kernel-package fakeroot build-essential> > ncurses-dev > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git> > linux-2.6-xen > > > > 2) and then used the .config (renamed accordingly) > > @ > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64> > > > 3) in the kernel source directory > > > > make-kpkg clean > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers> > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > *.deb) successfully > > > > 6) updated my grub configuration (menu.lst) > > > > The system boots fine, but then I just cannot restart the dom0. I tried> > the suggestions at: > > [4]http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/> > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > QUESTIONS: > > > > Firstly does anyone have a fix or patch for an issue like this? > >> > reboot and shutdown works for me now.. there was issues with it for a long time, > but I thought all of those were already fixed. > > I guess there''s some bug left.. this might be xen-devel material.>Perhaps I should have mentioned that me hardware is fairly new. Intel i7 860 with P55 chipset. Regardless I am forwarding this to the devel list.> > Secondly is there a more suitable or updated .config to use rather than> > the one I used for step #2 > > > > After copying the config as .config, you should run "make oldconfig" to adapt > it to your current kernel version. >I wish it was this simple, I compared my compiled kernel config in /boot to the .config left in the kernel source directory and they are exact copies. Anyways I really do appreciate the suggestion Pasi!> -- Pasi >For the devel team. What information would assist solving the reboot hang. I look forward to working with anyone that wishes to help. Additionally I am using make-kpkg because I believe it to be the correct debian way. I looked for a way to build both a linux-image (vmlinuz + modules) deb binary and linux-headers deb binary package for installation. I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, but this only builds the linux-image part into a deb. I believe the source directory is used as the kernel head directory by default, however I''d prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file unpack just the kernel headers to that directory. How might one use the Makefile options to include headers for the appropriate kernel and appropriate file system location? Thanks. -M Live connected with Hotmail on your phone. Learn more. Windows® phone-your Windows stuff, on the go. See more. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _________________________________________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ahmad Hassan
2010-Feb-06 15:49 UTC
[Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
Hi Mike, [Excluding xen developers list]>From this screenshot, I cannot tell the exact reason. Having said that, itlooks like a general kernel panic. Please make sure that you choose appropriate options during kernel compilation. Best Regards, Hassan On 6 February 2010 14:58, Mike Viau <viaum@sheridanc.on.ca> 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? > > Thanks. > > > -M > > > > > ------------------------------ > From: ahmad.hassan@gmail.com > Date: Fri, 5 Feb 2010 14:12:44 +0000 > Subject: Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel > > To: viaum@sheridanc.on.ca > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > > > > Hi Mike, > > Can you please share the screenshot of the screen where it hangs up? > > Thanks. > > Best Regards, Hassan > > > > > On 5 February 2010 13:36, Mike Viau <viaum@sheridanc.on.ca> wrote: > > From: viaum@sheridanc.on.ca > To: pasik@iki.fi; xen-devel@lists.xensource.com > CC: xen-users@lists.xensource.com > Subject: RE: Linux hangs during reboot on Jeremy''s git kernel > Date: Fri, 5 Feb 2010 08:25:56 -0500 > > > Date: Fri, 5 Feb 2010 09:20:14 +0200 > > From: pasik@iki.fi > > To: viaum@sheridanc.on.ca > > CC: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > > Link: [1]File-List > > > Link: [2]themeData > > > Link: [3]colorSchemeMapping > > > > > > I was unable to find issues in the mailing list archive pertaining to > > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel. > > > > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 > kernel > > > which can reboot my system by ctrl+alt+del or by simply using the > reboot > > > command. > > > > > > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > > > sudo apt-get install git-core kernel-package fakeroot build-essential > > > ncurses-dev > > > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > > 1) git clone git:// > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > > linux-2.6-xen > > > > > > 2) and then used the .config (renamed accordingly) > > > @ > > > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64 > > > > > > 3) in the kernel source directory > > > > > > make-kpkg clean > > > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers > > > > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > > *.deb) successfully > > > > > > 6) updated my grub configuration (menu.lst) > > > > > > The system boots fine, but then I just cannot restart the dom0. I tried > > > the suggestions at: > > > [4] > http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/ > > > > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > > > QUESTIONS: > > > > > > Firstly does anyone have a fix or patch for an issue like this? > > > > > > > reboot and shutdown works for me now.. there was issues with it for a > long time, > > but I thought all of those were already fixed. > > > > I guess there''s some bug left.. this might be xen-devel material. > > > > Perhaps I should have mentioned that me hardware is fairly new. Intel i7 > 860 with P55 chipset. Regardless I am forwarding this to the devel list. > > > > Secondly is there a more suitable or updated .config to use rather than > > > the one I used for step #2 > > > > > > > After copying the config as .config, you should run "make oldconfig" to > adapt > > it to your current kernel version. > > > > I wish it was this simple, I compared my compiled kernel config in /boot to > the .config left in the kernel source directory and they are exact copies. > Anyways I really do appreciate the suggestion Pasi! > > > -- Pasi > > > > For the devel team. What information would assist solving the reboot hang. > I look forward to working with anyone that wishes to help. > > > Additionally I am using make-kpkg because I believe it to be the correct > debian way. I looked for a way to build both a linux-image (vmlinuz + > modules) deb binary and linux-headers deb binary package for installation. > > I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, > but this only builds the linux-image part into a deb. I believe the source > directory is used as the kernel head directory by default, however I''d > prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file > unpack just the kernel headers to that directory. > > How might one use the Makefile options to include headers for the > appropriate kernel and appropriate file system location? > > > Thanks. > > -M > > > ------------------------------ > Live connected with Hotmail on your phone. Learn more.<http://go.microsoft.com/?linkid=9708117> > ------------------------------ > Windows® phone-your Windows stuff, on the go. See more.<http://go.microsoft.com/?linkid=9708119> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > ------------------------------ > Not using Hotmail on your phone? Why not? Get it now.<http://go.microsoft.com/?linkid=9708120> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-06 16:49 UTC
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
Hello Ahmad, I have used the .config for the x86_64 provided on: http://wiki.xensource.com/xenwiki/XenParavirtOps with little or no changes. Additionally I posted the current running .config compared against the one used to compile Jeremy''s git kernel at: http://lists.xensource.com/archives/html/xen-users/2010-02/txt1sUb7UJLal.txt I might suspect the problem is due to my hardware, it is quite new but then I can not explain why the older 2.6.26 Debian kernel works to reboot the computer. If there are tweaks that can be made in either the .config or the kernel source code, I''d be happy to recompile and test again! [Re-including xen developers list] Thanks. -M From: ahmad.hassan@gmail.com Date: Sat, 6 Feb 2010 15:49:16 +0000 To: mike.viau@sheridanc.on.ca CC: xen-users@lists.xensource.com Subject: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel Hi Mike, [Excluding xen developers list]>From this screenshot, I cannot tell the exact reason.Having said that, it looks like a general kernel panic. Please make sure that you choose appropriate options during kernel compilation. Best Regards, Hassan On 6 February 2010 14:58, Mike Viau <viaum@sheridanc.on.ca> 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? Thanks. -M From: ahmad.hassan@gmail.com Date: Fri, 5 Feb 2010 14:12:44 +0000 Subject: Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel To: viaum@sheridanc.on.ca CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com Hi Mike, Can you please share the screenshot of the screen where it hangs up? Thanks. Best Regards, Hassan On 5 February 2010 13:36, Mike Viau <viaum@sheridanc.on.ca> wrote: From: viaum@sheridanc.on.ca To: pasik@iki.fi; xen-devel@lists.xensource.com CC: xen-users@lists.xensource.com Subject: RE: Linux hangs during reboot on Jeremy''s git kernel Date: Fri, 5 Feb 2010 08:25:56 -0500> Date: Fri, 5 Feb 2010 09:20:14 +0200 > From: pasik@iki.fi > To: viaum@sheridanc.on.ca > CC: xen-users@lists.xensource.com> Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy''s git kernel > > On Thu, Feb 04, 2010 at 09:43:18PM -0500, Mike Viau wrote: > > Link: [1]File-List > > Link: [2]themeData> > Link: [3]colorSchemeMapping > > > > I was unable to find issues in the mailing list archive pertaining to > > Linux hanging during the reboot of the dom0 on Jeremy''s PV git kernel.> > > > I setup a fresh x86_64 Debian Lenny system using the 2.6.26-2-amd64 kernel > > which can reboot my system by ctrl+alt+del or by simply using the reboot > > command. > >> > Then I lost the ability to reboot after using my compiled PVOPS kernel. > > > > STEPS TAKEN TO BUILD PV DOM0: > > > > sudo apt-get install git-core kernel-package fakeroot build-essential> > ncurses-dev > > > > Then I checked out linux-2.6-xen to my source/building directory with: > > 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git> > linux-2.6-xen > > > > 2) and then used the .config (renamed accordingly) > > @ > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64> > > > 3) in the kernel source directory > > > > make-kpkg clean > > > > 4) CONCURRENCY_LEVEL=`grep -c ''^processor'' /proc/cpuinfo` fakeroot > > make-kpkg --initrd --append-to-version=-xen kernel_image kernel_headers> > > > 5) everything compiled fine so I installed the outputted debs (dpkg -i > > *.deb) successfully > > > > 6) updated my grub configuration (menu.lst) > > > > The system boots fine, but then I just cannot restart the dom0. I tried> > the suggestions at: > > [4]http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/> > > > Using the reboot= kernel options did not fix the rebooting issue. > > > > QUESTIONS: > > > > Firstly does anyone have a fix or patch for an issue like this? > >> > reboot and shutdown works for me now.. there was issues with it for a long time, > but I thought all of those were already fixed. > > I guess there''s some bug left.. this might be xen-devel material.>Perhaps I should have mentioned that me hardware is fairly new. Intel i7 860 with P55 chipset. Regardless I am forwarding this to the devel list.> > Secondly is there a more suitable or updated .config to use rather than> > the one I used for step #2 > > > > After copying the config as .config, you should run "make oldconfig" to adapt > it to your current kernel version. >I wish it was this simple, I compared my compiled kernel config in /boot to the .config left in the kernel source directory and they are exact copies. Anyways I really do appreciate the suggestion Pasi!> -- Pasi >For the devel team. What information would assist solving the reboot hang. I look forward to working with anyone that wishes to help. Additionally I am using make-kpkg because I believe it to be the correct debian way. I looked for a way to build both a linux-image (vmlinuz + modules) deb binary and linux-headers deb binary package for installation. I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg" phony, but this only builds the linux-image part into a deb. I believe the source directory is used as the kernel head directory by default, however I''d prefer it to be hard coded to /usr/src/$(kernel version) and have a deb file unpack just the kernel headers to that directory. How might one use the Makefile options to include headers for the appropriate kernel and appropriate file system location? Thanks. -M Live connected with Hotmail on your phone. Learn more. Windows® phone-your Windows stuff, on the go. See more. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel Not using Hotmail on your phone? Why not? Get it now. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _________________________________________________________________ Check your Hotmail from your phone. http://go.microsoft.com/?linkid=9708121 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Konrad Rzeszutek Wilk
2010-Feb-08 15:48 UTC
[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. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-08 17:27 UTC
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
> 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!> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-M _________________________________________________________________ Check your Hotmail from your phone. http://go.microsoft.com/?linkid=9708121 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Feb-08 18:02 UTC
Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
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? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-08 18:59 UTC
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
> 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_________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Konrad Rzeszutek Wilk
2010-Feb-08 21:07 UTC
Re: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
> > 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.<scratches his head> That is most bizzare. Can you try to get the latest linux kernel and see how it works?> > > 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 ..> > 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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mike Viau
2010-Feb-09 16:50 UTC
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
> Date: Mon, 8 Feb 2010 16:07:36 -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 > > > > 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. > > <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.> > > > > 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.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?> ..snip .. > > > 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. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-M _________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-09 17:02 UTC
RE: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy''s git kernel
From: mike.viau@sheridanc.on.ca To: konrad.wilk@oracle.com 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: xen-devel@lists.xensource.com; xen-users@lists.xensource.com> Date: Mon, 8 Feb 2010 16:07:36 -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 > > > > 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. > > <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.> > > > > 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.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> ..snip .. > > > 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. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-M Windows® phone-your Windows stuff, on the go. See more. _________________________________________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Feb-09 20:31 UTC
[Xen-users] 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset.
> > > 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.> > 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..> 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!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-09 21:18 UTC
[Xen-users] RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
> Date: Tue, 9 Feb 2010 15:31:23 -0500 > From: konrad.wilk@oracle.com > To: viaum@sheridanc.on.ca > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > Subject: [Xen-devel] 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset. > > > > > 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.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.> > > > 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.. > > 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!"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> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-M _________________________________________________________________ Check your Hotmail from your phone. http://go.microsoft.com/?linkid=9708121 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-10 15:33 UTC
RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
From: viaum@sheridanc.on.ca To: konrad.wilk@oracle.com 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: xen-devel@lists.xensource.com; xen-users@lists.xensource.com> Date: Tue, 9 Feb 2010 15:31:23 -0500 > From: konrad.wilk@oracle.com > To: viaum@sheridanc.on.ca > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > Subject: [Xen-devel] 2.6.32.6 (baremetal) fails to shutdown Intel i7 860 with P55 chipset. > > > > > 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.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?> > > > 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.. > > 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!"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> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-M _________________________________________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Feb-10 15:58 UTC
[Xen-users] Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
> 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. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Feb-11 04:19 UTC
RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
> Date: Wed, 10 Feb 2010 10:58:47 -0500 > From: konrad.wilk@oracle.com > To: viaum@sheridanc.on.ca > Subject: Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset. > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > > > 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.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> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_________________________________________________________________ Check your Hotmail from your phone. http://go.microsoft.com/?linkid=9708121 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mike Viau
2010-Feb-11 20:10 UTC
[Xen-users] RE: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset.
From: viaum@sheridanc.on.ca To: konrad.wilk@oracle.com CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com 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> Date: Wed, 10 Feb 2010 10:58:47 -0500 > From: konrad.wilk@oracle.com > To: viaum@sheridanc.on.ca > Subject: Re: [Xen-devel] 2.6.32.6 (baremetal) fails to restart Intel i7 860 with P55 chipset. > CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com > > > 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.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?> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_________________________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users