Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "Hotplug scripts not working" again
On Sun, Jun 07, 2009 at 10:56:06AM -0500, Eric Haszlakiewicz wrote:
>
> Previously, I had attempted to get Xen working on one of my machines, and ran
> into problems mostly due to not starting the appropriate daemons. I'm now
> attempting to setup a domU on another machine, with a newly installed Xen,
> and I can't get it to work using what I thought was the same steps as I
> used before.
> All of "xend start", xenstored, xenconsoled, and xenbackendd are running, but
> I'm still getting errors about not being able to create the vif interfaces.
> Any ideas for what I should try?
>
> 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
>
> In the xend.log, the last few lines when it hangs are:
> [2009-06-06 21:26:54 12883] DEBUG (DevController:151) Waiting for devices vif.
> [2009-06-06 21:26:54 12883] DEBUG (DevController:151) Waiting for devices usb.
> [2009-06-06 21:26:54 12883] DEBUG (DevController:151) Waiting for devices vbd.
> [2009-06-06 21:26:54 12883] DEBUG (DevController:156) Waiting for 1.
> [2009-06-06 21:26:54 12883] DEBUG (DevController:590) hotplugStatusCallback
> /local/domain/0/backend/vbd/9/1/hotplug-status.
>
> but eventually it figures out things aren't working and destroys the domain.
>
> In xend-debug.log I see these lines:
> Xend started at Sat Jun 6 21:22:56 2009.
> brctl: not found
> brctl: not found
What about /var/log/xenbackendd.log ?
>
> The machine has a wm0 network interface. I created bridge0 with:
> ifconfig bridge0 create
> brconfig bridge0 add wm0 up
> (This step causes all network access to temporarily hang. Is that normal?)
Yes, it's because the interface got switched to promiscous mode.
> [...]
>
> I noticed that when it's hanging, if I run xenstore-ls, that also gets stuck,
I also noticed that xenstore-ls can't list the whole store, but it's
usually not a problem.
--
Manuel Bouyer, LIP6, Universite Paris VI.
Manuel.Bouyer%lip6.fr@localhost
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index