On Mon, 29 Oct 2012, megha dey wrote:

> Hi,
> This is the patch I have applied.
> 
>  http://marc.info/?l=linux-usb&m=132024464410783&w=2
> 
> From the trace attached,we see that write_10(highlighted command) is
> taking about 10 seconds,by which time the host is timing out.The host
> then sends the next test_unit_ready command without getting the status
> for the previous write.Thus,here we get 2 CBW's without an intervening
> CSW.

It's not at all clear why the WRITE(10) took so long.  Was the FUA bit 
turned on?  What happens if you install the mass-storage gadget driver 
with nofua module parameter enabled?

Also, it is clear from this trace that the host is buggy.  The
Bulk-Only spec states that when a command is aborted (as this one was),
the host must issue a Reset command to the device.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to