ACK (for Oneiric): [Precise/Oneiric] USB: uas: fix mount failure on some usb 3.0 HD.

Tim Gardner tim.gardner at canonical.com
Fri Apr 27 13:51:24 UTC 2012


On 04/27/2012 03:31 AM, ming.lei at canonical.com wrote:
> BugLink: http://bugs.launchpad.net/bugs/901215
> 
> == Precise SRU Justification ==
> 
> This bug is preventing users from using some usb 3.0 HD.(hitachi/LaCie/...)
> at UAS mode.
> 
> == Fix ==
> Both the patches have been in upstream 3.3:
> 
> e4d8318 usb/uas: make sure data urb is gone if we receive status before that
> ee398b5 usb/uas: add usb_pipe_usage_descriptor
> 348748b usb/uas: move UAS structs / defines into a header file
> c898add usb/uas: only bind if the hcd supports SG
> ceb3f91 usb/uas: one only one status URB/host on stream-less connection
> 22188f4 usb/uas: use scsi_host_find_tag() to find command from a tag
> dae5154 usb/uas: use unique tags for all LUNs
> 96c1eb9 UAS: Free status URB when we can't find the SCSI tag.
> 9eb4454 UAS: Use unique tags on non-streams devices.
> ea9da1c UAS: Re-add workqueue items if submission fails.
> 
> 
>  drivers/usb/storage/uas.c |  328 +++++++++++++++++++++++++++++----------------
>  include/linux/usb/uas.h   |   69 ++++++++++
>  2 files changed, 281 insertions(+), 116 deletions(-)
> 
> 
> 

This doesn't look too bad, though 'usb/uas: add
usb_pipe_usage_descriptor' is not really required. Test results look good.

Your test results are only for Oneiric. Can you produce a test kernel
for Precise and get back to this list with the results ?

rtg
-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list