Re: usb hdd problems with 2.6.27.2

From: Alan Stern
Date: Mon Oct 27 2008 - 11:38:27 EST


On Mon, 27 Oct 2008, Luciano Rocha wrote:

> Hm, where in the code can I change it to return less that what it thinks
> is the last sector?

I can write a patch to do that for you. However I'm more interested in
solving the "infinite-retry" problem first.

I did write some patches which might help. They weren't meant as bug
fixes exactly, more as infrastructure cleanup. But you ought to try
them out, because they do affect the logic in this area.

The patches are here:

http://marc.info/?l=linux-scsi&m=122443015406309&w=2

They are based on 2.6.27, not 2.6.28-rc.

Alan Stern

--
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/