WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] can't start domains

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] can't start domains
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 23 Aug 2004 11:25:07 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, mike.wray@xxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 23 Aug 2004 11:27:33 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 23 Aug 2004 09:16:01 +1000." <5593EB52-EF1A-45E7-9636-66E6DFE48BCC@mimectl>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> the hex solution will work nicely. Maybe xen needs its own set of major/minor 
> numbers which xend can parse without having to look them up? eg /dev/xbd1

The trouble with using anything other than sd[a-z] hd[a-z] is
that it breaks a lot of scripts that various distros use. 

The way it currently works is that blkfront driver comes up early
in the boot process and uses a messaging channel to say to xend
"what block devices have I got?" If xend says 0801 (sda1) and
0343 (hdb3), then blkfront will grab block majors 08 and 03 and
create the appropriate disk structures.

One thing to watch out for is that if the blkfront driver has
been asked to grab major 08 then the scsi/sd layer won't be able
to get it, so that you won't then be able to have iscsi disks. If
you want to use iscsi as well, stick to using hd* (or xd*).

> I wonder how udev will work running in the xenU domain... do you think it 
> would recognise the xen devices? i'll give it ago when I can afford some more 
> testing time.

We currently don't have hooks in the blkfront driver to register
with devices udev. I expect these would be easy to add by someone
who knew udev.  We need to think through exactly how this will
interact with the move to passing device _names_ rather than
numbers.

Ian
 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel