Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"Hotplug scripts not working" when starting domU



I'm attempting to try out Xen for the first time and I'm having some
trouble getting a domU instance up and running.  I was able to get dom0
working pretty easily, but when trying to start a domU I get messages like:

Error: Device 1 (vbd) could not be connected. Hotplug scripts not working.

Following the instructions on the xen howto page on netbsd.org I did:

use sysinst to install NetBSD 5 RC2 on a completely clean machine (1G ram)
 ((XEN) CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 01)
pkg_add grub
pkg_add xentools3
pkg_add xenkernel3
setup grub to boot /xen and /netbsd-XEN3_DOM0 
 (I had to ungzip them to get it to work right)
setup /etc/ifconfig.bridge to create bridge0

Then I created a /usr/pkg/etc/xen/nbsd file according to the instructions,
but xm create complained about the nics and cpu line, so I commented those
out, and ended up with this:

kernel = "/netbsd-INSTALL_XEN3_DOMU"
memory = 128
name = "nbsd"
vcpus = 1
disk = [ 'phy:/dev/wd0e,0x1,w' ]
vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
root = "xbd0"

With both disk and vif commented out the kernel boots and gets to sysinst,
but of course I can't do anything useful.  With those enabled, when
I run "xm create -c /usr/pkg/etc/xen/nbsd" the domain starts in a "p"aused
state, and eventually I get the "scripts not working" message.  
According to a "echo foo > /tmp/blah" I added in the scripts in
/usr/pkg/etc/xen/scripts those are never actually executed.

The last few lines from /var/log/xen/xend.log are:
[2009-02-14 21:46:02 453] DEBUG (DevController:151) Waiting for devices vif.
[2009-02-14 21:46:02 453] DEBUG (DevController:156) Waiting for 0.
[2009-02-14 21:46:02 453] DEBUG (DevController:590) hotplugStatusCallback 
/local/domain/0/backend/vif/15/0/hotplug-status.

Does anyone have any suggestions for what to try?

eric


Home | Main Index | Thread Index | Old Index