From: Boris Derzhavets Subject: Re: Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore Date: Fri, 15 May 2009 09:38:28 -0700 (PDT) Message-ID: <411865.18972.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1451076167==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org --===============1451076167== Content-Type: multipart/alternative; boundary="0-1524133173-1242405508=:18972" --0-1524133173-1242405508=:18972 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Per /usr/lib/python2.6/site.py:- For Debian and derivatives, this sys.path is augmented with directories for packages distributed within the distribution. Local addons go into /usr/local/lib/python/dist-packages, Debian addons install into /usr/{lib,share}/python/dist-packages. /usr/lib/python/site-packages is not used. It is different from /usr/lib/python2.5/site.py With Config.mk:- PYTHON =3D=A0 python PYTHON_PREFIX_ARG =3D Packages gets installed into /usr/local/lib/python2.6/dist-packages:- root@ServerJaunty:/usr/local/lib/python2.6/dist-packages# ls -ld xen drwxr-sr-x 9 root staff 4096 2009-05-15 10:35 xen Xend starts fine, pygrub doesn't fail. Xen host seems to be OK. But, "xm create -c DomU.cfg" doesn't work any more,even with xenified kerne= l. DomU gets paused at startup and no matter of been upaused or no, finally= crashes with message:- "Hotplug scripts not working" I believe Xen 3.4 has problem been installed on Ubuntu 9.04 Server (64-bit) with python 2.6 installed with default settings. Same situation will happen on any Debian derivative with Python 2.6 If i am wrong about that, please advise. Boris. --- On Tue, 5/12/09, Ian Jackson wrote: From: Ian Jackson Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server= 9.04 causes pygrub doesn't return any data anymore To: "bderzhavets@yahoo.com" Cc: "xen-devel@lists.xensource.com" , "Keir = Fraser" Date: Tuesday, May 12, 2009, 1:16 PM Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build= on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"): > Yes, now > # make install-xen > # make install-tools > commit builds Good. > Pygrub doesn't work ( i believe default path is incorrect ) and > hotplug scripts don't work as well . The last problem makes Xen Host > dead. But xm create now appears to work ?=A0 It's possible that the fix didn't take properly for pygrub.=A0 Or perhaps that you are running a version leftover from a previous attempt ? > I've tested Suse's 2.6.27.5 kernel under Xen 3.4 . > It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side= . > Otherwise,=A0 backend drivers in both xen-ified and pvops kernel refuse t= o repond What errors are in the hotplug logfile ? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1524133173-1242405508=:18972 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Per /usr/lib/python2.6/site.py:-

For D= ebian and derivatives, this sys.path is augmented with directories
for p= ackages distributed within the distribution. Local addons go
into /usr/l= ocal/lib/python<version>/dist-packages, Debian addons
install into= /usr/{lib,share}/python<version>/dist-packages.
/usr/lib/python&l= t;version>/site-packages is not used.

It is different from /usr/l= ib/python2.5/site.py

With Config.mk:-

PYTHON =3D  python=
PYTHON_PREFIX_ARG =3D

Packages gets installed into /usr/local/li= b/python2.6/dist-packages:-

root@ServerJaunty:/usr/local/lib/python2= .6/dist-packages# ls -ld xen
drwxr-sr-x 9 root staff 4096 2009-05-15 10:= 35 xen


Xend starts fine, pygrub doesn't fail. Xen host seems to = be OK.
But, "xm create -c DomU.cfg" doesn't work any more,even with xeni= fied kernel. DomU gets paused at startup and no matter of been upaused or no, f= inally crashes with message:-

"Hotplug scripts not working"

I= believe Xen 3.4 has problem been installed on Ubuntu 9.04 Server (64-bit)<= br>with python 2.6 installed with default settings.
Same situation will = happen on any Debian derivative with Python 2.6

If i am wrong about = that, please advise.

Boris.

--- On Tue, 5/12/09, Ian Jacks= on <Ian.Jackson@eu.citrix.com> wrote:

From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject:= Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 ca= uses pygrub doesn't return any data anymore
To: "bderzhavets@yahoo.com" = <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com" <xe= n-devel@lists.xensource.com>, "Keir Fraser" <Keir.Fraser@eu.citrix.com>
Date: Tuesday, May 12, 2009, 1:16 PM<= br>
Boris Derzhavets writes ("Re: [Xen-devel] C= hangeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn'= t return any data anymore"):
> Yes, now
> # make install-xen> # make install-tools
> commit builds

Good.

> P= ygrub doesn't work ( i believe default path is incorrect ) and
> hotp= lug scripts don't work as well . The last problem makes Xen Host
> de= ad.

But xm create now appears to work ?  It's possible that the= fix didn't
take properly for pygrub.  Or perhaps that you are runn= ing a version
leftover from a previous attempt ?

> I've tested= Suse's 2.6.27.5 kernel under Xen 3.4 .
> It shows same behavior as 2= .6.30-rc3-tip. Problem seems to be on Xen side.
> Otherwise,  ba= ckend drivers in both xen-ified and pvops kernel refuse to repond

What errors are in the hotplug logfile ?

Ian.

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

= =0A=0A --0-1524133173-1242405508=:18972-- --===============1451076167== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1451076167==--