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: [email protected]
Date: Sat, 6 Feb 2010 15:49:16 +0000
To: [email protected]
CC: [email protected]
Subject: [Xen-users] Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
Hi Mike,
[Excluding xen developers list]
Quoted 1 line
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 <[email protected]> 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: [email protected]
Date: Fri, 5 Feb 2010 14:12:44 +0000
Subject: Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel
To: [email protected]
CC: [email protected]; [email protected]
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 <[email protected]> wrote:
From: [email protected]
To: [email protected]; [email protected]
CC: [email protected]
Subject: RE: Linux hangs during reboot on Jeremy's git kernel
Date: Fri, 5 Feb 2010 08:25:56 -0500
Quoted 100 lines
Date: Fri, 5 Feb 2010 09:20:14 +0200
From: [email protected]
To: [email protected]
CC: [email protected]Subject: Re: [Xen-users] Linux hangs during reboot on Jeremy's git kernel
Quoted 78 lines · Mike Viau
Link [1]File-ListLink [2]themeDataLink [3]colorSchemeMappingI 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_64Debian 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 clonegit://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-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_643) in the kernel source directory
make-kpkg clean
4) CONCURRENCY_LEVEL=
grep -c '^processor' /proc/cpuinfofakeroot make-kpkg --initrd --append-to-version=-xenkernel_imagekernel_headers5) 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/Quoted 6 lines
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?
Quoted 9 lines
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.
Quoted 11 lines
Quoted 7 lines
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!
Quoted 2 lines
-- 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
http://lists.xensource.com/xen-devel
Not using Hotmail on your phone? Why not? Get it now.
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9708121
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users