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

Re: [Xen-users] Xen 4.0 on gentoo hotplug scripts problem?



On Thu, Apr 08, 2010 at 09:52:24PM +0100, Andrew Lyon wrote:
> On Thu, Apr 8, 2010 at 8:08 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> > On Thu, Apr 08, 2010 at 06:54:44PM +0100, Andrew Lyon wrote:
> >> Hi,
> >>
> >> Ive just tried Xen 4.0 on Gentoo with 2.6.32 (also tried 2.6.31)
> >> forward ported dom0 kernel, Xen itself seems to boot up successfully
> >> and everything else on the system is working normally, but when I try
> >> to start a domain xm create appears to hang and eventually I get a
> >> hotplug scripts error:
> >>
> >> Error: Device 2049 (vbd) could not be connected.
> >> /etc/xen/scripts/block failed; error detected.
> >>
> >> Which logs and other data would be helpful in diagnosing this problem?
> >>
> >
> > Is there more information in "xm log" ?
> >
> > Or /var/log/xen/qemu*
> >
> > -- Pasi
> >
> >
> 
> This is what happens when I start the vm:
> 
> xm create -c Gentoo-32-test.cfg
> Using config file "./Gentoo-32-test.cfg".
> 
> 
> # Error: Device 2049 (vbd) could not be connected.
> /etc/xen/scripts/block failed; error detected.
> 
> xm log:
> 
> [2010-04-08 21:46:55 3763] ERROR (XendDomain:353) Unable to open or
> parse config.sxp:
> /var/lib/xend/domains/46f22c82-8a3d-47e3-b9c5-3b5f6eaf7a12/config.sxp
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py",
> line 344, in _managed_domains
>     cfg = XendConfig.XendConfig(filename = cfg_file)
>   File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
> line 342, in __init__
>     self._sxp_to_xapi(sxp_obj)
>   File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
> line 857, in _sxp_to_xapi
>     cfg = self._parse_sxp(sxp_cfg)
>   File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
> line 805, in _parse_sxp
>     self.parse_cpuid(cfg, \047cpuid\047)
>   File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
> line 610, in parse_cpuid
>     cfg[field][input] = dict(regs)
> ValueError: dictionary update sequence element #0 has length 1; 2 is required


This sounds like there's an error in Gentoo-32-test.cfg

Can you please paste it? 

-- Pasi




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.