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

Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64

To: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
Date: Thu, 24 Apr 2008 10:09:44 +0200
Cc: Rudi Ahlers <Rudi@xxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 24 Apr 2008 01:10:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4uJxylHkTX1dJ9eCLfwRZy72rair/W6LiBeFGRHaQ0Y=; b=noVB3V3wYuIHYD72mRbNqPJeZ9Ms/zecixM9DDxPQOwK3hsGOFbYlU5I5JIMMgophlk+yLo+1hXq+HhQGNLyMBf59+UsR4b9tEhzlG6tbbqjv00vOnxyDQ38CgFAP//crxH49iBVv7efJwBycZIABq3Jjam8JlqW/XPOTSPIeV0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q8uJP4wDRtbHcZUlGxlirpSXU6xAsnExKD8hAQ9BGBvg50GGLGgI+q4kRRwvZ7qjya4F/PMAantSY5NwWyhjSCPa/EC7s1h0ymuO4o7XAt4kl+eI/QGNc5dIJThOM8mhBmmZ0n3Br0bWI3dD2vSz8nMXKRCrfCnpFDFVAoml/2w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E2BB8074E5500C42984D980D4BD78EF9022A7062@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47F10EB7.5010609@xxxxxxxxxxx> <E2BB8074E5500C42984D980D4BD78EF9022A7062@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, I followed you instructions, I've build and installed
xen-3.2.0-0xs and xen-libs-3.2.0-0xs.
Now I get this error when I execute xm list:

Error: Unable to connect to xend: No such file or directory. Is xend running?

And into the xend.log I have

[2008-04-24 09:48:01 3499] INFO (SrvDaemon:331) Xend Daemon started
[2008-04-24 09:48:01 3499] INFO (SrvDaemon:335) Xend changeset: unavailable.
[2008-04-24 09:48:01 3499] INFO (SrvDaemon:342) Xend version: Unknown.
[2008-04-24 09:48:01 3499] ERROR (SrvDaemon:353) Exception starting
xend ((13, 'Permission denied'))
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line 345, in run
    servers = SrvServer.create()
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line 251, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line 40, in __init__
    self.get(name)
  File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
52, in getobj
    self.obj = klassobj()
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py",
line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
709, in instance
    inst = XendNode()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
83, in __init__
    self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"]
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
673, in xeninfo_dict
    return dict(self.xeninfo())
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
617, in xeninfo
    info['xen_scheduler'] = self.xenschedinfo()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
607, in xenschedinfo
    sched_id = self.xc.sched_id_get()
Error: (13, 'Permission denied')

I read this is about the python used in the previous version of xen of
mu centos5 linux but I suppose this error is due to the previous
kernel.

Now I'm running this:

[root@hyp10 ~]# uname -a
Linux hyp10.infolan 2.6.18-53.1.14.el5xen #1 SMP Wed Mar 5 12:08:17
EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@hyp10 ~]# rpm -qa | grep xen
kmod-drbd82-xen-8.2.5-1.2.6.18_53.1.14.el5
kernel-xen-2.6.18-53.1.14.el5
xen-libs-3.2.0-0xs
xen-3.2.0-0xs
kernel-xen-devel-2.6.18-53.1.14.el5

And this is the python I have installed:

[root@hyp10 ~]# find /usr/ -name "SrvDaemon.py"
/usr/src/redhat/BUILD/xen-3.2.0/tools/python/xen/xend/server/SrvDaemon.py
/usr/src/redhat/BUILD/xen-3.2.0/tools/python/build/lib.linux-x86_64-2.4/xen/xend/server/SrvDaemon.py
/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py

[root@hyp10 ~]# find /usr/ -name "python*" | grep -v doc
/usr/include/python2.4
/usr/include/python2.4/pythonrun.h
/usr/share/man/man1/python.1.gz
/usr/share/mc/syntax/python.syntax
/usr/src/redhat/BUILD/xen-3.2.0/tools/xenstat/libxenstat/bindings/swig/python
/usr/src/redhat/BUILD/xen-3.2.0/tools/security/python
/usr/src/redhat/BUILD/xen-3.2.0/tools/python
/usr/src/redhat/BUILD/xen-3.2.0/tools/python/logging/logging-0.4.9.2/python_logging.html
/usr/lib/rpm/pythondeps.sh
/usr/lib/python2.4
/usr/lib/python2.4/config/python.o
/usr/lib64/python2.4
/usr/lib64/python2.4/idlelib/Icons/python.gif
/usr/lib64/python2.4/config/python.o
/usr/lib64/python2.4/site-packages/japanese/python
/usr/bin/python2
/usr/bin/python2.4
/usr/bin/python


How do you suggest me to go on?

Thanks

Marco




2008/3/31, Ross S. W. Walker <rwalker@xxxxxxxxxxxxx>:
> Rudi Ahlers wrote:
>  >
>  > Hi all
>  >
>  > I'm looking for the rpm's for Xen 3.2 x64 to use on CentOS 5.1.
>  > Unfortunately I have had no joy in trying to rebuild the src rpm. If
>  > anyone has done it before, please let me know
>
>
> I can get you going, though you will need to type in the commands
>  to compile it on your end.
>
>  1) Install CentOS 5.1 x86_64 + virtualization package
>
>  2) Install these packages via yum:
>
>  # yum intstall gcc binutils dev86 bison flex kernel-xen-devel transfig 
> libidn-devel zlib-devel texi2html SDL-devel curl-devel libX11-devel 
> python-devel ghostscript tetex-latex ncurses-devel gtk2-devel libaio-devel 
> perl glibc-devel.x86_64 glibc-devel.i386 gettext gnutls-devel openssl-devel
>
>  A lot of dependencies will be pulled in, but hey that's life..
>
>  3) Download the xen 3.2 src rpm from xen.org and install it
>
>  4) cd to '/usr/src/redhat/SPECS' and type in 'rpmbuild -ba xen.spec'
>
>  If it aborts with an error, it shouldn't, so post it and
>  someone will help you with it.
>
>  5) cd to '/usr/src/redhat/RPMS/x86_64' and type in
>  'rpm -Uvh xen-3.2.0-0xs.x86_64.rpm xen-libs-3.2.0-0xs.x86_64.rpm'
>
>  Then your done.
>
>  There are 2 issues I encountered with the xen.org 3.2 version.
>
>  1) The Xen API interface doesn't handle an unspecified
>  'timer_mode' option which causes virt-manager and
>  virt-install to break. There is a patch for this and
>  I can send a patched src rpm with it if you want.
>
>  2) utc_timeoffset isn't automatically calculated so
>  you need to specify it. I also have a patch for that
>  too, included in my new src rpm.
>
>  -Ross
>
>  ______________________________________________________________________
>  This e-mail, and any attachments thereto, is intended only for use by
>  the addressee(s) named herein and may contain legally privileged
>  and/or confidential information. If you are not the intended recipient
>  of this e-mail, you are hereby notified that any dissemination,
>  distribution or copying of this e-mail, and any attachments thereto,
>  is strictly prohibited. If you have received this e-mail in error,
>  please immediately notify the sender and permanently delete the
>  original and any copy or printout thereof.
>
>
>
>  _______________________________________________
>  Xen-users mailing list
>  Xen-users@xxxxxxxxxxxxxxxxxxx
>  http://lists.xensource.com/xen-users
>

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