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] Re: Timing out waiting for vbd device *only when xend starte

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Timing out waiting for vbd device *only when xend started with trace_start*
From: Charles Duffy <cduffy@xxxxxxxxxxx>
Date: Mon, 14 Nov 2005 06:43:15 -0600
Delivery-date: Mon, 14 Nov 2005 12:47:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051114115108.GA28247@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <dl67oi$cql$1@xxxxxxxxxxxxx> <dl768o$4r6$1@xxxxxxxxxxxxx> <dl7tku$ujf$1@xxxxxxxxxxxxx> <dl8nij$2er$1@xxxxxxxxxxxxx> <dl8osk$56k$1@xxxxxxxxxxxxx> <dl9sij$tkr$1@xxxxxxxxxxxxx> <20051114115108.GA28247@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
Ewan Mellor wrote:
This is showing up intermittently with our regression tests.  It seems to be a
race of some sort, which would be consistent with it going away or coming back
when you fiddle with the logging -- all you are doing is changing the timing
of things so that it appears or does not appear.

If you export XENSTORED_TRACE=1 before starting Xend and Xenstored, then you
will get a log file in /var/log/xenstored-trace.log.  This information is
interesting to me, because it shows the ordering over time of the store
events, which makes it easier to piece together what's going on.

It does indeed feel like a race condition. Unfortunetly, setting XENSTORED_TRACE impacts the timing such as to make it nonreproducible.

Also, could you put a line in
/usr/lib/python/xen/xend/server/DevController.py, to log entry into the
hotplugStatus function (the syntax is log.debug("hotplugStatus entered"), and
it goes below the def hotplugStatus(): line).

Done; xend.log attached. No xenstored.trace yet for the reason described above.

Since the issue appears to be happening when xend is running below full speed but xenstored is not, I'm wondering if some mechanism to artificially slow xend (running it in valgrind?) would be effective in permitting the issue to be reproduced with tracing in place on both processes. I'll look into it, unless you have other suggestions.

Attachment: xend.log.bz2
Description: BZip2 compressed data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>