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:07:37 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 Jun 2009 12:08:24 -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=HW77mkVZGfy/POht/NEGr/t+OrgAHLGSOtZqIdVxe3Q=; b=lfL0J8XLrFVMbii6ZRImBifKJdKxpcsNIdacCBF4idYdPeItlxy+edPqHCt75BP88k w9kdnzHvNANv9tU4ucwloaLOB8f0jLxxClZJlYF/6xqTsz+rm5HpE6PC5qDExf21Fw7R CPpif3gefKXg7MUZhktstnl/xfauSufRXQruI=
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=FEVbNwh+wv09XGTIgejm27h+a12vbezSCBd0n3WyrEFByri2jYyhiQTkHaNRw4jmyp 0dAWNnpEtjvztFRqZn96qIgFOxUnsYFPVEtOwpMqepvcP9YDt+OuZYw4iBL/5bvVFCl3 qhfRT9tYUZVJeXD4EVGpdvMgEBoI7rrqIBC20=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50906191153h49ef407er20a3e7566dfac2f4@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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