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

[Xen-users] xen-4.0 xend needs python2.5 to start in karmic

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen-4.0 xend needs python2.5 to start in karmic
From: "David Becker" <becker@xxxxxxxxxxx>
Date: Fri, 16 Apr 2010 16:23:35 -0400
Delivery-date: Sun, 18 Apr 2010 10:51:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail; t=1271449415; bh=BxNPX/4DXwm6AgWS2CokZiO8lg7g4dOVQ0TjS/R+EWI=; h=Date:To:Subject:From:Content-Type:MIME-Version: Content-Transfer-Encoding:Message-ID; b=ELhemxIrj2nMGN32hAMlDOXzLPZ8Xk7JCVEcojd/nJgZQmKQqOGKxoCCO3bf2KSF+ VWbdp6cxvzNynQ7DUO6mm3vs/UtDRfEAojQifNlfCNVMM8oVug945BDCjHhT/7zHJ7 WkY3hEOUXUGR6YahfFvkrVT1VQMiOpsulseHuNFE=
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>
Organization: Duke Computer Science
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Opera Mail/9.52 (Linux)
I discovered python2.5 is required to build/run the xend
from xen-4.0 on the current karmic release from ubuntu.
My karmic install was minimal and contained only python2.6
even after installing all the packages required to
fetch and build xen-4.0 and the pv_ops kernel.

Running 'xend start' returned with no output on stdout.
The xend log file said 'rebuild the user-space tool set'
since the hypervisor syscall had returned EACCES.
This happened on both 64bit and 32bit hardware.  After
much rebuilding of xen-tools, it turned out python2.5 solved
the issue.

I installed the python2.5-dev package, linked /usr/bin/python
to python2.5 and rebuilt the tools.  THen xend started ok.
PVMs start ok as well, with both dom0 and domU running
the pv_ops dom0 kernel.

This is with the xen-tools built from 4.0 testing source pulled on Apr 15.
(XEN) Xen version 4.0.1-rc1-pre (becker@xxxxxxxxxxxxxxxx) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) Fri Apr 16 10:54:02 EDT 2010
(XEN) Latest ChangeSet: Mon Apr 12 18:29:36 2010 +0100 21107:11010cf627c8


The python2.6 build of xend logged:

Xend started at Fri Apr 16 13:52:10 2010.
domctl operation failed -- need to rebuild the user-space tool set?
sysctl operation failed -- need to rebuild the user-space tool set?
Exception starting xend: (13, 'Permission denied')
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, in run
    for domid, cputimes in self._get_cpu_stats().items():
File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, in _get_cpu_stats
    for domain in self.xc.domain_getinfo():
Error: (13, 'Permission denied')





--
David Becker
becker@xxxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen-4.0 xend needs python2.5 to start in karmic, David Becker <=