On Mon, Oct 27, 2008 at 11:38:13AM -0400, Alan Stern wrote: > 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. I've tested them (on 2.6.27.4), but I still get the bug. That email mentions: "Neither patch addresses the infinite-retry problem; I wanted to keep the issues separate." So am I missing some other patch? 2.6.28-rc2 is also buggy. Thanks, Luciano Rocha -- Luciano Rocha <luciano@xxxxxxxxxxx> Eurotux Informática, S.A. <http://www.eurotux.com/> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html