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

[Xen-devel] race in xenstore?

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] race in xenstore?
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 27 Apr 2010 10:38:42 +0200
Delivery-date: Tue, 27 Apr 2010 01:39:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1272357542; x=1303893542; h=message-id:date:from:mime-version:to:subject: content-transfer-encoding; z=Message-ID:=20<4BD6A292.9000408@xxxxxxxxxxxxxx>|Date:=20 Tue,=2027=20Apr=202010=2010:38:42=20+0200|From:=20Juergen =20Gross=20<juergen.gross@xxxxxxxxxxxxxx>|MIME-Version: =201.0|To:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel @lists.xensource.com>|Subject:=20race=20in=20xenstore? |Content-Transfer-Encoding:=207bit; bh=7307W5t3E4AFZvszecPY/Wy+Qi4TfgpIL6Rt15wW83k=; b=L1y5IiC00hHQA2PRQuFffofpmGIfjZRsaMkWRnWcxXefGzkRjOH/3P5e AwxYboQi3stCoQqHV5z7937mq/pKlCwk+MZVQ9k7Djgf+Bvov3JBXRh1a 8c7aQaPXb3F7HWpYRCqBBTl5/DwJLPBIUqhZ17QzFCwn4qf0esB+Q4r5Z yzmeZtp2iUwbBN7rd/eXnu90+arQUmh4ENrTEIbTBmbsnbXQiO67ZPCYR 1G2N9RKa5pGYWUij7gnkbdM8G5XSI;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=vcbNBjlURFD6vhJWE9ISvrhuSEeLXkiiZIpJJHp1Hs6oI6CyIOWy27UC 0CTSgYhHL3kZeVaQfNdfOOuLkB/XjDyhruu/c1a4zft+JL7UqICjshvj4 WQv1PWIhG9ZSbIcOZwpQwWyQdOxo98WhMBPX+z22ZMjzHnVj0PtNGBTq3 0BYauG8kF8JEsOkFC9DsA7A1l6KpcfDZvODL6BeooJ9aVS9IZvVIAeb0A tE6dUyOhcPFkCnn3xTQsRqYDY/6QA;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: Fujitsu Technology Solutions
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100411 Iceowl/1.0b1 Icedove/3.0.4
Hi,

I observe a strange behaviour with our BS2000 guest reading xenstore:

When the domU is started, we are reading some values from xenstore, which are
written by a backend driver on dom0. One special entry is used for signalling
validity of the other entries. The domU tries to read it until the entry is
existing. The value of this entry is always a numerical value greater 0.

In rare cases I see the following behaviour (extracted from xenstore.log):

- the domU tries to read the entry, xenstored seems not to know it:
   IN 0x61b9c0 20100423 22:25:42 READ (bs2/vmid )
   OUT 0x61b9c0 20100423 22:25:42 ERROR (ENOENT )
- on domU side, I don't see the ENOENT, but read the string "OK"!
- a little bit later (same second) the entry is written by dom0:
   IN 0x625c50 20100423 22:25:42 WRITE (/local/domain/169/bs2/vmid 2)
   OUT 0x625c50 20100423 22:25:42 WRITE (OK )

Xen version is 3.3.1

I'm not familiar with the xenstored internals, perhaps someone has an idea
what is happening here?


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

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

<Prev in Thread] Current Thread [Next in Thread>