Rudi Ahlers
2008-Mar-31 16:17 UTC
[Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
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 -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Tom Brown
2008-Mar-31 16:28 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
> > > 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 >what is the error you are seeing - the link below is great and outlines exactly how to build this from the src rpm http://www.nabble.com/Xen-3.2---CentOS-td15662499.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 16:51 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
Tom Brown wrote:> >> >> >> 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 >> > > what is the error you are seeing - the link below is great and > outlines exactly how to build this from the src rpm > > http://www.nabble.com/Xen-3.2---CentOS-td15662499.html > >HI Tom. I clearly don''t have the experience to properly do this, and currently my test machine has a lot of extra software installed which I don''t even know if I need it / want it. The server will run cPanel, so I need to have an absolute bare bones system. Needless to say, I don''t know what exactly to give you. The snippets of forum / mailing lists posts I have read so far have given me some stuff to work with, but nothing concrete and step-by-step. I also don''t have the bandwidth to download every suggested package and try it out just to see it''s not working. Nor do I have endless hours at hand to learn all of this. I''m not a developer / programmer, so I don''t even know how to debug the stuff I do. Having run rpmbuild --rebuild --target x86_64 xen-3.2.0-0xs.centos5.src.rpm* -* I don''t know where what is, and I don''t see a modified rpm. I know enough about rpm files and how to use them, but not how to make them. I basically need an easy way to deploy XEN server, without having to compile tarball files, and without having to rebuild a src.rpm on every machine. So, a pre-build rpm would be nice, then I can just include it on the installation CD and install when needed -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Mar-31 17:03 UTC
RE: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
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 knowI 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@lists.xensource.com http://lists.xensource.com/xen-users
Ryan Burke
2008-Mar-31 17:06 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
> Tom Brown wrote: >> >>> >>> >>> 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 >>> >> >> what is the error you are seeing - the link below is great and >> outlines exactly how to build this from the src rpm >> >> http://www.nabble.com/Xen-3.2---CentOS-td15662499.html >> >> > HI Tom. > > I clearly don''t have the experience to properly do this, and currently > my test machine has a lot of extra software installed which I don''t even > know if I need it / want it. The server will run cPanel, so I need to > have an absolute bare bones system. > > Needless to say, I don''t know what exactly to give you. The snippets of > forum / mailing lists posts I have read so far have given me some stuff > to work with, but nothing concrete and step-by-step. I also don''t have > the bandwidth to download every suggested package and try it out just to > see it''s not working. Nor do I have endless hours at hand to learn all > of this. I''m not a developer / programmer, so I don''t even know how to > debug the stuff I do. Having run rpmbuild --rebuild --target x86_64 > xen-3.2.0-0xs.centos5.src.rpm* -* I don''t know where what is, and I > don''t see a modified rpm. I know enough about rpm files and how to use > them, but not how to make them. > > I basically need an easy way to deploy XEN server, without having to > compile tarball files, and without having to rebuild a src.rpm on every > machine. So, a pre-build rpm would be nice, then I can just include it > on the installation CD and install when needed > > -- > > 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 > stuffHave you looked into the "make dist" option when compiling from hte Xen 3.2 tarball? It basically pacakges everything into the "dist" directory in the xen-3.2.0 directory. If comes with its own install script so basically you compile/build it once, then tar it up and scp it to the other machines. On the other machines untar it cd dist/ and run install.sh. tHen you''ll need to edit your grub.conf to boot to the new kernel. It is a pretty easy way of doing it if you have identical hardware architectues (32 bit or 64 bit), if not then you''d need to build it for each different hardware architecture. Of course you''ll want to build the specific driver modules for all your systems as well. Either way it is fairly easy without having to build it on every system. Ryan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 17:17 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
Ryan Burke wrote:>> Tom Brown wrote: >> >>>> 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 >>>> >>>> >>> what is the error you are seeing - the link below is great and >>> outlines exactly how to build this from the src rpm >>> >>> http://www.nabble.com/Xen-3.2---CentOS-td15662499.html >>> >>> >>> >> HI Tom. >> >> I clearly don''t have the experience to properly do this, and currently >> my test machine has a lot of extra software installed which I don''t even >> know if I need it / want it. The server will run cPanel, so I need to >> have an absolute bare bones system. >> >> Needless to say, I don''t know what exactly to give you. The snippets of >> forum / mailing lists posts I have read so far have given me some stuff >> to work with, but nothing concrete and step-by-step. I also don''t have >> the bandwidth to download every suggested package and try it out just to >> see it''s not working. Nor do I have endless hours at hand to learn all >> of this. I''m not a developer / programmer, so I don''t even know how to >> debug the stuff I do. Having run rpmbuild --rebuild --target x86_64 >> xen-3.2.0-0xs.centos5.src.rpm* -* I don''t know where what is, and I >> don''t see a modified rpm. I know enough about rpm files and how to use >> them, but not how to make them. >> >> I basically need an easy way to deploy XEN server, without having to >> compile tarball files, and without having to rebuild a src.rpm on every >> machine. So, a pre-build rpm would be nice, then I can just include it >> on the installation CD and install when needed >> >> -- >> >> 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 >> > > Have you looked into the "make dist" option when compiling from hte Xen > 3.2 tarball? It basically pacakges everything into the "dist" directory in > the xen-3.2.0 directory. If comes with its own install script so basically > you compile/build it once, then tar it up and scp it to the other > machines. On the other machines untar it cd dist/ and run install.sh. tHen > you''ll need to edit your grub.conf to boot to the new kernel. It is a > pretty easy way of doing it if you have identical hardware architectues > (32 bit or 64 bit), if not then you''d need to build it for each different > hardware architecture. Of course you''ll want to build the specific driver > modules for all your systems as well. Either way it is fairly easy without > having to build it on every system. > > Ryan > > _______________________________________________ >The are 32bit, so I didn''t look into it. I also haven''t compiled a tarball since Slackware 4.1, so I don''t know how well it will work on a CentOS / rpm based system. I would prefer to work with rpm''s, since it''s going to be part of an anaconda / kickstat bases automated installation CD, to be used at sites without internet, and only 1 or 2 servers, so I can''t even put it on another machine at that site. Basically I''d love to automate this, and I know a working rpm will work well for me. I can install other rpm''s this way already, so I''d prefer to stick with something that I know -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 17:57 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
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@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Mar-31 18:10 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
You might wait too long. 1.Download Mercurial 0.9.5 from http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial to /tmp # cd /tmp; tar -zxvf mercurial_0.9.5.tar.gz # cd mercurial_0.9.5 # make local # export PATH=/tmp/mercurial_0.9.5:$PATH # cd /usr/src/ # hg clone http://xenbits.xensource.com/xen-3.2-testing.hg # cd xen-3.2-testing.hg # make world # make install Determine the name of the Xen Linux kernel version that was installed. # ls /lib/modules There should be a directory for the Xen Linux kernel (e.g., 2.6.18.8-xen) Generate the module dependency list and map files # /sbin/depmod 2.6.18.8-xen Create the Xen initial ramdisk image # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen Disable tls # mv /lib64/tls /lib64/tls.disabled Set xend service to start # /sbin/chkconfig --add xend # /sbin/chkconfig xend on Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel. title Xen-3.2 x86_64 (2.6.18.8-xen) root (hd1,4) kernel /xen-3.2.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img Reboot into new kernel. **************************** CentOS 5.1 is not UBUNTU !! **************************** --- Rudi Ahlers <Rudi@SoftDux.com> 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 > > -- > > 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@lists.xensource.com > http://lists.xensource.com/xen-users >____________________________________________________________________________________ You rock. That''s why Blockbuster''s offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Brown
2008-Mar-31 18:23 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
>> > 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 > >this error is addressed in the link i posted to you _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 19:00 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
Boris Derzhavets wrote:> You might wait too long. > > 1.Download Mercurial 0.9.5 from > http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial > to /tmp > # cd /tmp; tar -zxvf mercurial_0.9.5.tar.gz > # cd mercurial_0.9.5 > # make local > # export PATH=/tmp/mercurial_0.9.5:$PATH > # cd /usr/src/ > # hg clone > http://xenbits.xensource.com/xen-3.2-testing.hg > > # cd xen-3.2-testing.hg > # make world > # make install > > Determine the name of the Xen Linux kernel version > that was installed. > > # ls /lib/modules > > There should be a directory for the Xen Linux kernel > (e.g., 2.6.18.8-xen) > Generate the module dependency list and map files > > # /sbin/depmod 2.6.18.8-xen > > Create the Xen initial ramdisk image > > # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img > 2.6.18.8-xen > > Disable tls > > # mv /lib64/tls /lib64/tls.disabled > > Set xend service to start > > # /sbin/chkconfig --add xend > # /sbin/chkconfig xend on > > Edit /boot/grub/grub.conf and copy one of the existing > boot entries to make the > required changes for Xen and reboot into new kernel. > > title Xen-3.2 x86_64 (2.6.18.8-xen) > root (hd1,4) > kernel /xen-3.2.gz > module /vmlinuz-2.6.18.8-xen ro > root=/dev/VolGroup01/LogVol00 rhgb quiet > module /initrd-2.6.18.8-xen.img > > Reboot into new kernel. > > **************************** > CentOS 5.1 is not UBUNTU !! > **************************** > --- Rudi Ahlers <Rudi@SoftDux.com> 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 >> >> -- >> >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > > ____________________________________________________________________________________ > You rock. That''s why Blockbuster''s offering you one month of Blockbuster Total Access, No Cost. > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >What exactly is Mercurial? -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 20:54 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Tom Brown wrote:> >>> >> 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 >> >> > > > this error is addressed in the link i posted to you > > > _______________________________________________Thanx Tom, I read through that thread, but saw that it was talking about ia64, and AFAIK, Itanim 64 isn''t the same as amd64 / x86_64 so I ddint'' think it would work on my machine. -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Tom Brown
2008-Mar-31 21:00 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
>> >> _______________________________________________ > Thanx Tom, I read through that thread, but saw that it was talking > about ia64, and AFAIK, Itanim 64 isn''t the same as amd64 / x86_64 so I > ddint'' think it would work on my machine. >see below copied from that link for the solution - this is not for itanium, not sure where you got that idea from> I was looking for *xen* *3*.*2* 64bit for the similar reason (*32* bitdomU> crashes on 64bit dom0).I tried to build the source *rpm* of *xen* *3*.*2* > (downloaded from >http://bits.*xensource*.com/oss-*xen*/release/*3*.*2*.0/*centos*-5.1/*xen*-*3*.*2*.0-0xs.*centos5*.src.*rpm* <http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm>) using> *rpmbuild* on a *CentOS* 5.1(x86_64), and I got the below error: > > *RPM* build errors: > Installed (but unpackaged) file(s) found: > /usr/lib/*xen*/boot/hvmloader > > Please let me know the changes required for building the src.*rpm* on 64 > bit system? > > I was curious to know about the existing installation and I found that > the package *xen*-*3*.0.*3*-41.el5-x86_64, installs all the binaries and > libs in /usr/lib64/*xen*, but puts the hvmloader in /usr/lib/*xen*! > > Thanks, > VinodHuh. Interesting. RedHat''s SRPM''s are a bit more sophisticated than those for *Xensource*, traditionally, so I''m not shocked you found a discrepancy building it for x86_64. Perhaps you can review the differences in the .spec files and see how RedHat did it? Solved, the problem was the /usr/lib/*xen*/hvmloader line was commented in *xen*.spec file. Now I have the *xen*-*3*.*2*.0-0xs *rpms*. Now I have a silly question Should I rebuild the Linux kernel available @ *xen*.org <http://xen.org> to get *xen* *3*.*2* up or will it work with *CentOS* kernel? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Mar-31 21:16 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1 x64?
Mercurial is Ubuntu technology to clone repos from one host to another. Actually, on the Net it''s tar.gz archive, which can be downloaded,extracted and been built by "make" on local machine. You need binary "hg" in your PATH and connection to Internet ( DHCP bridge or remote Proxy doesn''t matter). Then:- # cd /usr/src # hg clone \ http://xenbits.xensource.com/xen-3.2-testing.hg will copy folder xen-3.2-testing.hg from remote host to your current directory --- Rudi Ahlers <Rudi@SoftDux.com> wrote:> Boris Derzhavets wrote: > > You might wait too long. > > > > 1.Download Mercurial 0.9.5 from > > >http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial> > to /tmp > > # cd /tmp; tar -zxvf mercurial_0.9.5.tar.gz > > # cd mercurial_0.9.5 > > # make local > > # export PATH=/tmp/mercurial_0.9.5:$PATH > > # cd /usr/src/ > > # hg clone > > http://xenbits.xensource.com/xen-3.2-testing.hg > > > > # cd xen-3.2-testing.hg > > # make world > > # make install > > > > Determine the name of the Xen Linux kernel version > > that was installed. > > > > # ls /lib/modules > > > > There should be a directory for the Xen Linux > kernel > > (e.g., 2.6.18.8-xen) > > Generate the module dependency list and map files > > > > # /sbin/depmod 2.6.18.8-xen > > > > Create the Xen initial ramdisk image > > > > # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img > > 2.6.18.8-xen > > > > Disable tls > > > > # mv /lib64/tls /lib64/tls.disabled > > > > Set xend service to start > > > > # /sbin/chkconfig --add xend > > # /sbin/chkconfig xend on > > > > Edit /boot/grub/grub.conf and copy one of the > existing > > boot entries to make the > > required changes for Xen and reboot into new > kernel. > > > > title Xen-3.2 x86_64 (2.6.18.8-xen) > > root (hd1,4) > > kernel /xen-3.2.gz > > module /vmlinuz-2.6.18.8-xen ro > > root=/dev/VolGroup01/LogVol00 rhgb quiet > > module /initrd-2.6.18.8-xen.img > > > > Reboot into new kernel. > > > > **************************** > > CentOS 5.1 is not UBUNTU !! > > **************************** > > --- Rudi Ahlers <Rudi@SoftDux.com> 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 > >> > >> -- > >> > >> 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@lists.xensource.com > >> http://lists.xensource.com/xen-users > >> > >> > > > > > > > > >____________________________________________________________________________________> > You rock. That''s why Blockbuster''s offering you > one month of Blockbuster Total Access, No Cost. > > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > What exactly is Mercurial? > > -- > > 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 > > >____________________________________________________________________________________ Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now http://tc.deals.yahoo.com/tc/blockbuster/text3.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Mar-31 22:24 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Tom Brown wrote:> >>> >>> _______________________________________________ >> Thanx Tom, I read through that thread, but saw that it was talking >> about ia64, and AFAIK, Itanim 64 isn''t the same as amd64 / x86_64 so >> I ddint'' think it would work on my machine. >> > > see below copied from that link for the solution - this is not for > itanium, not sure where you got that idea from >This did: %ifnarch ia64> > # %dir /usr/lib/xen/boot > > # /usr/lib/xen/boot/hvmloader > > %endifia64 is normally Itanium, which I don''t have :) But I got it compiled, now I just need to test it, thank you -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Marco Strullato
2008-Apr-24 08:09 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
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@medallion.com>:> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Apr-24 13:19 UTC
RE: [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@medallion.com>: > > 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@lists.xensource.com > > 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@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2008-Apr-25 08:17 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Ross S. W. Walker wrote:> 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. > >Oh. Hmmph. RedHat uses some cuteness in current versions of ''grubby'' and RPM to auto-install the Xen kernels in grub.conf. When I was working with RHEL 4, it took some extra work to get them into grub.conf. But RHEL 5 has it incorporated into their RPM''s. You might take a look at the RHEL versus Xensource SRPM''s and look for the differences. I''d like the Xensource RPM''s to do this automatically, as well. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Apr-25 13:54 UTC
RE: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Nico Kadel-Garcia wrote:> Ross S. W. Walker wrote: > > 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. > > > > > Oh. Hmmph. RedHat uses some cuteness in current versions of ''grubby'' and > RPM to auto-install the Xen kernels in grub.conf. When I was working > with RHEL 4, it took some extra work to get them into grub.conf. But > RHEL 5 has it incorporated into their RPM''s. You might take a look at > the RHEL versus Xensource SRPM''s and look for the differences. > > I''d like the Xensource RPM''s to do this automatically, as well.Well actually, RH bundles the Xen hypervisor right with the Xen kernel in EL5, so that''s how they handle it. -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@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2008-Apr-26 02:37 UTC
Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Ross S. W. Walker wrote:> Nico Kadel-Garcia wrote: > >> Ross S. W. Walker wrote: >> >>> 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. >>> >>> >>> >> Oh. Hmmph. RedHat uses some cuteness in current versions of ''grubby'' and >> RPM to auto-install the Xen kernels in grub.conf. When I was working >> with RHEL 4, it took some extra work to get them into grub.conf. But >> RHEL 5 has it incorporated into their RPM''s. You might take a look at >> the RHEL versus Xensource SRPM''s and look for the differences. >> >> I''d like the Xensource RPM''s to do this automatically, as well. >> > > Well actually, RH bundles the Xen hypervisor right with the Xen > kernel in EL5, so that''s how they handle it. > > -Ross >??? Distributing it or not, the RHEL packages automatically install the grub.conf entries, using ''grubby''. At last look, the Xen kernels compiled from SRPM or provided as binaries did not, and took extra manual steps to configure. Does the most recent version address this yet? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Apr-28 13:43 UTC
RE: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?
Nico Kadel-Garcia wrote:> Ross S. W. Walker wrote: > > Nico Kadel-Garcia wrote: > > > >> Ross S. W. Walker wrote: > >> > >>> 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. > >>> > >>> > >>> > >> Oh. Hmmph. RedHat uses some cuteness in current versions of ''grubby'' and > >> RPM to auto-install the Xen kernels in grub.conf. When I was working > >> with RHEL 4, it took some extra work to get them into grub.conf. But > >> RHEL 5 has it incorporated into their RPM''s. You might take a look at > >> the RHEL versus Xensource SRPM''s and look for the differences. > >> > >> I''d like the Xensource RPM''s to do this automatically, as well. > >> > > > > Well actually, RH bundles the Xen hypervisor right with the Xen > > kernel in EL5, so that''s how they handle it. > > > > -Ross > > > ??? Distributing it or not, the RHEL packages automatically > install the > grub.conf entries, using ''grubby''. At last look, the Xen kernels > compiled from SRPM or provided as binaries did not, and took extra > manual steps to configure. Does the most recent version > address this yet?Ok, yes, grubby can now handle extended boot parameters, but because now that RH bundles the hypervisor with the xen kernel the whole point is for not, because at the next kernel update the 3.2 hypervisor will be removed and the 3.1 hypervisor inserted, which means you will need to go in by hand and modify it anyways, so you might as well get use to it from the start. -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@lists.xensource.com http://lists.xensource.com/xen-users