On Mon, 10 Nov 2003, Patrick Mansfield wrote:

> On Mon, Nov 10, 2003 at 01:46:44PM -0500, Alan Stern wrote:
> > On Mon, 10 Nov 2003, Patrick Mansfield wrote:
> 
> > How could anyone attempt to find out why the reset failed?  The only 
> > externally visible state is the device's response to incoming USB 
> > requests.  IIRC, it simply didn't respond to the reset request.  (I'm not 
> > sure about that; I may be confusing this with other devices that failed in 
> > similar ways.)
> 
> I don't know, the bug report (and other logs) show:
> 
> Nov  7 00:12:19 [kernel] usb-storage: Command MODE_SENSE_10 (10 bytes)
> Nov  7 00:12:19 [kernel] usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 
> value=0000 index=00 len=10
> Nov  7 00:12:19 [kernel] usb-storage: Status code 0; transferred 10/10
> Nov  7 00:12:19 [kernel] usb-storage: -- transfer complete
> Nov  7 00:12:19 [kernel] usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> Nov  7 00:12:19 [kernel] usb-storage: usb_stor_bulk_transfer_buf: xfer 8 bytes
> Nov  7 00:12:19 [kernel] usb-storage: Status code -75; transferred 8/8
> Nov  7 00:12:19 [kernel] usb-storage: -- babble
> Nov  7 00:12:19 [kernel] usb-storage: CB data stage result is 0x3
> Nov  7 00:12:19 [kernel] usb-storage: -- transport indicates error, resetting
> Nov  7 00:12:19 [kernel] usb-storage: usb_stor_CB_reset called
> Nov  7 00:12:19 [kernel] usb-storage: usb_stor_control_msg: rq=00 rqtype=21 
> value=0000 index=00 len=12
> Nov  7 00:12:19 [kernel] usb-storage: Soft reset failed: -32
> Nov  7 00:12:19 [kernel] usb-storage: scsi cmd done, result=0x70000

The -32 (-EPIPE) error code indicates a "protocol stall" -- the device is
saying that for some reason it can't accept or can't carry out the reset
command.  Maybe because it's busy still trying to finish up its broken
response to the MODE-SENSE command.

You would think that a reset would take precedence over a regular 
command-in-progress, but apparently not here.

Alan Stern




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to