Re: What's in libata-dev.git

From: Sergei Shtylyov
Date: Mon Sep 11 2006 - 09:42:16 EST


Hello.

Jeff Garzik wrote:

The following libata changes are queued for 2.6.19:

General
-------
* Increase lba28 max sectors from 200 to 256


[...]

Jeff Garzik:

[...]

[ATA] Increase lba48 max-sectors from 200 to 256.

So was it for LBA28 or for LBA48?
As for LBA28, it might be quite dangerous. Particularly, I know that IBM drives used to mistreated 256 as 0 in the past (bumped into that on a 8-year old drive which is still alive though).

That's a typo. The first description ("lba28") is correct.

Let me know if your IBM drive has problems with current libata-dev.git#upstream...

It's not likely I'll be able to try it. But I'm absolutely sure that drive aborted the read commands with the sector count of 0 (i.e. 256 actually). The exact model was IBM DHEA-34331.
255 sectors actually seems more safe bet.

WBR, Sergei
-
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/