Has anybody had success with building a working version of Xen on RHEL 4.1? Not having much luck on a Dell 380n workstation that''s shipped with a different kernel version... --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had done xen installation successfully on Cent-OS 4.3 version, which is a clone of RHEL-4.x . But the installation was from source. Everything works fine for me. Thanks Sadique brian@pongonova.net wrote:>Has anybody had success with building a working version of Xen on RHEL >4.1? Not having much luck on a Dell 380n workstation that''s shipped >with a different kernel version... > > --Brian > >_______________________________________________ >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
Sadique wrote:>> Has anybody had success with building a working version of Xen on RHEL >> 4.1? Not having much luck on a Dell 380n workstation that''s shipped >> with a different kernel version...I had no problem building under CentOS 4.3 which is a RHEL clone. Nothing special was required. What problem are you encountering? -- John R. Shannon, CISSP john@johnrshannon.com jshannon@dsci-usa.com john.r.shannon@us.army.mil shannonjr@NetBSD.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have RHEL4.1 with pae (more then 4 GB) install from source.! -----Oorspronkelijk bericht----- Van: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com]Namens John R. Shannon Verzonden: Wednesday, May 17, 2006 1:08 PM Aan: Xen-users@lists.xensource.com Onderwerp: Re: [Xen-users] Success with RHEL 4.1 build? Sadique wrote:>> Has anybody had success with building a working version of Xen on RHEL >> 4.1? Not having much luck on a Dell 380n workstation that''s shipped >> with a different kernel version...I had no problem building under CentOS 4.3 which is a RHEL clone. Nothing special was required. What problem are you encountering? -- John R. Shannon, CISSP john@johnrshannon.com jshannon@dsci-usa.com john.r.shannon@us.army.mil shannonjr@NetBSD.org _______________________________________________ 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
I too experience this, on centos 4.3. My machine is a intel xeon em64t. Xen works fine if compiled in 64/64 bit mode, but since drbd 0.8 doesn''t work with that just yet, this is not an option for now. Wanting to try drbd and xen out, i tried to compile xen in 32/32 bit mode with PAE. No dice. It failed when running make install, at the end of the process when linking xen, I presume. Compiling without PAE works fine though. br, /Håkan Kevin van Kuik wrote: I have RHEL4.1 with pae (more then 4 GB) install from source.! -----Oorspronkelijk bericht----- Van: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com]Namens John R. Shannon Verzonden: Wednesday, May 17, 2006 1:08 PM Aan: Xen-users@lists.xensource.com Onderwerp: Re: [Xen-users] Success with RHEL 4.1 build? Sadique wrote: Has anybody had success with building a working version of Xen on RHEL 4.1? Not having much luck on a Dell 380n workstation that''s shipped with a different kernel version... I had no problem building under CentOS 4.3 which is a RHEL clone. Nothing special was required. What problem are you encountering? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I regularly build Xen on a Red Hat Enterprise Linux AS release 4 (Nahant Update 2) machine, 32-bit, PAE enabled, without any problems. Håkan wrote:> I too experience this, on centos 4.3. > > My machine is a intel xeon em64t. > Xen works fine if compiled in 64/64 bit mode, but since drbd 0.8 > doesn''t work with that just yet, this is not an option for now. > Wanting to try drbd and xen out, i tried to compile xen in 32/32 bit > mode with PAE. No dice. It failed when running make install, at the > end of the process when linking xen, I presume. > Compiling without PAE works fine though. > > > br, > /Håkan > > > > > > Kevin van Kuik wrote: >> I have RHEL4.1 with pae (more then 4 GB) install from source.! >> >> -----Oorspronkelijk bericht----- >> Van: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com]Namens John R. Shannon >> Verzonden: Wednesday, May 17, 2006 1:08 PM >> Aan: Xen-users@lists.xensource.com >> Onderwerp: Re: [Xen-users] Success with RHEL 4.1 build? >> >> >> Sadique wrote: >> >>>> Has anybody had success with building a working version of Xen on RHEL >>>> 4.1? Not having much luck on a Dell 380n workstation that''s shipped >>>> with a different kernel version... >>>> >> >> I had no problem building under CentOS 4.3 which is a RHEL clone. >> Nothing special was required. What problem are you encountering? >> >> >> > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 17, 2006 at 05:07:52AM -0600, John R. Shannon wrote:> I had no problem building under CentOS 4.3 which is a RHEL clone. > Nothing special was required. What problem are you encountering?Basically, the following errors at boot: Loading <module>.ko module <module>: disagrees about version of symbol struct_module insmod: error inserting ''/lib/<module>.ko'': -1 Invalid module format ERROR: /bin/insmod exited normally (Repeats for each module) This is on a Dell 380n, BTW, which comes with RHEL 4.1 compiled for the x86_64 arch. I''m trying to keep these workstations as "stock" as possible (not a requirement, but more for reasons of time available to test other distros somewhat lacking). Things I''ve tried: 1. make world, etc... (per the docs) Compiles fine, initial boot is fine, module loading errors. 2. Thinking that there may be some modules necessary for the particular workstation I''m compiling for, I painstakingly diff''d the .9 and .16 .config files. Compile errors (mostly not being able to find *.ko files) led me to abandon this approach after much time spent modifying kernel configuration params. 3. Another post on the xen-users lists indicated that symbol-related errors might be due to the wrong modules being pulled into the initrd boot image. So I tried the following: $ depmod -F /boot/System.map-2.6.16-xen 2.6.16-xen $ mkinitrd -o /boot/xen.img 2.6.16-xen Same errors as above. That''s where I''m at now. --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 17, 2006 at 01:04:04PM -0500, David F Barrera wrote:> Make sure your initrd matches the kernel version that you are using....> >$ depmod -F /boot/System.map-2.6.16-xen 2.6.16-xen > >$ mkinitrd -o /boot/xen.img 2.6.16-xenWould it be safe to assume that the two commands above would satisfy this condition? Or is there something else I need to be doing to ensure this? Here''s the grub.conf entry pointing to the initrd created above: title Xen 3.0 / XenLinux 2.6 root (hd0,2) kernel /xen-3.0.gz console=vga dom0_mem=254000 noreboot module /vmlinuz-2.6-xen root=/dev/sda5 ro console=tty0 debug 3 module /xen.img --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Make sure your initrd matches the kernel version that you are using. brian@pongonova.net wrote:> On Wed, May 17, 2006 at 05:07:52AM -0600, John R. Shannon wrote: > >> I had no problem building under CentOS 4.3 which is a RHEL clone. >> Nothing special was required. What problem are you encountering? >> > > Basically, the following errors at boot: > > Loading <module>.ko module > <module>: disagrees about version of symbol struct_module > insmod: error inserting ''/lib/<module>.ko'': -1 Invalid module format > ERROR: /bin/insmod exited normally > > (Repeats for each module) > > This is on a Dell 380n, BTW, which comes with RHEL 4.1 compiled for > the x86_64 arch. I''m trying to keep these workstations as "stock" as > possible (not a requirement, but more for reasons of time available to > test other distros somewhat lacking). > > Things I''ve tried: > > 1. make world, etc... (per the docs) > > Compiles fine, initial boot is fine, module loading errors. > > 2. Thinking that there may be some modules necessary for the > particular workstation I''m compiling for, I painstakingly diff''d the > .9 and .16 .config files. Compile errors (mostly not being able to > find *.ko files) led me to abandon this approach after much time spent > modifying kernel configuration params. > > 3. Another post on the xen-users lists indicated that symbol-related > errors might be due to the wrong modules being pulled into the initrd > boot image. So I tried the following: > > $ depmod -F /boot/System.map-2.6.16-xen 2.6.16-xen > $ mkinitrd -o /boot/xen.img 2.6.16-xen > > Same errors as above. > > That''s where I''m at now. > > --Brian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
If you''re using the latest xen-unstable, the kernel version is 2.6.16.13-xen. brian@pongonova.net wrote:> On Wed, May 17, 2006 at 01:04:04PM -0500, David F Barrera wrote: > >> Make sure your initrd matches the kernel version that you are using. >> > ... > >>> $ depmod -F /boot/System.map-2.6.16-xen 2.6.16-xen >>> $ mkinitrd -o /boot/xen.img 2.6.16-xen >>> > > Would it be safe to assume that the two commands above would satisfy > this condition? Or is there something else I need to be doing to > ensure this? > > Here''s the grub.conf entry pointing to the initrd created above: > > title Xen 3.0 / XenLinux 2.6 > root (hd0,2) > kernel /xen-3.0.gz console=vga dom0_mem=254000 noreboot > module /vmlinuz-2.6-xen root=/dev/sda5 ro console=tty0 debug 3 > module /xen.img > > --Brian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > brian@pongonova.net > Sent: 17 May 2006 17:51 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Success with RHEL 4.1 build? > > On Wed, May 17, 2006 at 05:07:52AM -0600, John R. Shannon wrote: > > I had no problem building under CentOS 4.3 which is a RHEL clone. > > Nothing special was required. What problem are you encountering? > > Basically, the following errors at boot: > > Loading <module>.ko module > > <module>: disagrees about version of symbol struct_module > > insmod: error inserting ''/lib/<module>.ko'': -1 Invalid module > format > ERROR: /bin/insmod exited normally > > (Repeats for each module) > > This is on a Dell 380n, BTW, which comes with RHEL 4.1 > compiled for the x86_64 arch. I''m trying to keep these > workstations as "stock" as possible (not a requirement, but > more for reasons of time available to test other distros > somewhat lacking). > > Things I''ve tried: > > 1. make world, etc... (per the docs) > > Compiles fine, initial boot is fine, module loading errors. > > 2. Thinking that there may be some modules necessary for the > particular workstation I''m compiling for, I painstakingly diff''d the > .9 and .16 .config files. Compile errors (mostly not being > able to find *.ko files) led me to abandon this approach > after much time spent modifying kernel configuration params. > > 3. Another post on the xen-users lists indicated that > symbol-related errors might be due to the wrong modules being > pulled into the initrd boot image. So I tried the following: > > $ depmod -F /boot/System.map-2.6.16-xen 2.6.16-xen > > $ mkinitrd -o /boot/xen.img 2.6.16-xenAnd you have a "module /boot/xen.img" as part of your grub.conf [menu.lst in some systems], so that you''re using this, and not some other initrd file? -- Mats> > Same errors as above. > > That''s where I''m at now. > > --Brian > > _______________________________________________ > 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
On Wed, May 17, 2006 at 10:34:35PM +0200, Petersson, Mats wrote:> And you have a "module /boot/xen.img" as part of your grub.conf > [menu.lst in some systems], so that you''re using this, and not some > other initrd file?Yes, I''ve double-checked timestamps several times to make sure I wasn''t referring to the wrong image. --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I met this problem too and after investigation, I found that it is caused by the low version of "mkinitrd" in RHEL4.1. When I upgrade mkinitrd to 4.2.1.6, dom0 could be started successfully both in FC3 and RHEL4. Ping>-----Original Message----- >From: xen-users-bounces@lists.xensource.com >[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >brian@pongonova.net >Sent: 2006年5月17日 15:28 >To: xen-users@lists.xensource.com >Subject: Re: [Xen-users] Success with RHEL 4.1 build? > >On Wed, May 17, 2006 at 10:34:35PM +0200, Petersson, Mats wrote: >> And you have a "module /boot/xen.img" as part of your grub.conf >> [menu.lst in some systems], so that you''re using this, and not some >> other initrd file? > >Yes, I''ve double-checked timestamps several times to make sure I >wasn''t referring to the wrong image. > > --Brian > >_______________________________________________ >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
On Thu, May 18, 2006 at 09:50:39AM +0800, Yu, Ping Y wrote:> I met this problem too and after investigation, I found that it is caused > by the low version of "mkinitrd" in RHEL4.1. > When I upgrade mkinitrd to 4.2.1.6, dom0 could be started successfully both > in FC3 and RHEL4.I''ve upgraded to 4.2.1.6 of mkinitrd, still no luck.. However, I was curious to see if the module symbols matched with the kernel-generated symbols in System.map. So I ran this: depmod -e -F ./System.map 2.6.16.13-xen &> errors Lots of unknown symbol errors of the type: WARNING: /lib/modules/2.6.16.13-xen/kernel/drivers/atm/lanai.ko needs unknown symbol atm_dev_deregister So I guess there''s a disconnect between the modules and kernel. --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Success! (I think...) I''ve been pouring through the docs, trying to get a handle on this beast I''ve created. A bit of guidance would be helpful. "uname -a" shows 2.6.16.13-xen as the boot kernel...I presume this is dom0. I''m using the original root partition of this machine as the boot partition. The docs tell me that to create a guest domain, I must point to a kernel "compiled for use with Xen," and gives and example (/boot/vmlinuz-2.6-xenU). Is it possible to point to the original kernel that was distributed with this box (2.6.9), and boot into that? If I do this, do I need to create a copy of the distribution on a new root partition? --Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Brian, Which domain are you planning to use? If you want to start a domU, then you can take /etc/xen/xmexample1 as the example and *have to* points the kernel 2.6.16-xen for it, and if you want to start a HVM, then you can take /etc/xen/xmexample.hvm as the example, and do not modify the option "kernel" for you have to use hvmloader. Ping>-----Original Message----- >From: xen-users-bounces@lists.xensource.com >[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >brian@pongonova.net >Sent: 2006年5月21日 9:21 >To: xen-users@lists.xensource.com >Subject: Re: [Xen-users] Success with RHEL 4.1 build? > >Success! (I think...) I''ve been pouring through the docs, trying to >get a handle on this beast I''ve created. A bit of guidance would be >helpful. > >"uname -a" shows 2.6.16.13-xen as the boot kernel...I presume this is >dom0. > >I''m using the original root partition of this machine as the boot >partition. > >The docs tell me that to create a guest domain, I must point to a >kernel "compiled for use with Xen," and gives and example >(/boot/vmlinuz-2.6-xenU). > >Is it possible to point to the original kernel that was distributed >with this box (2.6.9), and boot into that? If I do this, do I need to >create a copy of the distribution on a new root partition? > > --Brian > >_______________________________________________ >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