Subject: Re: Unable to start a Xen3 DOMU
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: port-xen
Date: 10/08/2006 13:57:01
This is a multi-part message in MIME format.

--Multipart=_Sun__8_Oct_2006_13_57_01_-0400_LtyPeWGmWmlrHF7/
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sun, 8 Oct 2006 19:38:19 +0200, Manuel Bouyer <bouyer@antioche.eu.org>
wrote:

> 
> 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.
> 
I don't have a bridge= entry -- I relied on the text that says 

	You may have one created
	with sensible defaults using an empty vif clause

which is what I have.  What should the line say?  I tried

	vif = [ '', 'bridge=bridge0' ]

but that didn't do it; I got

	Error: Device 0 (vif) could not be connected. Hotplug scripts not
working.

(bridge0 was properly created at boot time, and 'brconfig -a' shows that
it's there.)

Where does /local/domain... come from?  It's being passed to the
vif-bridge script.  It looks like a file name, but I don't have /local on
my machine -- should I?  I don't see anything about it in the Cambridge
install guide or at http://wiki.onetbsd.org/index.php/xen3-install:xen

I've attached the config file; it's only slightly modified from the
example given.


		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb

--Multipart=_Sun__8_Oct_2006_13_57_01_-0400_LtyPeWGmWmlrHF7/
Content-Type: application/octet-stream;
 name="haaretz"
Content-Disposition: attachment;
 filename="haaretz"
Content-Transfer-Encoding: base64

IyAgLSotIG1vZGU6IHB5dGhvbjsgLSotCiM9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CiMgUHl0aG9uIGNv
bmZpZ3VyYXRpb24gc2V0dXAgZm9yICd4bSBjcmVhdGUnLgojIFRoaXMgc2NyaXB0IHNldHMgdGhl
IHBhcmFtZXRlcnMgdXNlZCB3aGVu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ryb3kn
CiMgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25fY3Jhc2ggICAgPSAnZGVzdHJveScKCiNv
bl9wb3dlcm9mZiA9ICdkZXN0cm95Jwojb25fcmVib290ICAgPSAncmVzdGFydCcKI29uX2NyYXNo
ICAgID0gJ3Jlc3RhcnQnCgojPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQo=

--Multipart=_Sun__8_Oct_2006_13_57_01_-0400_LtyPeWGmWmlrHF7/--