LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Brian Kysela <bkysela@gmail.com>, <linux-kernel@vger.kernel.org>,
	Jens Axboe <jens.axboe@oracle.com>, <linux-usb@vger.kernel.org>,
	<linux-scsi@vger.kernel.org>
Subject: Re: [BUG] usb-storage: Error in queuecommand: us->srb = ffff88006a338480
Date: Thu, 6 Nov 2008 14:36:40 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.0811061435070.23473-100000@iolanthe.rowland.org> (raw)
In-Reply-To: <20081106095757.2c2fcdc3.akpm@linux-foundation.org>

On Thu, 6 Nov 2008, Andrew Morton wrote:

> > The error message:
> > 
> > > [  152.701070] usb-storage: Error in queuecommand: us->srb = ffff88007dfd0680
> > 
> > means that the SCSI layer has told usb-storage to start a new command 
> > before the old one completed.  This could happen, for example, if the 
> > SCSI layer had gotten confused and tried to cancel a command that 
> > wasn't running -- then it would think usb-storage was idle when in fact 
> > it was still busy.  (This was the failure mechanism resulting from the 
> > timeout changes.)
> > 
> 
> OK, thanks.  I'll cc linux-scsi, but I have this-wont-be-getting-fixed
> feelings on this one :(
> 
> I wonder what's special about Brian's setup.

Brian, if you can use usbmon to monitor what happens during the file 
copy and subsequent error, it might provide a clue.  Instructions are 
in the kernel source file Documentation/usb/usbmon.txt.

Alan Stern


  reply	other threads:[~2008-11-06 19:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 21:35 Brian Kysela
2008-11-06  1:49 ` Andrew Morton
2008-11-06 15:36   ` Alan Stern
2008-11-06 17:57     ` Andrew Morton
2008-11-06 19:36       ` Alan Stern [this message]
2008-11-07  0:54         ` Brian Kysela
2008-11-07 15:00           ` Alan Stern
2008-11-10 19:24             ` Brian Kysela
2008-11-10 20:18               ` Alan Stern
2008-11-06 20:12   ` Brian Kysela

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=Pine.LNX.4.44L0.0811061435070.23473-100000@iolanthe.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=akpm@linux-foundation.org \
    --cc=bkysela@gmail.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --subject='Re: [BUG] usb-storage: Error in queuecommand: us->srb = ffff88006a338480' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).