APPLIED: [Precise/Oneiric] USB: uas: fix mount failure on some usb 3.0 HD.

Tim Gardner tim.gardner at canonical.com
Fri Apr 27 14:57:50 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(-)
> 
> 
> 

Applied to both Oneiric and precise. As Herton pointed out, these
patches are localized to a new driver that likely hasn't had much use,
so it'll be hard to regress it.

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




More information about the kernel-team mailing list