From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: libxl: error handling before xenstored runs Date: Wed, 9 Feb 2011 16:32:21 +0100 Message-ID: <201102091632.21941.Christoph.Egger@amd.com> References: <201102091213.06591.Christoph.Egger@amd.com> <201102091542.11027.Christoph.Egger@amd.com> <4D52A8E0.2080400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D52A8E0.2080400@gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kamala Narasimhan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wednesday 09 February 2011 15:46:56 Kamala Narasimhan wrote: > 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 This is c/s 22806. So my tree is new enough. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632