From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: Linux hangs during IDE initialization at boot for 30 sec Date: Sat, 05 Feb 2005 10:32:35 +1100 Message-ID: <1107559955.2189.95.camel@gaston> References: <200502011257.40059.brade@informatik.uni-muenchen.de> <200502031358.16827.roffermanns@sysgo.com> <1107469032.2363.44.camel@gaston> <200502041122.09390.roffermanns@sysgo.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Received: from gate.crashing.org ([63.228.1.57]:14563 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S263071AbVBDXdq (ORCPT ); Fri, 4 Feb 2005 18:33:46 -0500 In-Reply-To: <200502041122.09390.roffermanns@sysgo.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Rolf Offermanns Cc: list linux-ide On Fri, 2005-02-04 at 11:22 +0100, Rolf Offermanns wrote: > On Thursday 03 February 2005 23:17, Benjamin Herrenschmidt wrote: > > > > Do not register interfaces that you know aren't populated... > > > > One thing is, the wait code does explicitely check for a value of 0xff > > and exists in this case (assuming this means no HW at all is wired > > there). So for some reason, you interface is returning something else, > > it would be interesting to "see" what value you are getting. > It's 0xff like you guessed in the first reply. As soon, as I connect a drive > (no need to turn it on actually), everything is fine. Well, that's strange then, since the code is explicitely returning -ENODEV when it encounters that, maybe the caller isn't properly testing for the error, I'll have to double check. (Can't today) Ben.