[lkml]   [2002]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: IDE-flash device and hard disk on same controller
Eric W. Biederman wrote:
> 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.

Well, this only applies if you are slack and letting the kernel init
your ATA from scratch, instead of doing proper ATA initialization in
firmware ;-)

Seriously, if you are a handed an ATA device that is actually in
operation when the kernel boots, you are already out of spec. I would
prefer to barf if the BSY or DRDY bits are set, because taking over the
ATA bus while a device is in the middle of a command shouldn't be
happening at Linux kernel boot, ever.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.113 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site