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] Problem with unstable-stage tree

To: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: Re: [Xen-devel] Problem with unstable-stage tree
From: Dulloor <dulloor@xxxxxxxxx>
Date: Fri, 19 Jun 2009 15:09:07 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 Jun 2009 12:09:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=r46zMXSCIYcIlFFrXtyt25EZSmhlJcg5XJUqkESVqAw=; b=Lfcy5DLn/zW/gxgBqmVgpj5nhbXv915BlhiqFJz6Jqpu89490imUH0/Aa2ikhgzkME OBYCFfWPtPMRFcBZQnI0vjAbTb/1X3dbjyJ4B2M9QkgV3cAoaegm41MFp5nfXNrnlnQj KEHuq6wiPTVR9YF2+Pq4WVuNS1MP/OFy35ws4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fxbb+B6sjFJLFLQAz2+V//UyA65e5CRwzwPWTyfWIsIKav2daBleMGBd++pq6ug36C Fxj7YY/pmAG/TL0Odv6FVjd+xZcFTeHB35nYTyVpwLkOXCvjqHeL6kZ1R0Yfan2of7zq jFqgIldsi5Cn17P8VNWKCWuaE1xRX9ChOtXRc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <940bcfd20906191207t5b92150fx5eafd3a9374a9361@xxxxxxxxxxxxxx>
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>
References: <fdaac4d50906191153h49ef407er20a3e7566dfac2f4@xxxxxxxxxxxxxx> <940bcfd20906191207t5b92150fx5eafd3a9374a9361@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Another problem you will face is with the python version (2.6). Xen tools need python-2.5.
Install python-2.5 and point to that.

-dulloor

On Fri, Jun 19, 2009 at 3:07 PM, Dulloor <dulloor@xxxxxxxxx> wrote:
You need to mount xenfs. Add following to your fstab :
xenfs /proc/xen xenfs defaults 0 0

-dulloor


On Fri, Jun 19, 2009 at 2:53 PM, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
Hi,

I give a try to the unstable-stage tree, and found some problems.

This tree uses linux-2.6.30-pvops. I compiled, and boot to Dom0 with
"vmlinuz-2.6.30-rc3-tip". However, xend failed to start and report
that it doesnt find

/proc/xen/capabilities

Is this check correct? I can confirm that the kernel has support for
Xen, as I have below configs (and I only have empty directory
"/proc/xen"):

grep XEN /boot/config-2.6.30-rc3-tip
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_DOM0_PCI=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_MICROCODE_XEN=y
CONFIG_PCI_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=ygrep XEN /boot/config-2.6.30-rc3-tip
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_DOM0_PCI=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_MICROCODE_XEN=y
CONFIG_PCI_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=y

CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=y


So I tried to bypass this problem by commenting out the check for
"/proc/xen/capabilities". Then I got some other bugs about not finding
Python modules, like:

....
ImportError: No module named xen.xend.server
.Traceback (most recent call last):
 File "/usr/sbin/xend", line 36, in <module>
   from xen.xend.server import SrvDaemon
ImportError: No module named xen.xend.server
...

However, I can confirm that I have directory like
/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py. So why
Python doesnt find that?

My Linux is Ubuntu 9.04, python 2.6.2, gcc 4.3.3

Thank you,
J

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


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