From: Rusty Russell Subject: Re: Re: Timeout connecting to device Date: Wed, 24 Aug 2005 14:43:40 +1000 Message-ID: <1124858620.17004.96.camel@localhost.localdomain> References: <430A387C.2030108@intel.com> <430BCF14.2040409@intel.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <430BCF14.2040409@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Arun Sharma Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2005-08-23 at 18:36 -0700, Arun Sharma wrote: > > XENBUS xs_read_watch: 0 This is harmless, in fact expected. It's a debugging message which should go away... > # find . -name *end > ./a9b503a7-2494-409f-9e06-2bd1f9283953/device/vbd/768/backend > ./45194ebb-4029-4131-9013-d17cd3dbc828/device/vbd/768/backend > ./53ffa08b-5f90-45a4-9671-8d6fff7f8509/backend > ./53ffa08b-5f90-45a4-9671-8d6fff7f8509/backend/vbd/a9b503a7-2494-409f-9e06-2bd1f9283953/768/frontend > ./53ffa08b-5f90-45a4-9671-8d6fff7f8509/backend/vbd/45194ebb-4029-4131-9013-d17cd3dbc828/768/frontend > > Couple of questions: > > - is there a way to debug xenstored? It doesn't seem to be logging much. Yes, add --trace-file=/tmp/trace to the invocation of xenstored, and you'll see all the conversations that the store has. Grovelling around the store by looking in /var/lib/xenstored/store is pretty simple, as you have found, but I know there were a few efforts to have a nicer browser... > - Could we add some debug flags elsewhere as well (xenbus with debug=1?) > to make debugging problems of this nature easier? The trace file is actually better in my experience. Also look for "error" nodes in the store (although Christian removed some of those paths in the merge). Cheers, Rusty. -- A bad analogy is like a leaky screwdriver -- Richard Braakman