From: Charles Duffy <cduffy@spamcop.net>
To: xen-devel@lists.xensource.com
Subject: Re: Timing out waiting for vbd device *only when xend started with trace_start*
Date: Mon, 14 Nov 2005 06:43:15 -0600 [thread overview]
Message-ID: <dla0p7$bg1$1@sea.gmane.org> (raw)
In-Reply-To: <20051114115108.GA28247@leeni.uk.xensource.com>
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
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 #2: xend.log.bz2 --]
[-- Type: application/x-bzip2, Size: 2293 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2005-11-14 12:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <dl67oi$cql$1@sea.gmane.org>
[not found] ` <dl768o$4r6$1@sea.gmane.org>
2005-11-13 17:37 ` Working hotplug, but still timing out waiting for vbd device ("changing physical-device not supported"?) Charles Duffy
2005-11-14 0:59 ` [FIXED] Re: Working hotplug, but still timing out waiting for vbd device Charles Duffy
2005-11-14 1:21 ` [FIXED - NOT!] " Charles Duffy
2005-11-14 11:31 ` Timing out waiting for vbd device *only when xend started with trace_start* Charles Duffy
2005-11-14 11:51 ` Ewan Mellor
2005-11-14 12:43 ` Charles Duffy [this message]
[not found] ` <43789319.9090609@spamcop.net>
[not found] ` <20051114151038.GB16045@leeni.uk.xensource.com>
2005-11-14 16:11 ` Charles Duffy
2005-11-14 16:31 ` Ewan Mellor
2005-11-14 16:40 ` Charles Duffy
2005-11-14 17:20 ` Ewan Mellor
2005-11-15 15:20 ` Ewan Mellor
2005-11-14 11:58 ` Working hotplug, but still timing out waiting for vbd device ("changing physical-device not supported"?) Ewan Mellor
2005-11-14 12:10 ` Charles Duffy
2005-11-14 12:27 ` Ewan Mellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dla0p7$bg1$1@sea.gmane.org' \
--to=cduffy@spamcop.net \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.