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

Re: [Xen-devel] why xenstore-* hangs if xenstored is not started

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] why xenstore-* hangs if xenstored is not started
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Tue, 22 Jun 2010 09:26:59 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
Delivery-date: Tue, 22 Jun 2010 01:27:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C8462D7A.18296%keir.fraser@xxxxxxxxxxxxx>
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>
References: <C8462D7A.18296%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4
On 22/06/10 09:06, Keir Fraser wrote:
On 22/06/2010 08:56, "Vincent Hanquez"<Vincent.Hanquez@xxxxxxxxxxxxx>
wrote:

On 22/06/10 08:45, Keir Fraser wrote:
Does the xenstore driver in the dom0 kernel put the process into
uninterruptible sleep? The 2.6.18 kernel simply returns -ENODEV in this case
I think. So perhaps pv_ops has different and inferior behaviour.

the behavior was the same in 2.6.18.

Ah, I just see 'if (!is_xenstored_ready()) return -ENODEV' in 2.6.18's
xenbus_dev.c. I assumed that would have an effect on this case.

hm, maybe it does afterall, and I'm confuse this with a more general case; the D state would happens if xenstored doesn't want to reply or is dead. This behavior has been there as long as I can remember.

I'm pretty sure though that a while ago (relatively old XenServer kernel) starting a xenstore-* without starting xenstored would make it stuck until xenstored start.

--
Vincent

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