All of lore.kernel.org
 help / color / mirror / Atom feed
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 10:11:27 -0600	[thread overview]
Message-ID: <dlacvf$m5a$2@sea.gmane.org> (raw)
In-Reply-To: <20051114151038.GB16045@leeni.uk.xensource.com>

Ewan Mellor wrote:
> Thanks for that.  Both you and Friedmund Lassmann are seeing the same bug.  If
> you look, you have a line from xenstored-trace.log:
> 
> OUT 0x1208c548 02:29:59 WATCH_EVENT (/local/domain/0/backend/vif/1/0 363717120 )
> 
> which is the firing of the watch, but the line from xend.log:
> 
> [2005-11-14 02:31:59 xend] DEBUG (DevController:286) hotplugStatus entered
> 
> doesn't execute until 2 minutes later, when the other thread times out.  In
> other words, I think that the waiting thread has hold of a lock, and so the
> thread waiting to deliver the watch is locked out.  I can't find that lock
> though, and I still can't reproduce this!  If either of you can get a hold on
> the problem, then that would be great.

Hmmm.

It might be nice if the xend trace handler were expanded to print both 
current PID (or thread name) and timestamp when indicating that a line 
is being executed. Not something I have time to do right now -- and 
other people are prone to using the host in question during business 
hours -- but I'll take a shot at it tomorrow morning if time permits and 
nobody else has beat me to it.

That said, the only lock I see being handled closely prior to this 
occurance is xslock in xenstore/xswatch.py:watchStart.

  parent reply	other threads:[~2005-11-14 16:11 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
     [not found]             ` <43789319.9090609@spamcop.net>
     [not found]               ` <20051114151038.GB16045@leeni.uk.xensource.com>
2005-11-14 16:11                 ` Charles Duffy [this message]
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='dlacvf$m5a$2@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.