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-devel

Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 12 May 2009 08:22:04 -0700 (PDT)
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 12 May 2009 08:22:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242141724; bh=UXfhxsdSddmMg+MFolkywJk0VzdRPz5TMkpnMaZAgHU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=cMKEgx2jJetDN895SfX5iTmTfR6/mtgKONHikF6Poyo8CxFSuvpvZ+mfIRddI3OBm+whyIPUv4MHRLEQppZFdrx4jZNhGaGck1paBU1aR7nO9zp0Yrh/sDQTTUA85W9XWL2yffJ4n1+EZ/s6zMGOmIFEDUKCm56Uug1U0k3j9C0=
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:Cc:MIME-Version:Content-Type; b=bG6+1hyOZlUkS0TE77NF8nxxtBZJBuX6INTvJBvAMj2axQ9qCAwYjrm75YpZzKNWDTzN2fKgC5B4htukb5edOYuuG9SFYYeKVHG9JrSqu1BizIRDZzSqrx9rE7joIXoBpuuKoXzVMjAD+gXR138q+Q0W5JDne4InyVv/A4ClhAo=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>That is, I think the following config should work on those Ubuntu
>systems
> PYTHON=python
> PYTHON_PREFIX_ARG=''
>although you may need to do
> PREFIX=/usr/local
>too.

# make tools

fails on Ubuntu 9.04 Server with
Config.mk suggested above

This one Config.mk (untouched) works fine:-

PYTHON ?= python
PYTHON_PREFIX_ARG ?= --prefix="$(PREFIX)"
# The above requires that PREFIX contains *no
spaces*. This variable is here
# to permit the user to set PYTHON_PREFIX_ARG to '' to workaround this bug:
# https://bugs.launchpad.net/ubuntu/+bug/362570

When :-
root@ServerJaunty:/usr/bin# ls -l pyt*
lrwxrwxrwx 1 root root 9 2009-05-11 14:56 python -> python2.5
-rwxr-xr-x 1 root root 1399288 2009-04-04 15:28 python2.5
-rwxr-xr-x 1 root root 1419 2009-04-04 15:27 python2.5-config
-rwxr-xr-x 1 root root 2579968 2009-04-18 22:52 python2.6
-rwxr-xr-x 1 root root 1452 2009-04-18 22:50 python2.6-config
-rwxr-xr-x 1 root root 5585562 2009-04-18 22:51 python2.6-dbg
-rwxr-xr-x 1 root root 1456 2009-04-18 22:51 python2.6-dbg-config
lrwxrwxrwx 1 root root 13 2009-05-08 07:17 python-dbg -> python2.6-dbg
lrwxrwxrwx 1 root root 20 2009-05-08 07:17 python-dbg-config -> python2.6-dbg-config

Xen Host boots fine.
Pygrub still fails.

But it's not a core issue (view attached report)!!

Profile bellow fails as well with 2.6.30-rc3-tip :-

root@ServerJaunty:/home/boris/kernel# cat f10.cfg
memory = 1024
name = "FedoraPV"
ramdisk="/home/boris/kernel/initrd-2.6.27.19-170.2.35.fc10.x86_64.img"
kernel="/home/boris/kernel/vmlinuz-2.6.27.19-170.2.35.fc10.x86_64"
root="/dev/VolGroup00/LogVol00 ro"
extra = 'console=hvc0'
disk = [ 'phy:/dev/sdb7,xvda,w']
vif = [ 'bridge=eth1' ]

# xm create -c f10.cfg
. . . .

XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Magic number: 1:252:3141
Freeing unused kernel memory: 1296k freed
Write protecting the kernel read-only data: 4752k
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Loading
/lib/kbd/keymaps/i386/qwerty/us.map
XENBUS: Timeout connecting to device: device/vbd/51712 (state 3)
root@ServerJaunty:/home/boris/kernel#
Error: Device 0 (vif) could not be connected. Hotplug scripts not working


Backend support modules linked built-in with 2.6.30-rc3-tip
kernel

Boris.




--- On Tue, 5/12/09, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
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@xxxxxxxxx
Cc: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Tuesday, May 12, 2009, 10:13 AM

Boris Derzhavets writes ("[Xen-devel] Changeset 19594 for Xen 3.4 build on
Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
> I was able to rebuild xen& tools with only one line modified in
Config.mk :-
>
>
PYTHON      ?= /usr/bin/python2.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is the line you changed ? I'm afraid your message wasn't very
clear.

> IF  PYTHON_PREFIX_ARG ?=''

This is the feature I put in to let you override the --prefix
specification from the Xen build system, specifically to try to work
around the Ubuntu python installation bug. If it doesn't work then
something is wrong.




Ian.

Attachment: F10PVFailure.txt
Description: Text document

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