[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Problem with unstable-stage tree


  • To: Jun Koi <junkoi2004@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.