Xen 3.2 & CentOS

View: New views
14 Messages — Rating Filter:   Alert me  

Xen 3.2 & CentOS

by --[ UxBoD ]-- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Has anybody successfully installed Xen 3.2 on CentOS 5.1 ? If so how were you able to achieve it ?

I am fed up with my VMs crashing on a X86-64 Dom0 when running X86 guests :(

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@...

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Re: Xen 3.2 & CentOS

by Nico Kadel-Garcia-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--[ UxBoD ]-- wrote:
> Hi,
>
> Has anybody successfully installed Xen 3.2 on CentOS 5.1 ? If so how were you able to achieve it ?
>
> I am fed up with my VMs crashing on a X86-64 Dom0 when running X86 guests :(
>
> Regards,
>
>  
Can't you install rhe Xensource.com RPM's as upgrades to the Centos/RHEL
RPM's? I've certainly done so with CentOS and RHEL, 4.x and 5.x. There
are some subtle differences between them, and I haven't tried the 3.2
RPM's myself.

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


Re: Xen 3.2 & CentOS

by John Morris-16 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nico Kadel-Garcia wrote:
> Can't you install rhe Xensource.com RPM's as upgrades to the
> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
> and 5.x. There are some subtle differences between them, and I haven't
> tried the 3.2 RPM's myself.
Can you point me to those?  The xen.org RPMs at
http://xen.org/download/dl_32rhel5.html don't include 64-bit versions,
and going to xensource.com, I get lost in a maze of marketing.

    John


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

Re: Xen 3.2 & CentOS

by --[ UxBoD ]-- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm

I just built it from source and then installed the built RPM from /usr/src/redhat/RPMS.  It worked a treat; no more crashes with 32bit DomUs in a 64bit Dom0 :D

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@...

----- "John Morris" <jman@...> wrote:

> Nico Kadel-Garcia wrote:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Re: Xen 3.2 & CentOS

by Nico Kadel-Garcia-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John Morris wrote:

> Nico Kadel-Garcia wrote:
>> Can't you install rhe Xensource.com RPM's as upgrades to the
>> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
>> and 5.x. There are some subtle differences between them, and I
>> haven't tried the 3.2 RPM's myself.
> Can you point me to those?  The xen.org RPMs at
> http://xen.org/download/dl_32rhel5.html don't include 64-bit versions,
> and going to xensource.com, I get lost in a maze of marketing.
>
>    John
>
Looks like you need to recompile from the SRPM. Do you have a 64-bit
system to do it on?

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

Re: Xen 3.2 & CentOS

by Vinod Kumar-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

On 2/27/08, Nico Kadel-Garcia <nkadel@...> wrote:
John Morris wrote:
> Nico Kadel-Garcia wrote:
>> Can't you install rhe Xensource.com RPM's as upgrades to the
>> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
>> and 5.x. There are some subtle differences between them, and I
>> haven't tried the 3.2 RPM's myself.
> Can you point me to those?  The xen.org RPMs at
> http://xen.org/download/dl_32rhel5.html don't include 64-bit versions,
> and going to xensource.com, I get lost in a maze of marketing.
>
>    John
>
Looks like you need to recompile from the SRPM. Do you have a 64-bit
system to do it on?
 
I was looking for xen 3.2 64bit for the similar reason (32 bit domU 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)  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,
Vinod

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

Re: Xen 3.2 & CentOS

by --[ UxBoD ]-- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm, I never got that problem at all :( So cannot really help.

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@...

----- "Vinod Kumar" <s.vinod79@...> wrote:

> On 2/27/08, Nico Kadel-Garcia < nkadel@... > wrote:
>
> John Morris wrote:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Re: Xen 3.2 & CentOS

by Nico Kadel-Garcia-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vinod Kumar wrote:

>
> On 2/27/08, *Nico Kadel-Garcia* <nkadel@...
> <mailto:nkadel@...>> wrote:
>
>     John Morris wrote:
>     > Nico Kadel-Garcia wrote:
>     >> Can't you install rhe Xensource.com <http://Xensource.com>
>     RPM's as upgrades to the
>     >> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
>     >> and 5.x. There are some subtle differences between them, and I
>     >> haven't tried the 3.2 RPM's myself.
>     > Can you point me to those?  The xen.org <http://xen.org> RPMs at
>     > http://xen.org/download/dl_32rhel5.html don't include 64-bit
>     versions,
>     > and going to xensource.com <http://xensource.com>, I get lost in
>     a maze of marketing.
>     >
>     >    John
>     >
>     Looks like you need to recompile from the SRPM. Do you have a 64-bit
>     system to do it on?
>
>  
> I was looking for xen 3.2 64bit for the similar reason (32 bit domU
> 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)  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,
> Vinod
Huh. 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?

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

Re: Xen 3.2 & CentOS

by Vinod Kumar-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Thu, Feb 28, 2008 at 7:18 AM, Nico Kadel-Garcia <nkadel@...> wrote:
Vinod Kumar wrote:
>
> On 2/27/08, *Nico Kadel-Garcia* <nkadel@...
> <mailto:nkadel@...>> wrote:
>
>     John Morris wrote:
>     > Nico Kadel-Garcia wrote:
>     >> Can't you install rhe Xensource.com <http://Xensource.com>
>     RPM's as upgrades to the
>     >> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
>     >> and 5.x. There are some subtle differences between them, and I
>     >> haven't tried the 3.2 RPM's myself.
>     > Can you point me to those?  The xen.org <http://xen.org> RPMs at
>     > http://xen.org/download/dl_32rhel5.html don't include 64-bit
>     versions,
>     > and going to xensource.com <http://xensource.com>, I get lost in
>     a maze of marketing.
>     >
>     >    John
>     >
>     Looks like you need to recompile from the SRPM. Do you have a 64-bit
>     system to do it on?
>
>
> I was looking for xen 3.2 64bit for the similar reason (32 bit domU
> 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)  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,
> Vinod
Huh. 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 to get xen 3.2 up or will it work with CentOS kernel?


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

Re: Xen 3.2 & CentOS

by --[ UxBoD ]-- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stock worked okay for me.

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@...

----- "Vinod Kumar" <s.vinod79@...> wrote:

> On Thu, Feb 28, 2008 at 7:18 AM, Nico Kadel-Garcia < nkadel@...
> > wrote:
>
>
>
> Vinod Kumar wrote:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Re: Xen 3.2 & CentOS

by Alessio Curri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vinod Kumar wrote:


On Thu, Feb 28, 2008 at 7:18 AM, Nico Kadel-Garcia <nkadel@...> wrote:
Vinod Kumar wrote:
>
> On 2/27/08, *Nico Kadel-Garcia* <nkadel@...
> <mailto:nkadel@...>> wrote:
>
>     John Morris wrote:
>     > Nico Kadel-Garcia wrote:
>     >> Can't you install rhe Xensource.com <http://Xensource.com>
>     RPM's as upgrades to the
>     >> Centos/RHEL RPM's? I've certainly done so with CentOS and RHEL, 4.x
>     >> and 5.x. There are some subtle differences between them, and I
>     >> haven't tried the 3.2 RPM's myself.
>     > Can you point me to those?  The xen.org <http://xen.org> RPMs at
>     > http://xen.org/download/dl_32rhel5.html don't include 64-bit
>     versions,
>     > and going to xensource.com <http://xensource.com>, I get lost in
>     a maze of marketing.
>     >
>     >    John
>     >
>     Looks like you need to recompile from the SRPM. Do you have a 64-bit
>     system to do it on?
>
>
> I was looking for xen 3.2 64bit for the similar reason (32 bit domU
> 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)  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,
> Vinod
Huh. 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 to get xen 3.2 up or will it work with CentOS kernel?


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

i'm currently using the xen3.2 rpm from xensource (on x86_64 machine, recompiled from the rpms) and the kernel provided from centos (2.6.18-53.1.13.el5xen both x86_64 and i386, of course in different VMs :) ).

I've run some "stability" tests and it seems to be ok...


Alessio
-- 
Alessio Curri

+39 040 375 8064
Software for Measurement Group 
Experiments Division
Sincrotrone Trieste S.c.p.A.
S.S. 14 Km 163.5, in Area Science Park
34012 Basovizza - Trieste (Italy)

[alessio_curri.vcf]

begin:vcard
fn:Alessio Curri
n:Curri;Alessio
email;internet:alessio.curri@...
tel;work:+39 040 375 8064
tel;cell:3497935430
x-mozilla-html:TRUE
version:2.1
end:vcard




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

smime.p7s (3K) Download Attachment

Re: Xen 3.2 & CentOS

by Vinod Kumar-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You mean the CentOS kernel?

Thanks

On Thu, Feb 28, 2008 at 6:27 PM, --[ UxBoD ]-- <uxbod@...> wrote:
Stock worked okay for me.

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@...

----- "Vinod Kumar" <s.vinod79@...> wrote:

> On Thu, Feb 28, 2008 at 7:18 AM, Nico Kadel-Garcia < nkadel@...
> > wrote:
>
>
>
> Vinod Kumar wrote:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



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

Re: Xen 3.2 & CentOS

by John Morris-16 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--[ UxBoD ]-- wrote:
> http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm
>
> I just built it from source and then installed the built RPM from /usr/src/redhat/RPMS.  It worked a treat; no more crashes with 32bit DomUs in a 64bit Dom0 :D
>  
UxBoD,

Thanks for this advice; it worked nicely, with only a couple of hiccups:

1.  Had the same trouble another poster in this thread had with the
hvmloader going in the wrong place, or not being picked up by the %files
section, anyway.  Hvmloader is actually a statically-linked, 32-bit ELF
executable, so it's unclear whether it should go by itself in
/usr/lib/xen/boot or with the other 64-bit stuff in
/usr/lib64/xen/boot.  I opted for the latter, since it's cleaner, but
don't forget to fix your hvm domU config files ('kernel =
"/usr/lib64/xen/boot/hvmloader"').  See the patch below.  Alternatively,
you could put a %if condition to test the arch to fix the %files section.

2.  The RPM doesn't fix /etc/grub.conf; be sure to go in there and make
sure that the 'kernel' command references the new xen.gz-3.2 image
installed with the new xen package instead of the old one installed with
the kernel-xen RPM, eg.:

    title CentOS-newxen (2.6.18-53.1.13.el5xen)
            root (hd0,0)
            kernel /xen.gz-3.2 dom0_mem=262144
            module /vmlinuz-2.6.18-53.1.13.el5xen ro root=/dev/dom0/root
            module /initrd-2.6.18-53.1.13.el5xen.img


Thanks again.

    John


=========== cut here ================
--- xen.spec.orig    2008-03-10 21:12:22.000000000 +0800
+++ xen.spec    2008-03-10 21:41:23.000000000 +0800
@@ -3,7 +3,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 3.2.0
-Release: 0xs%{?dist}
+Release: 1xs%{?dist}
 Group:   Development/Libraries
 License: GPL
 URL:     http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
@@ -113,7 +113,8 @@
 
 %install
 rm -rf %{buildroot}
-make XENFB_TOOLS=y XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=%{buildroot}
prefix=/usr install-tools install-docs
+make XENFB_TOOLS=y XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=%{buildroot}
prefix=%{_prefix} install-tools install-docs
+mv %{buildroot}%{_prefix}/lib/xen/boot %{buildroot}%{_libdir}/%{name} #
put hvmloader in the right place
 mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/domain
 mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/vnet
 mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/migrate
@@ -183,11 +184,6 @@
 %{python_sitearch}/grub
 %{_libdir}/%{name}
 %{_mandir}/man?/*.?.gz
-%dir /usr/lib/xen
-%ifnarch ia64
-# %dir /usr/lib/xen/boot
-# /usr/lib/xen/boot/hvmloader
-%endif
 %{_datadir}/%{name}/*.dtd
 %dir %{_datadir}/%{name}/qemu
 %{_datadir}/%{name}/qemu/keymaps/*
@@ -222,6 +218,10 @@
 %{_libdir}/*.a
 
 %changelog
+* Mon Mar 10 2008 John Morris <jman@...> - 3.2.0-1xs
+- fix hvmloader location depending on arch
+- pick up /usr/lib/xen or /usr/lib/xen64 correctly in %files depending
on arch
+
 * Thu Jan 10 2008 Ian Jackson <Ian.Jackson@...> -
3.2.0-0xs.centos5
 - Xen 3.2, built from 3.2 tree and heavily modified Centos (RHEL) patches.
 
================== cut here ====================

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

Re: Xen 3.2 & CentOS

by John Morris-16 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joris, I'm replying on list so that the next person might get the benefit.

The patch probably got munged going through email.  Look at it
carefully, though, I'm only changing one or two important lines.  The
most important one is this:

   mv %{buildroot}%{_prefix}/lib/xen/boot %{buildroot}%{_libdir}/%{name}
# put hvmloader in the right place

Look at the below patch to see where it belongs; it needs to go in after
'make install-tools install-docs' in the %install section.

On RH, %{_libdir} expands to /usr/lib on 32-bit, and /usr/lib64 on
64-bit.  Nothing tricky.

Good luck.

    John


> Hi John
>
> I'm really sorry to ask a very dumb question, but I've been trying to
> apply that patch you wrote and all I am getting is:
> [root@corrin SPECS]# cat xen.patch | patch
> patching file xen.spec
> patch: **** malformed patch at line 4: Summary: Xen is a virtual
> machine monitor
>
> I'm sure I'm doing something really n00b but can you please give me a
> pointer what it is.
> Heaps of thanks
> Joris


John Morris wrote:

> --[ UxBoD ]-- wrote:
>> http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 
>>
>>
>> I just built it from source and then installed the built RPM from
>> /usr/src/redhat/RPMS.  It worked a treat; no more crashes with 32bit
>> DomUs in a 64bit Dom0 :D
>>  
> UxBoD,
>
> Thanks for this advice; it worked nicely, with only a couple of hiccups:
>
> 1.  Had the same trouble another poster in this thread had with the
> hvmloader going in the wrong place, or not being picked up by the
> %files section, anyway.  Hvmloader is actually a statically-linked,
> 32-bit ELF executable, so it's unclear whether it should go by itself
> in /usr/lib/xen/boot or with the other 64-bit stuff in
> /usr/lib64/xen/boot.  I opted for the latter, since it's cleaner, but
> don't forget to fix your hvm domU config files ('kernel =
> "/usr/lib64/xen/boot/hvmloader"').  See the patch below.  
> Alternatively, you could put a %if condition to test the arch to fix
> the %files section.
>
> 2.  The RPM doesn't fix /etc/grub.conf; be sure to go in there and
> make sure that the 'kernel' command references the new xen.gz-3.2
> image installed with the new xen package instead of the old one
> installed with the kernel-xen RPM, eg.:
>
>    title CentOS-newxen (2.6.18-53.1.13.el5xen)
>            root (hd0,0)
>            kernel /xen.gz-3.2 dom0_mem=262144
>            module /vmlinuz-2.6.18-53.1.13.el5xen ro root=/dev/dom0/root
>            module /initrd-2.6.18-53.1.13.el5xen.img
>
>
> Thanks again.
>
>    John
>
>
> =========== cut here ================
> --- xen.spec.orig    2008-03-10 21:12:22.000000000 +0800
> +++ xen.spec    2008-03-10 21:41:23.000000000 +0800
> @@ -3,7 +3,7 @@
> Summary: Xen is a virtual machine monitor
> Name:    xen
> Version: 3.2.0
> -Release: 0xs%{?dist}
> +Release: 1xs%{?dist}
> Group:   Development/Libraries
> License: GPL
> URL:     http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
> @@ -113,7 +113,8 @@
>
> %install
> rm -rf %{buildroot}
> -make XENFB_TOOLS=y XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=%{buildroot}
> prefix=/usr install-tools install-docs
> +make XENFB_TOOLS=y XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=%{buildroot}
> prefix=%{_prefix} install-tools install-docs
> +mv %{buildroot}%{_prefix}/lib/xen/boot %{buildroot}%{_libdir}/%{name}
> # put hvmloader in the right place
> mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/domain
> mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/vnet
> mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/migrate
> @@ -183,11 +184,6 @@
> %{python_sitearch}/grub
> %{_libdir}/%{name}
> %{_mandir}/man?/*.?.gz
> -%dir /usr/lib/xen
> -%ifnarch ia64
> -# %dir /usr/lib/xen/boot
> -# /usr/lib/xen/boot/hvmloader
> -%endif
> %{_datadir}/%{name}/*.dtd
> %dir %{_datadir}/%{name}/qemu
> %{_datadir}/%{name}/qemu/keymaps/*
> @@ -222,6 +218,10 @@
> %{_libdir}/*.a
>
> %changelog
> +* Mon Mar 10 2008 John Morris <jman@...> - 3.2.0-1xs
> +- fix hvmloader location depending on arch
> +- pick up /usr/lib/xen or /usr/lib/xen64 correctly in %files
> depending on arch
> +
> * Thu Jan 10 2008 Ian Jackson <Ian.Jackson@...> -
> 3.2.0-0xs.centos5
> - Xen 3.2, built from 3.2 tree and heavily modified Centos (RHEL)
> patches.
>
> ================== cut here ====================
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@...
> http://lists.xensource.com/xen-users


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