WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Xen 3.4 Hackery on Ubuntu 9.04 (aka Jaunty) Server

To: xen-users@xxxxxxxxxxxxxxxxxxx, Niels Jende <mylists1@xxxxxx>
Subject: Re: [Xen-users] Re: Xen 3.4 Hackery on Ubuntu 9.04 (aka Jaunty) Server
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 28 May 2009 03:32:36 -0700 (PDT)
Cc:
Delivery-date: Thu, 28 May 2009 03:33:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243506756; bh=Zz7nF2HtC7vEA8QTqw5Z9Y4hsF2JnL4lZ7pvGhmYSM8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=1jfttC8T1qhZoiKEEqwCwOzQnaMJvJat08pdRLfCnQae5IOG/O8frip0rMAGUvFza2exPICHMHaRCJkwUihBYRlgr8DWPmINZwXRVKF5YhDeLXDkArSlC7h29kzZZyRTpKdiOQjudv4yt/iDRrGnN3wWRRTVCbJdgeAGyeDRwGM=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=c0qLqF8vhsjRYa0TzFc23sYz8OcYx2HiHaTF6qMET/Mj6LM7jQH6gRzvKf2T/tRxBr0gwzSJgsqrgX2NU/gpFj5t79fsXucgxQpNC5K2g06WUo6wWGbnLuwTXWhHH0TFOUBZQpOuOAzabhcfZl/4ZQgsPMK1QATVIflh7ECtvwc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The key trick is to be able :-

# make world
# make install
# make uninstall
Remove Hypervisor and tools been built with 2.6
# make uninstall

This actions will result Xen packages to be installed in :-
/usr/local/lib/python2.6/dist-packages/xen# ls -l

total 36
-rw-r--r-- 1 root staff 2 2009-05-20 17:03 __init__.py
-rw-r--r-- 1 root staff 140 2009-05-20 17:20 __init__.pyc
drwxr-sr-x 2 root staff 4096 2009-05-20 17:20 lowlevel
drwxr-sr-x 2 root staff 4096 2009-05-20 17:20 sv
drwxr-sr-x 3 root staff 4096 2009-05-20 17:20 util
drwxr-sr-x 2 root staff 4096 2009-05-20 17:20 web
drwxr-sr-x 5 root staff 4096 2009-05-20 17:20 xend
drwxr-sr-x 3 root staff 4096 2009-05-20 17:20 xm
drwxr-sr-x 2 root staff 4096 2009-05-20 17:20 xsview

Yes , it's a hack rather then a legal way manage.
Due to real Xen 3.4 build is supposed to be done on Ubuntu 8.10 Server (64-bit) with python2.5 .

The default path for 2.6 is /usr/local/lib/python2.6/dist-packages
The default path for 2.5 is /usr/lib/python2.5/site-packages.

Regular Xen build puts on top of /usr/bin/pygrub:-
  #!/usr/bin/python
i failed to switch this link to 2.5 and had to simulate Xen support
for /usr/bin/pygrub with python 2.6  via fake install.

Attempt to build Xen 3.4 with 2.6 seems to complete fine.
Xen Host looks nice , and "xm info" in particular.
However,  hotplug scripts refuse to work at least through my experience.
What means no DomUs can be created and loaded.

Boris.
BTW
On F11(preview) with python 2.6 everything worked straight away.
I don't remember details now, will check in a week :)

--- On Thu, 5/28/09, Niels Jende <mylists1@xxxxxx> wrote:

From: Niels Jende <mylists1@xxxxxx>
Subject: [Xen-users] Re: Xen 3.4 Hackery on Ubuntu 9.04 (aka Jaunty) Server
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, May 28, 2009, 5:31 AM

Hi Boris,


thanks for the HowTo for Jaunty, but for some reasons I am not able to run through.

> Make Xen 3.4 biuld with python 2.6 (default) on Ubuntu 9.04 Server:-
> Install all packages required by Xen build:-
>
> # cd /usr/src
> # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg
> # cd xen-3.4-testing.hg
> Set in Config.mk
> PYTHON = python
> PYTHON_PREFIX_ARG =
> # make install-xen

The make install-xen routine ran fine, but

> # make install-tools

came up with an error.
Here is what I got as an output:
/bin/sh: git: not found
make[1]: ***[ioemu-dir-find] Error 127
make[1]: Leaving Directory 'usr/src/xen-3.4-testing.hg/tools
make: *** [tools/ioemu-dir] Error 2

Have you got an idea of what went wrong? Or maybe even a solution?

Thanks for your help!

Greets
Niels

____________________________________________________________
Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://produkte.web.de/go/04/


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users