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

[Xen-devel] race in xenstore?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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