Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Aug 2002 05:38:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Aug 2002 05:38:53 -0400 Received: from [217.167.51.129] ([217.167.51.129]:33534 "EHLO zion.wanadoo.fr") by vger.kernel.org with ESMTP id ; Fri, 23 Aug 2002 05:38:52 -0400 From: Benjamin Herrenschmidt To: Andre Hedrick , "Eric W. Biederman" Cc: Jeff Garzik , "Heater, Daniel (IndSys, GEFanuc, VMIC)" , "'Padraig Brady'" , "'Linux Kernel'" Subject: Re: IDE-flash device and hard disk on same controller Date: Fri, 23 Aug 2002 13:44:33 +0200 Message-Id: <20020823114433.10784@192.168.4.1> In-Reply-To: References: X-Mailer: CTM PowerMail 3.1.2 carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 29 >> The problem is that immediately after bootup ATA devices do not respond >until >> their media has spun up. Which is both required by the spec, and >observed in >> practice. Which is likely a problem if this code is run a few seconds >after >> bootup. Which makes it quite possible the drive will ignore the >EXECUTE DEVICE >> DIAGNOSTICS and your error code won't be valid when the bsy flag >> clears. I don't know how serious that would be. > >We did POST already. Well... x86 PCs with ordinary BIOSes did. Other firmwares, embedded devices, whatever.... may not, or eventually the firmware will have reset everything prior to booting the kernel (go figure why, but that happens). It's not difficult nor harmful to wait for that dawn busy bit to go away, so why not do it ? Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/