Xen Dom0 and Fedora

Steven Haigh netwiz at crc.id.au
Mon Jan 10 23:41:41 UTC 2011


On 31/12/2010 9:46 AM, M A Young wrote:
> On Wed, 29 Dec 2010, Steven Haigh wrote:
>
>>> If you want to try now
>>>
>>> http://fedorapeople.org/~myoung/dom0/
>>> <http://fedorapeople.org/%7Emyoung/dom0/>
>>
>> I did try these - but it seems they are only F12 kernels. I did try using
>> them anyhow however after loading the hypervisor, the system just stopped.
>
> It should still work on F13 and F14 (though not on rawhide because it
> isn't compatible with systemd). What does your grub.conf look like? The
> should be something along the lines of
> Title something
>   	kernel /path/xen.gz
>   	module /path/vmlinuz..... kernel-options
>   	module initramfs....

Sorry for the delay in this - I've rehashed my Xen system with lvm so 
that I can dual boot it between the working CentOS config and the 
experiments with F14 - that way things aren't down until I reinstall 
everything! :)

When I boot the x86_64 kernel from 
http://fedorapeople.org/~myoung/dom0/, the xen hypervisor loads, then I 
just get a black screen. The monitor goes into power savings and all 
seems dead. I can't see any disk activity at all - however pressing 
C-A-D does reboot the machine almost instantly.

My grub.conf entry:
title Fedora (2.6.32.26-174.2.xendom0.fc12.x86_64)
         root (hd1,0)
         kernel /xen.gz cpufreq=xen dom0_mem=512M loglvl=all 
guest_loglvl=all dom0_max_vcpus=4 dom0_vcpus_pin
         module /vmlinuz-2.6.32.26-174.2.xendom0.fc12.x86_64 ro 
root=/dev/mapper/RAID1-xenhost2 rd_LVM_LV=RAID1/xenhost2 
rd_MD_UUID=36de56a8:f0b5a953:26cc0f1b:25854d9c rd_NO_LUKS rd_NO_DM 
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
         module /initrd-2.6.32.26-174.2.xendom0.fc12.x86_64.img

The working F14 kernel entry is:
title Fedora (2.6.35.10-74.fc14.x86_64)
         root (hd1,0)
         kernel /vmlinuz-2.6.35.10-74.fc14.x86_64 ro 
root=/dev/mapper/RAID1-xenhost2 rd_LVM_LV=RAID1/xenhost2 
rd_MD_UUID=36de56a8:f0b5a953:26cc0f1b:25854d9c rd_NO_LUKS rd_NO_DM 
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
         initrd /initramfs-2.6.35.10-74.fc14.x86_64.img

For reference, here is the entry for my working CentOS install:
title CentOS
         root (hd1,0)
         kernel /xen.gz-3.4.3 cpufreq=xen dom0_mem=512M loglvl=all 
guest_loglvl=all dom0_max_vcpus=4 dom0_vcpus_pin
         module /vmlinuz-2.6.18-194.32.1.el5xen ro 
root=/dev/mapper/RAID1-xenhost
         module /initrd-2.6.18-194.32.1.el5xen.img


-- 
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299


More information about the test mailing list