From: Mark McLoughlin Subject: Re: [PATCH] Improve xenbus timeout error message Date: Fri, 30 Jun 2006 18:02:18 +0100 Message-ID: <1151686939.6184.69.camel@localhost.localdomain> References: <1151681386.6184.60.camel@localhost.localdomain> <20060630154433.GG8835@leeni.uk.xensource.com> <1151686340.6184.62.camel@localhost.localdomain> <303a177ba45ae44c71b6c31dba482a79@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <303a177ba45ae44c71b6c31dba482a79@cl.cam.ac.uk> 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@lists.xensource.com, Ewan Mellor List-Id: xen-devel@lists.xenproject.org On Fri, 2006-06-30 at 17:57 +0100, Keir Fraser wrote: > On 30 Jun 2006, at 17:52, Mark McLoughlin wrote: > > >> The obvious thing to do here is work out which devices haven't been > >> picked up by any driver, and not wait on those since they are > >> obviously > >> not going to connect! We should either silently ignore those, or maybe > >> print a list of them for information. > > > > Good point, how about this patch then? > > Yes, I just checked in a patch rather similar, except I also print the > driverless devices (could be handy for diagnostics, but I'm not sure if > it might turn out to be too noisy in some situations) and move some > functions closer to where they are used. > > Your original path is changeset 10570 in xen-unstable; my modification > is 10573. Should be in the public tree in a couple of hours. Note, the original patch leaked device references when printing out the warning if there are multiple disconnected devices. Fixed in the second patch. Cheers, Mark.