Re: [BUG] usb-storage: Error in queuecommand: us->srb = ffff88006a338480

From: Alan Stern
Date: Thu Nov 06 2008 - 14:36:53 EST


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

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