Re: What's in libata-dev.git

From: Sergei Shtylyov
Date: Mon Sep 11 2006 - 10:59:54 EST


Hello.

Jeff Garzik wrote:
Ar Llu, 2006-09-11 am 17:47 +0400, ysgrifennodd Sergei Shtylyov:

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.

Several people reported this problem when we tried 256 years ago in
drivers/ide. You might want to do 256 for SATA Jeff but please don't do
256 for PATA. Reading specs is too hard for some people ;)

Some drives abort the xfer, some just choked.

Where in drivers/ide is it limited to 255?

Hm, indeed, it's 256 there...
But the changelog in ide-probe.c suggests the were limited to 255 once upon a time. Also, hd.c still has this limit, and changelog talling why it was so...

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/