WD Caviar problem

Eric W. Biederman ebiederman at lnxi.com
Thu Oct 30 20:00:01 CET 2003


SONE Takeshi <ts1 at tsn.or.jp> writes:

> On Tue, Oct 28, 2003 at 01:26:22PM -0600, Richard Smith wrote:
> > Cool.  Good sluthing.  Funny how it worked on lots of other drives 
> > without the init command.
> 
> It is an obsolete command (disappeared in ATA-6) but old drives
> may need it.
> 
> > >Eric had already added the delay option (#ifdef) to (the ancestor of)
> > >the driver, though it is hardcoded 31 sec (following ATA spec).
> > 
> > Isn't that delay the max delay that a master can wait for a slave to 
> > become ready?
> 
> Maybe, but I think I've seen this number a lot of other places
> in the spec.
> ATA spec is huge, and sometimes I have to refer to old versions
> (I mainly use ATA-1, ATA-2 and ATA-6), it's hard to look through them.

When I surveyed the ATA spec 31 seconds was the longest amount of time
a drive was allowed to assert the BUSY bit for any command.  So if
you wait 32 seconds and your drives is not ready then the drive
is definitely out of spec. 

Eric



More information about the coreboot mailing list