What is the best way to compile xen on centos 5.3? Also I need to able to kmod Yum kmod-drbd with the new version of xen. I belive that if I want to use xen 3.4.1 I have to re compile kernel right? I''m currently using kernel 2.6.18-127 from centos 5.3 but is running xen 3.1 only from yum Sent from my iPhone _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Sep-16 07:11 UTC
Re: [Xen-users] Best way to compile xen 3.4.1 on centos 5.3
On Tue, Sep 15, 2009 at 11:52:56PM -0700, Chris wrote:> What is the best way to compile xen on centos 5.3? Also I need to able > to kmod Yum kmod-drbd with the new version of xen. I belive that if I > want to use xen 3.4.1 I have to re compile kernel right? I''m currently > using kernel 2.6.18-127 from centos 5.3 but is running xen 3.1 only > from yum >You can use the default centos 5.3 dom0 kernel with Xen 3.4.1 hypervisor. Exactly that kind of configuration is used for example with http://gitco.de/repo/ xen 3.4.1 rpms. Many people have told it works for them. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-16 07:11 UTC
Re: [Xen-users] Best way to compile xen 3.4.1 on centos 5.3
On Wed, Sep 16, 2009 at 1:52 PM, Chris <khris4@gmail.com> wrote:> What is the best way to compile xen on centos 5.3?"Best" is relative. What''s best for me might not be the best for you :P The easiest method however, is to use RPMs from http://www.gitco.de/repo/> Also I need to able to > kmod Yum kmod-drbd with the new version of xen. I belive that if I want to > use xen 3.4.1 I have to re compile kernel right?Not really. You can use existing kernel-xen. There''s a caveat though: some newer Xen features (like scsi-passthru) won''t work. It should be enough for most purposes though.> I''m currently using kernel > 2.6.18-127 from centos 5.3 but is running xen 3.1 only from yumHere''s what I have on RHEL5, with some packages from Centos and Gitco: kernel-xen-2.6.18-164.el5 kmod-drbd83-xen-8.3.2-5.el5_3 drbd83-8.3.2-5.el5_3 xen-libs-3.4.1-1.el5 xen-3.4.1-1.el5 libvirt-0.6.4-2.el5 -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-16 08:26 UTC
Re: [Xen-users] Best way to compile xen 3.4.1 on centos 5.3
On Wed, Sep 16, 2009 at 2:41 PM, Chris <khris4@gmail.com> wrote:> So let''s say I want use the latest freature like scsi pass thru is it better > to compile xen and the kernel?Compiling both will work. However Gitco''s xen package is essentially the same Xen hypervisor and tools you get if you compile yourself, so if you want to save time you could use their package and compile the kernel only.> The kernel xen download is 2.6.18 and the > centos use is 2.6.18-127 not sure I can compile xeb with centos kernel or > not.RHEL/Centos kernel is 2.6.18 with lots of backported patch/drivers/functionality. Some of them (ext4 support for example) might not be available on xen.org''s 2.6.18 kernel.> I compile xen 3.4.1 with kernel that it download for 2.6.18 and when I > tried to install kmod drbd I got an error invald module.It doesn''t work that way. If you compile a new kernel you need to compile drbd modules as well. You can''t just take drbd module built for Centos kernel and use it on your self-compiled kernel.> Also If I use rpm > from site given will the scsi pass thru work?Gitco does not provide a kernel RPM. So after installing xen-related package from that site, you can : - use centos kernel-xen (and your existing drbd module), but scsi-passthu (and some newer kernel features) won''t work. OR - compile xen.org''s 2.6.18 kernel, but you need to compile drbd module as well. Also you''d be missing some backported functionality present on Centos'' kernel-xen. Other kernels are also available (http://wiki.xensource.com/xenwiki/XenDom0Kernels) but since you use Centos you''d better stick with one of the above. That''s why I said "best" is relative. Pick what you need most, and choose from the available alternative. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users