Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "Hotplug scripts not working" again
On Mon, Jun 08, 2009 at 07:08:39PM -0500, Eric Haszlakiewicz wrote:
> On Mon, Jun 08, 2009 at 10:46:55AM +0200, Manuel Bouyer wrote:
> > On Sun, Jun 07, 2009 at 10:56:06AM -0500, Eric Haszlakiewicz wrote:
> > > When I run:
> > > xm create foo
> > > It hangs for a while, then prints:
> > > Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
> >
> > This is usually when it tries to connect the vif to a non-existing bridge
>
> Yeah, that's what I figured, but I'm pretty sure I've got the bridge created.
> I thought that maybe it was something to do with the wm driver, but the only
> other interface on this machine is lo0, and trying to bridge that doesn't
> work.
You could have a bridge up with no connected interfaces I think.
I can't see how wm0 could be a problem (this is what I have in my
servers, BTW).
> >
> > What about /var/log/xenbackendd.log ?
>
> I restart xenbackendd with "xenbackendd -d". Here's the log file:
> exec /usr/pkg/etc/xen/scripts/block /local/domain/0/backend/vbd/18/1 1
> exec /usr/pkg/etc/xen/scripts/vif-bridge /local/domain/0/backend/vif/18/0 1
> Failed to read /local/domain/0/backend/console/18/0/script (No such file or
> directory)
> exec /usr/pkg/etc/xen/scripts/vif-bridge /local/domain/0/backend/vif/18/0 5
> exec /usr/pkg/etc/xen/scripts/vif-bridge /local/domain/0/backend/vif/18/0 5
> exec /usr/pkg/etc/xen/scripts/block /local/domain/0/backend/vbd/18/1 5
> exec /usr/pkg/etc/xen/scripts/block /local/domain/0/backend/console/18/0 5
> xenstore-read: couldn't read path /local/domain/0/backend/console/18/0/type
does /usr/pkg/etc/xen/scripts/vif-bridge exists and is executable ?
I guess it would print an error if it was not.
You could also change it to be #!/bin/sh -ex so it prints what it's doing.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index