Hi ALL, I have got fedora Core 7 installed as a host OS. My requirement is to run CentOS 4.0 as a guest OS. I have got the kernel source(2.6.9-5EL) , but I am unable to figure out how to compile the kernel for domU. I apologize if this had been answered earlier.This is my first post. I would be very grateful if someone can point me in right direction. I read the whole user document that comes with xen 3.1 , but it does not contain info specific to xen enabling a custom kernel for para-virtualization. Can someone can point me to a good :). -- Regards-- Rishi Pathak _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 4 Dec 2007, rishi pathak wrote:> I have got fedora Core 7 installed as a host OS. > My requirement is to run CentOS 4.0 as a guest OS. > I have got the kernel source(2.6.9-5EL) , but I am unable to figure out how > to > compile the kernel for domU. > I apologize if this had been answered earlier.This is my first post.I don''t know of a CentOS4.0/RHEL4.0 kernel patched to work with xen; XenSource had some 4.4 kernels in the 3.0.2 days. If you can upgrade to CentOS 4.5, it comes with Xen DomU kernels out of box. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi there,> I have got fedora Core 7 installed as a host OS. > My requirement is to run CentOS 4.0 as a guest OS. > I have got the kernel source(2.6.9-5EL) , but I am unable to figure out how > to > compile the kernel for domU. > I apologize if this had been answered earlier.This is my first post. > > I would be very grateful if someone can point me in right direction. > I read the whole user document that comes with xen 3.1 , but it does not > contain info specific to > xen enabling a custom kernel for para-virtualization. > Can someone can point me to a good :).Enabling an arbitrary custom kernel for paravirtualization can be tricky. Is there any reason you can''t use CentOS 4.5, which comes with Xen-enabled kernel for running in a domU? That would be my recommendation. Cheers, Makr -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi , The problem is that we have got a high speed interconnect and the driver for it was compiled for 2.6.9-5 EL. We have got only binaries of the driver and not source.For this reason we have to stick to the said kernel. Let me explain the scenario/problem for which we need virtualization.We have a compute cluster with nodes having 8GB of memory.The nodes are all dual socket single core Intel Xeon.The driver for high speed interconnect can only work with 4GB of available RAM(i.e. it cannot see more than 4GB).If I restrict RAM to 4GB then it would be a wastage.So the solution that came up was to divide node into two virtual machine and assign high speed interconnect to one virtual machine.Both machines will have 4GB. On 12/4/07, Luke S. Crawford <lsc@prgmr.com> wrote:> > On Tue, 4 Dec 2007, rishi pathak wrote: > > I have got fedora Core 7 installed as a host OS. > > My requirement is to run CentOS 4.0 as a guest OS. > > I have got the kernel source(2.6.9-5EL) , but I am unable to figure out > how > > to > > compile the kernel for domU. > > I apologize if this had been answered earlier.This is my first post. > > I don''t know of a CentOS4.0/RHEL4.0 kernel patched to work with xen; > XenSource had some 4.4 kernels in the 3.0.2 days. If you can upgrade to > CentOS 4.5, it comes with Xen DomU kernels out of box. > > >-- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
rishi pathak wrote:> Hi , > The problem is that we have got a high speed interconnect and the > driver for it was compiled for 2.6.9-5 EL. > We have got only binaries of the driver and not source.For this reason > we have to stick to the said kernel. >You DO know a BINARY kernel module for normal linux kernel doesn''t work on Xen PV kernel, right? The module itself must be recompiled. If you HAVE to use that particular version of the kernel (and not from RH 4.5, for example) then most likely it won''t work in PV guest.> Let me explain the scenario/problem for which we need > virtualization.We have a compute cluster with nodes having 8GB of > memory.The nodes are all dual socket single core Intel Xeon.The driver > for high speed interconnect can only work with 4GB of available > RAM(i.e. it cannot see more than 4GB).If I restrict RAM to 4GB then it > would be a wastage.So the solution that came up was to divide node > into two virtual machine and assign high speed interconnect to one > virtual machine.Both machines will have 4GB.Start here to run RHEL4 as PV guest http://people.redhat.com/riel/RHEL4-Xen-HOWTO I have a strong hunch your setup won''t work though. You might be able to use HVM domU instead, and (if the device is PCI) use PCI passthrough. This way you should be able to use normal RHEL4 kernel. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fajar On 12/5/07, Fajar A. Nugraha <fajar@telkom.net.id> wrote:> > rishi pathak wrote: > > Hi , > > The problem is that we have got a high speed interconnect and the > > driver for it was compiled for 2.6.9-5 EL. > > We have got only binaries of the driver and not source.For this reason > > we have to stick to the said kernel. > > > You DO know a BINARY kernel module for normal linux kernel doesn''t work > on Xen PV kernel, right?I was not aware of that fact:(.Thanks for the information The module itself must be recompiled. If you HAVE to use that particular> version of the kernel (and not from RH 4.5, for example) then most > likely it won''t work in PV guest.If I compile the module from within the guest It will work right?.> Let me explain the scenario/problem for which we need > > virtualization.We have a compute cluster with nodes having 8GB of > > memory.The nodes are all dual socket single core Intel Xeon.The driver > > for high speed interconnect can only work with 4GB of available > > RAM(i.e. it cannot see more than 4GB).If I restrict RAM to 4GB then it > > would be a wastage.So the solution that came up was to divide node > > into two virtual machine and assign high speed interconnect to one > > virtual machine.Both machines will have 4GB. > > Start here to run RHEL4 as PV guest > http://people.redhat.com/riel/RHEL4-Xen-HOWTO > > I have a strong hunch your setup won''t work though. > You might be able to use HVM domU instead, and (if the device is PCI) > use PCI passthrough. This way you should be able to use normal RHEL4 > kernel.The nodes does not have support for Intel VT. What would be performance degradation if I use HVM instead of PV. I tried with inserting module in 2.6.9-42 based domU...oops:kernel panic> Regards, > > FajarRegards -- Rishi Pathak _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
rishi pathak wrote:> Hi Fajar > > On 12/5/07, *Fajar A. Nugraha* <fajar@telkom.net.id > <mailto:fajar@telkom.net.id>> wrote: > > rishi pathak wrote: > > Hi , > > The problem is that we have got a high speed interconnect and the > > driver for it was compiled for 2.6.9-5 EL. > > We have got only binaries of the driver and not source.For this > reason > > we have to stick to the said kernel. > > > You DO know a BINARY kernel module for normal linux kernel doesn''t > work > on Xen PV kernel, right? > > > I was not aware of that fact:(.Thanks for the information > > The module itself must be recompiled. If you HAVE to use that > particular > version of the kernel (and not from RH 4.5, for example) then most > likely it won''t work in PV guest. > > > If I compile the module from within the guest It will work right?.If you have the source for the module, then you can use the Dom-U kernel shipped with RHEL-4.5 or 4.6 and compile the module for that kernel. Then the new module should work then. The hassle free solution is to bargain with the vendor of the module either for the source code or new binaries compatible for 4.5/4.6 Dom-U kernel. --Sadique> > > Let me explain the scenario/problem for which we need > > virtualization.We have a compute cluster with nodes having 8GB of > > memory.The nodes are all dual socket single core Intel Xeon.The > driver > > for high speed interconnect can only work with 4GB of available > > RAM(i.e. it cannot see more than 4GB).If I restrict RAM to 4GB > then it > > would be a wastage.So the solution that came up was to divide node > > into two virtual machine and assign high speed interconnect to one > > virtual machine.Both machines will have 4GB. > > Start here to run RHEL4 as PV guest > http://people.redhat.com/riel/RHEL4-Xen-HOWTO > > I have a strong hunch your setup won''t work though. > You might be able to use HVM domU instead, and (if the device is PCI) > use PCI passthrough. This way you should be able to use normal > RHEL4 kernel. > > > > The nodes does not have support for Intel VT. What would be > performance degradation if I use HVM instead of PV. > I tried with inserting module in 2.6.9-42 based domU...oops:kernel panic > > Regards, > > Fajar > > > > Regards -- > Rishi Pathak > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
rishi pathak wrote:> > The module itself must be recompiled. If you HAVE to use that > particular > version of the kernel (and not from RH 4.5, for example) then most > likely it won''t work in PV guest. > > > If I compile the module from within the guest It will work right?.The module has to be compiled for kernel-xen. It doesn''t necessarily need to be from within the guest. You''ll need the source of this module. Most modules (e.g. wireless/vga driver) should work with a simple recompilation. Some modules (e.g. Vmware/Virtualbox kernel module) won''t work at all on a xenified kernel. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson wrote:> Hi there, > > >> I have got fedora Core 7 installed as a host OS. >> My requirement is to run CentOS 4.0 as a guest OS. >> I have got the kernel source(2.6.9-5EL) , but I am unable to figure out how >> to >> compile the kernel for domU. >> I apologize if this had been answered earlier.This is my first post. >> >> I would be very grateful if someone can point me in right direction. >> I read the whole user document that comes with xen 3.1 , but it does not >> contain info specific to >> xen enabling a custom kernel for para-virtualization. >> Can someone can point me to a good :). >> > > Enabling an arbitrary custom kernel for paravirtualization can be tricky. > > Is there any reason you can''t use CentOS 4.5, which comes with Xen-enabled > kernel for running in a domU? That would be my recommendation. >You *do* realize that in the DomU, as soon as you do "yum update", you''re effectively switched from CentOS 4.0 to CentOs 4.5, right? If you have to use your own, install it first as CentOS 4.t and then install the RHEL 4.5 kernel, version 3.1 RPM bundled kernel from xensource.com, or build and install your own manually inside the existing DomU. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Nico On 12/5/07, Nico Kadel-Garcia <nkadel@gmail.com> wrote:> > Mark Williamson wrote: > > Hi there, > > > > > >> I have got fedora Core 7 installed as a host OS. > >> My requirement is to run CentOS 4.0 as a guest OS. > >> I have got the kernel source(2.6.9-5EL) , but I am unable to figure out > how > >> to > >> compile the kernel for domU. > >> I apologize if this had been answered earlier.This is my first post. > >> > >> I would be very grateful if someone can point me in right direction. > >> I read the whole user document that comes with xen 3.1 , but it does > not > >> contain info specific to > >> xen enabling a custom kernel for para-virtualization. > >> Can someone can point me to a good :). > >> > > > > Enabling an arbitrary custom kernel for paravirtualization can be > tricky. > > > > Is there any reason you can''t use CentOS 4.5, which comes with > Xen-enabled > > kernel for running in a domU? That would be my recommendation. > > > You *do* realize that in the DomU, as soon as you do "yum update", > you''re effectively switched from CentOS 4.0 to CentOs 4.5, right?What I did was to copy entire / from an installed CentOS 4.0 system to a partition. Then I installed 2.6.9-42.0.3.EL.xs0.4.0.263xenU.rpm If you have to use your own, install it first as CentOS 4.t and then> install the RHEL 4.5 kernel, version 3.1 RPM bundled kernel from > xensource.com, or build and install your own manually inside the > existing DomU.I did''nt quiet get what you are trying to convey.What happens if I build another kernel in the domU environment. Thanks for your valuable replies:) -- Regards-- Rishi Pathak _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I have a strong hunch your setup won''t work though. > You might be able to use HVM domU instead, and (if the device is PCI) > use PCI passthrough. This way you should be able to use normal RHEL4 > kernel.Mark: To do PCI passthrough to an HVM guest you currently need to be running xen-unstable and have a system which supports VT-d (which is an IO-related addition to VT - sadly, just having VT isn''t enough). Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> The nodes does not have support for Intel VT. What would be performance > degradation if I use HVM instead of PV.Just to clarify, you do *have* to have VT support (on Intel) or SVM support (AMD) in order to use HVM mode. Xen depends on hardware support to do full machine virtualisation. Cheers, Mark> I tried with inserting module in 2.6.9-42 based domU...oops:kernel panic > > > Regards, > > > > Fajar > > Regards -- > Rishi Pathak-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users