On Tue, Jun 13, 2000 at 11:14:21PM +0200, Vojtech Pavlik wrote:
> usb-storage.c: us_queuecommand() called
> usb-storage.c: *** thread awakened.
> usb-storage.c: Command READ_CAPACITY (target 0 lun 0 length 10)
> usb-storage.c:   25 00 00 00 00 00 00 00 00 00
> usb-storage.c: Bulk command S 0x43425355 T 0xc LUN 0 L 8 F 128 CL 10
> usb-storage.c: Bulk command transfer result=0
> usb-storage.c: us_transfer_partial(): xfer 8 bytes
> usb-storage.c: usb_stor_bulk_msg() returned -32 xferred 0/8
> usb-storage.c: clearing endpoint halt for pipe 0xc0008280
> usb_control/bulk_msg: timeout
> usb-storage.c: us_transfer_partial(): unknown error
> usb-storage.c: Bulk data transfer result 0x2
> usb-storage.c: Attempting to get CSW...
> usb-storage.c: Bulk status result = 0
> usb-storage.c: Bulk status S 0x53425355 T 0xc R 8 V 0x1
> usb-storage.c: -- transport indicates command failure
> usb-storage.c: Issuing auto-REQUEST_SENSE
> usb-storage.c: Bulk command S 0x43425355 T 0xc LUN 0 L 18 F 128 CL 10
> usb-storage.c: Bulk command transfer result=0
> usb-storage.c: us_transfer_partial(): xfer 18 bytes
> usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> usb-storage.c: us_transfer_partial(): transfer complete
> usb-storage.c: Bulk data transfer result 0x0
> usb-storage.c: Attempting to get CSW...
> usb-storage.c: Bulk status result = 0
> usb-storage.c: Bulk status S 0x53425355 T 0xc R 0 V 0x0
> usb-storage.c: -- Result from auto-sense is 0
> usb-storage.c: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0
> usb-storage.c: scsi cmd done, result=0x1
> usb-storage.c: *** thread sleeping.

Okay... I can explain why you're getting the STALL.  Basically, what's
happening is that the device is still trying to get out of power up reset
-- it's now indicating to us that it went from being offline to on-line due
to the insertion of media (note that it probably powers on assuming that
media is absent, and then discovers that media is present, and thus reports
media change).  This is _perfectly_normal_behavior_ for a device.

Oh, and as to the multiple-detection issue -- that's fixed in the CVS
archive.  I should have a patch this week, or you can use that code.

Matt Dharm

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Senior Engineer, QCP Inc.                            Work: [EMAIL PROTECTED]

THEY CASTRATED MY QUAKE BITS! I WANT THEM BACK!!!!
                                        -- Greg
User Friendly, 3/27/1998

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to