Marco Strullato
2007-Nov-26 10:52 UTC
[Xen-users] 64 bit compatibility with phys to virt conversion
Hi all! I tried to virtualize a physical server (RedHat 3 AS, kernel 2.4, 32 bit) ). After dd the whole disk, using this conf file name = "SERVER" memory = "1024" disk = [ ''phy:/dev/VMVG/BOG,sda,w'', ] kernel = "vmlinux-2.4.21-47.0.1.EL.xs0.4.0.25xenU" ramdisk = "initrd-2.4.21-47.0.1.EL.xs0.4.0.25xenU.img" vif = [''bridge=xenbr0'' ] vfb = ["type=vnc,vncunused=1"] bootloader="/usr/bin/pygrub" vcpus=1 on_reboot = ''restart'' on_crash = ''restart'' I have this error ERROR: Kernel not a Xen-compatible Elf image. ERROR: Error constructing guest OS If my dom0 has a 64 bit kernel, can I boot 32 bit guests? I think it''s due to 64 bit compatibility. What do you think? Thanks, Marco _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Geoff Kirk
2007-Nov-26 11:37 UTC
Re: [Xen-users] 64 bit compatibility with phys to virt conversion
Hi, As far as i am aware 32bit domU on 64bit dom0 should be possible as of Xen 3.1.0 how it has to be setup to work i have no idea hopefully someone else can clarify that side of it. Geoff. Marco Strullato wrote:> Hi all! > > I tried to virtualize a physical server (RedHat 3 AS, kernel 2.4, 32 > bit) ). After dd the whole disk, using this conf file > > name = "SERVER" > memory = "1024" > disk = [ ''phy:/dev/VMVG/BOG,sda,w'', ] > kernel = "vmlinux-2.4.21-47.0.1.EL.xs0.4.0.25xenU" > ramdisk = "initrd-2.4.21-47.0.1.EL.xs0.4.0.25xenU.img" > vif = [''bridge=xenbr0'' ] > vfb = ["type=vnc,vncunused=1"] > bootloader="/usr/bin/pygrub" > vcpus=1 > on_reboot = ''restart'' > on_crash = ''restart'' > > I have this error > > ERROR: Kernel not a Xen-compatible Elf image. > ERROR: Error constructing guest OS > > If my dom0 has a 64 bit kernel, can I boot 32 bit guests? > I think it''s due to 64 bit compatibility. > > What do you think? > > Thanks, > Marco > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Mark Williamson
2007-Dec-04 03:44 UTC
Re: [Xen-users] 64 bit compatibility with phys to virt conversion
> As far as i am aware 32bit domU on 64bit dom0 should be possible as of > Xen 3.1.0 how it has to be setup to work i have no idea hopefully > someone else can clarify that side of it.Yes, it''s possible so long as the 32-bit guest uses PAE.> > name = "SERVER" > > memory = "1024" > > disk = [ ''phy:/dev/VMVG/BOG,sda,w'', ] > > kernel = "vmlinux-2.4.21-47.0.1.EL.xs0.4.0.25xenU" > > ramdisk = "initrd-2.4.21-47.0.1.EL.xs0.4.0.25xenU.img" > > vif = [''bridge=xenbr0'' ] > > vfb = ["type=vnc,vncunused=1"] > > bootloader="/usr/bin/pygrub" > > vcpus=1 > > on_reboot = ''restart'' > > on_crash = ''restart'' > > > > I have this error > > > > ERROR: Kernel not a Xen-compatible Elf image. > > ERROR: Error constructing guest OSWhere did you get the vmlinux and initrd described above from? Also, it''s kinda weird to specify both kernel/ramdisk= and a bootloader=... Are you intending to use those specific kernels from dom0 or are you trying to bot via pygrub... Are there any clues in /var/log/xen/xend.log or /var/log/xen/xend-debug.log? I''d guess not, but it might be worth a check ;-) Finally, if you are using pygrub do check that you''re booting the *right* kernel image from your guest. Start the guest with "xm create -c" so you get the console. When the pygrub screen comes up, make sure you select the Xen-aware kernel before booting! Finally, if you can''t get PV to work, if you have HVM-capable hardware you could probably just fully virtualise this machine. 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