From: Ahmad Hassan Subject: Re: [Xen-devel] Linux hangs during reboot on Jeremy's git kernel Date: Fri, 5 Feb 2010 14:12:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1843800662==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Mike Viau Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1843800662== Content-Type: multipart/alternative; boundary=0016364593d6cab996047edb0cac --0016364593d6cab996047edb0cac Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 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 kern= el > > > > 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 kerne= l. > > > > > > 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=3D`grep -c '^processor' /proc/cpuinfo` fakeroot > > > make-kpkg --initrd --append-to-version=3D-xen kernel_image kernel_hea= ders > > > > > > 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 tri= ed > > > the suggestions at: > > > [4] > http://blogs.koolwal.net/2009/08/04/howto-fix-linux-hangfreeze-during-reb= oots-and-restarts/ > > > > > > Using the reboot=3D 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 th= an > > > 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 sourc= e > 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 f= ile > 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=AE phone-your Windows stuff, on the go. See more. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > --0016364593d6cab996047edb0cac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Mike,

Can you please share the screenshot of th= e screen where it hangs up?

Thanks.

Best Regards, Hassan
<= br>


On 5 February 2010 13:36, Mike Viau <viaum@sheridanc.= on.ca> wrote:
From: viaum@sher= idanc.on.ca
To: pa= sik@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
&g= t; CC: x= en-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 unabl= e to find issues in the mailing list archive pertaining to
> > Lin= ux 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 k= ernel.
> >
> > STEPS TAKEN TO BUILD PV DOM0:
> >=
> > sudo apt-get install git-core kernel-package fakeroot build-e= ssential
> > 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 .con= fig (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
> >
&g= t; > make-kpkg clean
> >
> > 4) CONCURRENCY_LEVEL=3D`g= rep -c '^processor' /proc/cpuinfo` fakeroot
> > make-kpkg = --initrd --append-to-version=3D-xen kernel_image kernel_headers
> >
> > 5) everything compiled fine so I installed the outpu= tted debs (dpkg -i
> > *.deb) successfully
> >
> &g= t; 6) updated my grub configuration (menu.lst)
> >
> > Th= e 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-hangf= reeze-during-reboots-and-restarts/
> >
> > Using the reboot=3D kernel options did not fix the r= ebooting issue.
> >
> > QUESTIONS:
> >
> &= gt; Firstly does anyone have a fix or patch for an issue like this?
>= >
>
> reboot and shutdown works for me now.. there was issues with i= t 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 deve= l list.

> > Secondly is there a more suitable or updated .conf= ig to use rather than
> > the one I used for step #2
> >
>
> After cop= ying the config as .config, you should run "make oldconfig" to ad= apt
> 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 re= ally 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 beli= eve it to be the correct debian way. I looked for a way to build both a lin= ux-image (vmlinuz + modules) deb binary and linux-headers deb binary packag= e for installation.

I am aware that the linux-2.6-xen Makefile offers a "make deb-pkg&= quot; phony, but this only builds the linux-image part into a deb. I believ= e the source directory is used as the kernel head directory by default, how= ever I'd prefer it to be hard coded to /usr/src/$(kernel version) and h= ave a deb file unpack just the kernel headers to that directory.

How might one use the Makefile options to include headers for the appro= priate kernel and appropriate file system location?


Thanks.
<= br>-M



Live connected with Hotmail on your phone.= Le= arn more.

Windows=AE phone-your Windows stuff, on the go. See more.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.= com
http://l= ists.xensource.com/xen-devel


--0016364593d6cab996047edb0cac-- --===============1843800662== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1843800662==--