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

Re: [Xen-devel] libxl: error handling before xenstored runs

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] libxl: error handling before xenstored runs
From: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxx>
Date: Wed, 09 Feb 2011 09:46:56 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 Feb 2011 06:47:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WqZlyyMFKRIVDRoCnPIZC4jSCeovcOkZs5xmSOfqpN4=; b=pnCIRH+c2hjimXwK+sNAXJsQDSrcNfjloGVj8ropavFwM5Z1kC+cW3C9brEeWWTRpG zQDW6Dh81tfu2035mIDdcicoNqu8OXXjsCal5SjOyZ/fGIF2F4fuboMvxJfOTvTtnu9L JRRM0AxE7pZpWm5LCqaFwVeVPuLqW5bcWqazE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bj0tLbHODLKVnyjlBVfpqB0JVdcyEYZUVFIjG4e+HFTCK2NjXASKV3IUjnevwWofRM HaFZnH80TdvDmiT0NsXWaIbN4vxhnCr+XcVGI9G39nO+9kbmYy4ML6al/BGcSFYxxtk0 YzEtdoZ7v1MN+Ic7nQG12Jz6EtCGKPlCBwaJ0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201102091542.11027.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201102091213.06591.Christoph.Egger@xxxxxxx> <4D52A4E3.7070907@xxxxxxxxx> <201102091542.11027.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (X11/20101027)
Christoph Egger wrote:
> On Wednesday 09 February 2011 15:29:55 Kamala Narasimhan wrote:
>> Christoph Egger wrote:
>>> Hi!
>>>
>>> When I start a guest *before* xenstored runs
>>> then I get this list of error messages:
>>>
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 0: Bad file descriptor
>>> libxl: error: libxl_device.c:116:libxl__device_generic_add xs transaction
>>> failed: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 0: Bad file descriptor
>>> libxl: error: libxl_device.c:116:libxl__device_generic_add xs transaction
>>> failed: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 0: Bad file descriptor
>>> libxl: error: libxl_device.c:116:libxl__device_generic_add xs transaction
>>> failed: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 0: Bad file descriptor
>>> libxl: error: libxl_device.c:116:libxl__device_generic_add xs transaction
>>> failed: Bad file descriptor
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> xl: fatal error: libxl_create.c:487, rc=-3: libxl__create_device_model
>>> libxl: error: libxl_xshelp.c:109:libxl__xs_get_dompath failed to get
>>> dompath for 1: Bad file descriptor
>>> libxl: error: libxl.c:675:libxl_domain_destroy non-existant domain -1
>>>
>>>
>>> IMO a simple message like "xenstored is not running." would be enough.
>> xl now has a check and newer versions of the toolstack should display
>> similar message when you invoke an xl command.  Is it possible you are
>> using a slightly older version of the toolstack or directly invoking libxl
>> library elsewhere?
> 
> I'm currently on c/s 22834. Which c/s added the check you are talking about?
> 

http://xenbits.xen.org/staging/xen-unstable.hg?rev/eefb8e971be5

Kamala

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