Re: IDE-flash device and hard disk on same controller
Benjamin Herrenschmidt (firstname.lastname@example.org)
Fri, 23 Aug 2002 13:44:33 +0200
>> The problem is that immediately after bootup ATA devices do not respond
>> their media has spun up. Which is both required by the spec, and
>> practice. Which is likely a problem if this code is run a few seconds
>> bootup. Which makes it quite possible the drive will ignore the
>> 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 ?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/