From dgimenez at uol.com.br Fri Aug 19 14:27:57 2005 From: dgimenez at uol.com.br (Danilo Gimenez) Date: Fri Aug 19 14:27:56 2005 Subject: [Rhel4kernels-users] RHEL4 Kernels Project and Xen Message-ID: <1124479678.8876.0.camel@instrutor.localdomain.com.br> Hi folks. I intend to use Xen with RHEL4 in order to create testing environments for RAC 10g databases. The problem is, I kind of got stuck on how doing this. These are the steps I did: 1. Download packages from oss.oracle.com, Project RHEL4 Kernels * kernel-2.6.9-11.0.0.10.3.EL.src.rpm * kernel-2.6.9-11.0.0.10.3.EL.i686.rpm * kernel-devel-2.6.9-11.0.0.10.3.EL.i686.rpm * kernel-hugemem-devel-2.6.9-11.0.0.10.3.EL.i686.rpm * kernel-smp-devel-2.6.9-11.0.0.10.3.EL.i686.rpm 2. Install all of these packages * rpm -ivh kernel-2.6.9-11.0.0.10.3.EL.src.rpm * rpm -ivh kernel-2.6.9-11.0.0.10.3.EL.i686.rpm * rpm -ivh kernel-devel-2.6.9-11.0.0.10.3.EL.i686.rpm * rpm -ivh kernel-hugemem-devel-2.6.9-11.0.0.10.3.EL.i686.rpm * rpm -ivh kernel-smp-devel-2.6.9-11.0.0.10.3.EL.i686.rpm 3. Reboot the machine 4. Download Xen source code * wget -N -q http://www.cl.cam.ac.uk/Research/SRG/netos/xen /downloads/xen-2.0.7-src.tgz * tar xzf xen-2.0.7-src.tgz -C /opt 5. Try to "make install" for Xen on top of kernel-2.6.9-11.0.0.10.3.EL.i686 * cd /opt/xen-2.0 * rm -rf freebsd-5.3-xen-sparse * rm -rf linux-2.4.30-xen-sparse * rm -rf netbsd-2.0-xen-sparse * make install Well... this is where I got. After some processing, "make" shows this: Cannot find linux-2.6.11.tar.bz2 in path .:.. wget http://www.kernel.org/pub/linux/kernel/v2.6/ linux-2.6.11.tar.bz2-O./linux-2.6.11.tar.bz2 And then it starts to download the file above. As far I can imagine, this is not the right file. My guess is, I do not want this download to happen, instead I want "make install" to be applied on top of kernel-2.6.9-11.0.0.10.3.EL.src (/usr/src/redhat/SOURCES) or on kernel- devel-2.6.9-11.0.0.10.3.EL (/usr/src/kernels/2.6.9-11.0.0.10.3.EL- i686)... In /usr/src/redhat/SOURCES, there are many *.patch files, linux-2.6.9.tar.bz2 and patch-2.6.9-ac11.bz2. But there is no linux-2.6.11.tar.bz2 file. Will some of you gurus help me on this? - First of all, am I doing it right? Do these steps seem to be the right ones? - May linux-2.6.9.tar.bz2 be patched in order to get an linux-2.6.11.tar.bz2? How do I do that? Or, where can I find a simple HOWTO? Thanks in advance, Danilo Gimenez