[Gluster-devel] Re: [Xen-users] Re; Dom0 Kernels ..

Gareth Bult gareth at encryptec.net
Thu Jan 31 18:23:29 UTC 2008


I now have 2.6.21 up and running, seems to be ok in itself. 

When I start my DomU, if I use AIO on local volumes, it's fine .. if I run it on Gluster, it still hangs. 
(no only does it hang the DomU, it also hangs xenwatchd so no more DomU's will start - needs a reboot to fix) 

Here's what I see when I boot; 

NET: Registered protocol family 1 
NET: Registered protocol family 17 
xen-vbd: registered block device major 202 
xvda: xvda1 
xvdb:<4>XENBUS: Timeout connecting to device: device/vif/0 (state 1) 
XENBUS: Device with no driver: device/console/0 
Freeing unused kernel memory: 192k freed 
Loading, please wait... 

My configuration file looks like this; 

kernel = '/boot/ vmlinuz-2.6.21-prep' 
ramdisk = '/boot/initrd.img-2.6.21-prep' 
memory = '256' 
root = '/dev/md0 ro' 
disk = [ 'tap:aio:/vols/images/domains/test2/disk.img,ioemu:xvda,w' , 'tap:aio:/cluster/images1/domains/test2/disk2.img,ioemu:xvdb,w' ] 
name = 'test2' 
vif = [ 'ip=,mac=00:00:10:00:00:23' ] 
on_poweroff = 'destroy' 
on_reboot = 'restart' 
on_crash = 'restart' 
console = 'xvc0' 

I get exactly the same results irrespective of whether the glusterfs is mounted with directIO enabled or disabled. 
FILE based access (rather than AIO) works just fine. 

Any ideas? 

----- Original Message ----- 
step 3.: "Tait Clarridge" <Tait.Clarridge at lavalife.com> 
To: "Gareth Bult" <gareth at encryptec.net>, "Xen-Users" <xen-users at lists.xensource.com> 
Sent: 31 January 2008 14:32:38 o'clock (GMT) Europe/London 
Subject: RE: [Xen-users] Re; Dom0 Kernels .. 


I am running a 2.6.21 kernel with xen in dom0 and it has been rock solid. What I did was build Xen 3.2 with the default kernel (to get all the tools etc) then downloaded the mercurial source of a 2.6.21 kernel. 

They can be found at http://hg.et.redhat.com/kernel-dev/ i used the ehabkost/linux-2.6.21-xen-3.1.0 kernel and it has worked really well. 

When you are configuring the kernel ensure that you enable Xen support (it is one of the options in the Processor Type and Features heading) then scroll down to the bottom of the config subsections on the first page and a new XEN heading will be available. Enable Hypervisor Support (or it is something that will be similar I don’t remember the exact wording). 

I had to mess around with a few options before it started working right, my kernel has all the RAID and LVM stuff built in (no modules) and make sure that most SCSI stuff, USB controller stuff and AHCI is built in as a module. 

Let me know how it goes, you might need to throw a few extra options while creating the ramdisk so if you run into problems... post em’ :) 

Best of Luck, 


From: xen-users-bounces at lists.xensource.com [mailto:xen-users-bounces at lists.xensource.com] On Behalf Of Gareth Bult 
Sent: January-31-08 5:28 AM 
To: Xen-Users 
Subject: [Xen-users] Re; Dom0 Kernels .. 


I need some features from 2.6.19+ in my Dom0 .. is this an impossible task for the moment or does anyone have a stable kernel source tree more advanced thann that I can access? 

Ubuntu 2.6.22 is unstable .. pure source build is great .. (with Xen3.2) 

What I'd like is to source build a 2.6.xx where xx > 18 ... can anyone point me in the right direction ? 


More information about the Gluster-devel mailing list