Ross S. W. Walker wrote:
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
I have done that already
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
I have done already, but I am missing a few packages,
Installing:
bison x86_64 2.3-2.1
base 549 k
flex x86_64 2.5.4a-41.fc6
base 131 k
kernel-xen-devel x86_64 2.6.18-53.1.14.el5
updates 4.9 M
perl i386 4:5.8.8-10.el5_0.2
updates 12 M
Installing for dependencies:
db4 i386 4.3.29-9.fc6
base 917 k
gdbm i386 1.8.0-26.2.1
base 27 k
m4 x86_64 1.4.5-3.el5.1
base 171 k
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
I have done that already, it's currently in /xen-3.2.0-0xs.centos5.src.rpm
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.
Ok, this is what I get, which I presume isn't right?
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/xen-3.2.0-0xs-root
error: Installed (but unpackaged) file(s) found:
/usr/lib/xen/boot/hvmloader
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/xen/boot/hvmloader
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'
The files don't exist there:
cd /usr/src/redhat/RPMS/x86_64/
[root@temp01 x86_64]# ll
total 0
[root@temp01 x86_64]# updatedb && locate xen-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
--
Kind Regards
Rudi Ahlers
CEO, SoftDux
Web: http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|