From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luciano Rocha Subject: Re: usb hdd problems with 2.6.27.2 Date: Mon, 27 Oct 2008 16:53:06 +0000 Message-ID: <20081027165306.GA3875@bit.office.eurotux.com> References: <20081027151818.GA4044@bit.office.eurotux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alan Stern Cc: James Bottomley , "Rafael J. Wysocki" , Linux-Kernel , USB list , SCSI development list List-Id: linux-scsi@vger.kernel.org On Mon, Oct 27, 2008 at 11:38:13AM -0400, Alan Stern wrote: > On Mon, 27 Oct 2008, Luciano Rocha wrote: >=20 > > Hm, where in the code can I change it to return less that what it t= hinks > > is the last sector? >=20 > I can write a patch to do that for you. However I'm more interested = in=20 > solving the "infinite-retry" problem first. >=20 > I did write some patches which might help. They weren't meant as bug= =20 > fixes exactly, more as infrastructure cleanup. But you ought to try=20 > them out, because they do affect the logic in this area. >=20 > The patches are here: >=20 > http://marc.info/?l=3Dlinux-scsi&m=3D122443015406309&w=3D2 >=20 > 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 men= tions: "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 --=20 Luciano Rocha Eurotux Inform=E1tica, S.A. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753693AbYJ0QxZ (ORCPT ); Mon, 27 Oct 2008 12:53:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752353AbYJ0QxP (ORCPT ); Mon, 27 Oct 2008 12:53:15 -0400 Received: from os.eurotux.com ([216.75.63.6]:34753 "EHLO os.eurotux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbYJ0QxO (ORCPT ); Mon, 27 Oct 2008 12:53:14 -0400 Date: Mon, 27 Oct 2008 16:53:06 +0000 From: Luciano Rocha To: Alan Stern Cc: James Bottomley , "Rafael J. Wysocki" , Linux-Kernel , USB list , SCSI development list Subject: Re: usb hdd problems with 2.6.27.2 Message-ID: <20081027165306.GA3875@bit.office.eurotux.com> Mail-Followup-To: Luciano Rocha , Alan Stern , James Bottomley , "Rafael J. Wysocki" , Linux-Kernel , USB list , SCSI development list References: <20081027151818.GA4044@bit.office.eurotux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.14 (2007-03-31) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Eurotux Informática, S.A.