Re: [PATCH] Bogus LBA48 drives

From: Geert Uytterhoeven
Date: Thu Apr 01 2004 - 04:12:10 EST


On Wed, 31 Mar 2004, Jeff Garzik wrote:
> Andries Brouwer wrote:
> > Hmm. I read in my copy of ATA7:
> >
> > 6.16.55 Words (103:100): Maximum user LBA for 48-bit Address feature set
> > Words (103:100) contain a value that is one greater than the maximum LBA
> > in user accessable space when the 48-bit Addressing feature set is supported.
> > The maximum value that shall be placed in this field is 0000FFFFFFFFFFFFh.
> > Support of these words is mandatory if the 48-bit Address feature set is supported.
> >
> > Do you read differently?
>
> The errata is, one needs to check that field for zero, and use the other
> one if so...

Which is not sufficient for `my' drives, since I get disk errors if I just use
the other capacity field and don't disable LBA48 completely.

I'll check the ATA specs myself, if I find some time...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/