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] failed startup caused by unpriveledged domain device nod

To: "Luciano Miguel Ferreira Rocha" <strange@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] failed startup caused by unpriveledged domain device nodes not present in priviledged domain
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 22 Dec 2004 18:59:34 -0000
Delivery-date: Wed, 22 Dec 2004 19:00:46 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
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
Thread-index: AcToJRf6qP6wF/aUSw6N7sPvIqwUcwAMwkHg
Thread-topic: [Xen-devel] failed startup caused by unpriveledged domain device nodes not present in priviledged domain
> > disk = [ 'phy:fs/ns1,sda1,w', 'phy:fs/ns1_swap,sda2,w' ]
> > 
> > When I try and start the domain, I get the following output:
> > 
> > Using config file "/etc/xen/ns1".
> > Error: Error creating domain: vbd: Device not found: sda1
> > 
> > If I replace sda1 with hdc it works (except that it now complains 
> > about sda2).
> 
> IIRC, I had the same problem with a FC3 because of udev and 
> no /dev/sd* devices in the domain0.
> 
> You can either create the devices manually (cd /dev && 
> MAKEDEV sda), or use hda1, hda2 instead of sda1, sda2.

Or, use the numeric form of sda1 '0801'.

> > This strikes me as odd behaviour, shouldn't the device nodes in the 
> > priviledged domains be largely irrelevant for the unpriviledged 
> > domains (in the case of vbds at any rate)?
> 
> Yes, but xen probably needs those in order to find out the 
> major and minor information.
> 
> It would be nice if xen was changed to try some defaults for 
> sd and hd, though.

Yes, we should do this. Patches gratefuly accepted ;-)

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel