Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Hotplug scripts not working.
On Wed, Jun 17, 2009 at 05:26:34PM +0200, Goran wrote:
> Hi all,
>
> I've created following config file for a virtual machine:
>
> # cat /usr/pkg/etc/xen/trial.hvm
> kernel = "/usr/pkg/lib/xen/boot/hvmloader"
> builder = 'hvm'
> memory = 128
> name = "trial"
> device_model = '/usr/pkg/libexec/qemu-dm'
> vif = [ 'type=ioemu, bridge=bridge0' ]
> disk = [ 'file=/var/xen/trial.img,ioemu:hda,w',
> 'file=/var/xen/ubuntu.iso,ioemu:hdd:cdrom,r' ]
> boot = 'd'
>
> when starting the machine I got:
>
> # xm create trial.hvm
> Using config file "/usr/pkg/etc/xen/trial.hvm".
> /usr/pkg/lib/python2.5/xmllib.py:9: DeprecationWarning: The xmllib
> module is obsolete. Use xml.sax instead.
> warnings.warn("The xmllib module is obsolete. Use xml.sax instead.",
> DeprecationWarning)
> Error: Device 768 (vbd) could not be connected. Hotplug scripts not
> working.
that would be hda, so /var/xen/trial.img. Does this file exists ?
>
> What are the hotplug scripts? Are they "/usr/pkg/etc/xen/scripts/*"?
yes.
> And
> why they don't work?
check that xenbackendd is running. If it is, check the content of
/var/log/xenbackendd.log (this is where the stderr of the hotplug scripts
is redirected). Also check dmesg for possible error messages from the
kernel.
--
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