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: "Marco Strullato" <marco.strullato@xxxxxxxxx>
Subject: RE: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
Date: Thu, 24 Apr 2008 09:19:31 -0400
Cc: Rudi Ahlers <Rudi@xxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 24 Apr 2008 06:20:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: normal
In-reply-to: <b9f669850804240109v2bdeee79w478852cce17f59fd@xxxxxxxxxxxxxx>
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>
Priority: normal
References: <47F10EB7.5010609@xxxxxxxxxxx> <E2BB8074E5500C42984D980D4BD78EF9022A7062@xxxxxxxxxxxxxxxxxxxxx> <b9f669850804240109v2bdeee79w478852cce17f59fd@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acil4qOQC6Gh1nvaSBKdY0LlZZUA8QAKvx4g
Thread-topic: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Marco Strullato wrote:
> 
> 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?

This looks like you didn't change the grub.conf to specify
the Xen 3.2 hypervisor as opposed to the stock Xen 3.1
hypervisor that the RH/CentOS Xen kernels are set to use
by default.


> 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/S
> rvDaemon.py
> /usr/src/redhat/BUILD/xen-3.2.0/tools/python/build/lib.linux-x
> 86_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/bindi
> ngs/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
> >
> 

______________________________________________________________________
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