Subject: Re: Unable to start a Xen3 DOMU
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/08/2006 19:38:19
On Sun, Oct 08, 2006 at 12:45:05PM -0400, Steven M. Bellovin wrote:
> I have a Xen3 DOM0 kernel running on a fairly recent -current (I'm not
> certain of the exact date, but it's 4.99.3, from within the last week, I
> believe -- I'm trying to run an absolutely up-to-date one, but I haven't
> been able to build -current for the last day or so....)  I'm trying to run
> a Xen3 DOMU now, but I can't get it to fire up.  When I do 'xm create -c',
> I get
> 
> 	Error: Device 0 (vif) could not be connected. Hotplug scripts not
> working.
> 
> Tracing vif-bridge shows this:
> 
>  + PATH=/bin:/usr/bin:/usr/pkg/bin:/sbin:/usr/sbin:/usr/pkg/sbin
> + export PATH
> + xpath=/local/domain/0/backend/vif/5/0
> + xstatus=2
> + xenstore-read /local/domain/0/backend/vif/5/0/bridge
> xenstore-read: couldn't read path /local/domain/0/backend/vif/5/0/bridge
> + xbridge=
> 
> I have xend and xenbackendd running (via rc.d); I haven't yet started
> xendomains, since its purpose seems to be to start/stop DOMUs and I don't
> have any yet.

Can you show your config file ? I guess you don't have a 'bridge=xxx' 
entry for your vif ...
If this is intended, you can change vif-bridge to not try to read
/local/domain/0/backend/vif/5/0/bridge and configure the vif with a
bridge.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--