From: Ewan Mellor Subject: Re: vbd devices stuck in Initialising/InitWait Date: Thu, 30 Mar 2006 10:43:19 +0100 Message-ID: <20060330094318.GA1501@leeni.uk.xensource.com> References: <4429C801.7070900@theshore.net> <20060329085320.GA31336@leeni.uk.xensource.com> <442B150D.6000903@theshore.net> <442B556A.8000907@theshore.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, Mar 30, 2006 at 09:53:47AM +0100, Keir Fraser wrote: > > On 30 Mar 2006, at 04:50, Christopher S. Aker wrote: > > >So, commenting out the code above makes everything work. 15 reboots > >and all the devices have show up every time. > > > >I don't know why the first call to xenbus_switch_state() isn't really > >writing out the value to xenstore. xenbus_printf() isn't returning an > >error, but still the value fails to make it into the store. That's > >the best of my understanding at the moment... > > There is a logging mode you can turn on in xenstored and get a dump of > all requests and actions taken by the daemon. I think it dumps to > stdout. That might help determine whether the requests get as far as > the daemon and, if so, what it is doing with them. Actually, you need to export XENSTORED_TRACE=1 before starting Xend (putting that in your init script and rebooting is the easiest way) and then you get the logs in /var/log/xenstored-trace.log. You need to reboot, rather than merely restart the daemons. Ewan.