WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Subject: Re: [Xen-users] Xen 4.0 on gentoo hotplug scripts problem?
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 8 Apr 2010 23:58:36 +0300
Cc: xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Apr 2010 14:11:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <g2zf4527be1004081352x1dff0a96t91141663789dc6db@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <n2tf4527be1004081054zff4876bat3fca6b9c0aa21bf5@xxxxxxxxxxxxxx> <20100408190834.GB1878@xxxxxxxxxxx> <g2zf4527be1004081352x1dff0a96t91141663789dc6db@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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