public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Luciano Rocha <luciano@eurotux.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>,
	SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: usb hdd problems with 2.6.27.2
Date: Mon, 27 Oct 2008 15:18:18 +0000	[thread overview]
Message-ID: <20081027151818.GA4044@bit.office.eurotux.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0810271007030.4059-100000@iolanthe.rowland.org>

On Mon, Oct 27, 2008 at 10:24:14AM -0400, Alan Stern wrote:
> On Mon, 27 Oct 2008, Luciano Rocha wrote:
> 
> > On Sat, Oct 25, 2008 at 03:50:07PM -0400, Alan Stern wrote:
> > > On Sat, 25 Oct 2008, Rafael J. Wysocki wrote:
> > > 
> > > > [Adding CCs]
> > > > 
> > > > On Wednesday, 22 of October 2008, Luciano Rocha wrote:
> > > > > 
> > > > > Hello,
> > > > > 
> > > > > An external HDD, usb-encased, works fine under 2.6.26.5, but under
> > > > > 2.6.27.2 I get hundreds of errors per second, of 'No Sense [current]'.
> > > 
> > > You can use usbmon to capture the details of what happens when you plug
> > > in the drive.  Instructions are in the kernel source file
> > > Documentation/usb/usbmon.txt.
> > > 
> > 
> > Now in 2.6.27.4, same problem. The usb traffic is:
> 
> This looks exactly like the "infinite retry" problem I warned about 
> earlier.  Here are the important parts of the log.  For people who 
> don't know how to interpret these messages, the CDB starts in the 16th 
> byte of the 31-byte messages.  For example, the first command here 
> starts with 0x25 and so it is READ CAPACITY:
> 
> > f21e7cc0 3570408174 S Bo:1:008:1 -115 31 = 55534243 06000000 08000000 80000a25 00000000 00000000 00000000 000000
> > f21e7cc0 3570408264 C Bo:1:008:1 0 31 >
> > f21e72c0 3570408280 S Bi:1:008:2 -115 8 <
> > f21e72c0 3570408389 C Bi:1:008:2 0 8 = 2e9390b0 00000200
> > f21e7cc0 3570408400 S Bi:1:008:2 -115 13 <
> > f21e7cc0 3570408513 C Bi:1:008:2 0 13 = 55534253 06000000 00000000 00
> 
> The response is 0x2e9390b0.  In typical broken fashion, that is 
> undoubtedly the total number of sectors rather than the highest sector 
> number.
> 
> Later on the system tries to read the contents of what it thinks is the 
> last sector:

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

<snip>
> 
> There's a patch which might help resolve this problem:
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8bfa24727087d7252f9ecfb5fea2dfc92d797fbd
> 

No luck. I'm going to try 2.6.28-rc2 now.

Regards,
Luciano Rocha

-- 
Luciano Rocha <luciano@eurotux.com>
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-10-27 15:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081022162246.GB5649@bit.office.eurotux.com>
2008-10-25 19:25 ` usb hdd problems with 2.6.27.2 Rafael J. Wysocki
     [not found]   ` <200810252125.44184.rjw-KKrjLPT3xs0@public.gmane.org>
2008-10-25 19:50     ` Alan Stern
2008-10-25 20:11       ` James Bottomley
2008-10-26 14:05         ` Luciano Rocha
2008-10-27 11:14         ` Luciano Rocha
2008-10-27 11:28       ` Luciano Rocha
     [not found]         ` <20081027112803.GA4398-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-10-27 14:24           ` Alan Stern
2008-10-27 14:56             ` Douglas Gilbert
     [not found]               ` <4905D68D.7030407-qazKcTl6WRFWk0Htik3J/w@public.gmane.org>
2008-10-27 15:08                 ` Boaz Harrosh
     [not found]                   ` <4905D986.6050001-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
2008-10-27 16:26                     ` Kay Sievers
2008-10-27 15:25               ` Alan Stern
2008-10-27 15:33                 ` James Bottomley
2008-10-27 15:18             ` Luciano Rocha [this message]
2008-10-27 15:38               ` Alan Stern
     [not found]                 ` <Pine.LNX.4.44L0.0810271134530.15462-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2008-10-27 16:53                   ` Luciano Rocha
     [not found]                     ` <20081027165306.GA3875-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-10-27 20:10                       ` Alan Stern
2008-10-28 16:37                         ` Luciano Rocha
     [not found]                           ` <20081028163722.GA4374-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-10-28 17:38                             ` Alan Stern
2008-11-03 15:52                               ` Luciano Rocha
     [not found]                                 ` <20081103155254.GA3368-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-11-03 19:46                                   ` Alan Stern
2008-11-05 10:26                                     ` Luciano Rocha
2008-11-05 16:51                                       ` Alan Stern
2008-11-13 17:10                                         ` Luciano Rocha
2008-10-27 20:36                       ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081027151818.GA4044@bit.office.eurotux.com \
    --to=luciano@eurotux.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox