Port-xen archive

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

Re: Hotplug scripts not working.



On Thu, Jun 18, 2009 at 11:39:00AM +0200, Goran wrote:
> 
> 
> Am Mittwoch, den 17.06.2009, 18:41 +0200 schrieb Manuel Bouyer:
> > On Wed, Jun 17, 2009 at 05:26:34PM +0200, Goran wrote:
> > > [...]
> > that would be hda, so /var/xen/trial.img. Does this file exists ?
> 
> Yes.
> 
> > [...]
> > 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.
> 
> # dmesg
> [...]
> xvif1.0: Ethernet address 00:16:3e:64:62:f7
> xvif1.0: disconnecting
> 
> # cat /var/log/xenbackendd.log
> stat: : lstat: No such file or directory
> stat: : lstat: No such file or directory
> stat: : lstat: No such file or directory
> stat: : lstat: No such file or directory

That would be the problem. This is an erorr from the stat(1) command
called from /usr/pkg/etc/xen/scripts/block. It didn't identify the type
of backend block device used. Double check the syntax in the
domU's config file.

> Failed to read /local/domain/0/backend/console/4/0/script (No such file
> or directory)
> xenstore-read: couldn't read
> path /local/domain/0/backend/console/4/0/type
> unknown type
> unknown type

This is harmless, the console is special and ignored by the hotplug
scripts.

-- 
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