[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] intermittent domU issue: related to udev?



On Thu, May 14, 2009 at 10:49:14AM -0400, Eric Lenio wrote:
> On Thu, May 14, 2009 at 05:35:32PM +0300, Pasi Kärkkäinen wrote:
> > On Thu, May 14, 2009 at 10:17:30AM -0400, Eric Lenio wrote:
> > > Here is a typical config for one of my domUs:
> > > 
> > > kernel = "/xen/vmlinuz-lincware-2.6.21-xenU"
> > > memory = 1024
> > > vif = [ 'bridge=xenbr0' ]
> > > name = "lincware3"
> > > disk = [
> > >   'phy:vg-sda4/lincware3-xfs,sda,w',
> > >   'phy:vg-sda4/lincware3-swap,sdb,w',
> > > ]
> > > root = "/dev/sda rw"
> > > usb=0
> > > 
> > 
> > Btw you shouldn't be using sda and sdb, you should be using xvda and xvdb.
> > xvd = Xen Virtual Disk.
> > 
> > That sdX device naming thing is deprecated and should not be used anymore.
> > 
> > Also, why do you have the kernel in dom0? I find it a lot easier to have the
> > kernel in the domU filesystem (use the kernel-xen provided by the distro),
> > and use pygrub/pvgrub to load the kernel from the domU filesystem.
> > 
> > -- Pasi
> 
> Good to know about xvd.  I will switch over to that convention.  Do you have
> reason to believe that this could be related to my original udev issue?  It
> seems unrelated only because my domUs will work for several weeks, and at some
> point I attempt to restart a domU but it does not seem to properly release
> resources and the next domU I attempt to start (could be any of them) will
> always fail with the mysterious "Error: Device 0 (vif) could not be connected.
> Hotplug scripts not working" which you see everywhere in this list.
> 
> Why is my kernel in dom0?  No particular reason, it's just how things played
> out as I built things.  I'm using gentoo for dom0 and I basically built my 
> dom0
> and domU kernels at the same time while following gentoo's guide.  In 
> retrospect
> I wish I had gone with prebuilt kernels, and I think I may eventually switch
> over to Debian... my preference would be Ubuntu because I use those a lot
> for my domUs but I have read that Ubuntu doesn't have the greatest support
> for Xen.  Other distro recommendations are welcome if you have them...

RHEL5 and CentOS5 have good support for Xen. I'd recommend those as dom0.

-- Pasi

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.