Re: Fwd: usb: uas: device reset most the time while enumeration- usb3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

On 2018-04-04 19:28, Greg KH wrote:
On Wed, Apr 04, 2018 at 06:41:41PM +0530, tnimkar@xxxxxxxxxxxxxx wrote:
On 2018-04-04 18:07, Greg KH wrote:
> On Wed, Apr 04, 2018 at 05:14:50PM +0530, tnimkar@xxxxxxxxxxxxxx wrote:
> > Hi Oliver/Greg,
> >
> > I am able to duplicated the UAS issue on 4.16 as well.
> > The behavior is same new usb device detects and reset after aprox 30
> > sec(SD_TIMEOUT)
> > Logs are already shared below.
> >
> > We are using Synopsys dwc3 as host controller, May I know have
> > tested it
> > with dwc3?
> > I have tried it on Linux PC (x86 Ubuntu machine) I could not see the
> > issue.
> > It enumerates well.
>
> Great, stick with an x86 platform!  :)
>
> Looks like a dwc3 host controller issue, try enabling tracing and
> debugging in that driver when this happens to see what is going on.

Oh if so let me enable the trace for that. I will respond you on this.

> Also look at all of the recent dwc3 patches that were just sent to Linus
> for 4.17-rc1 to verify if that solves the issue.
>
I do not have idea how I can get those patches. Could you please tell me?

Look at the git tree listed in the MAINTAINERS file.

Is there any mailing list/link for this ?

Yes, this one (linux-usb@vger).  Also, all of the patches are in
the linux-next tree.

Greg/Oliver, Switched to 4.17.0-rc1.. issues is observed too. :(

[ 5518.577155] usb 2-1: new SuperSpeed USB device number 5 using xhci-hcd
[ 5518.605780] scsi host1: uas
[ 5518.606435] scsi 1:0:0:0: Direct-Access Samsung Portable SSD T3 0 PQ: 0 ANSI: 6 [ 5549.037127] sd 1:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 5549.037160] sd 1:0:0:0: tag#0 CDB: opcode=0x12 12 01 b0 00 40 00
[ 5549.057118] scsi host1: uas_eh_device_reset_handler start
[ 5549.057159] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for unknown stream ring slot 1 ep 6 [ 5549.061491] xhci-hcd xhci-hcd.0.auto: @000000007f044f20 00000000 00000000 1b000000 01078000 [ 5549.197272] usb 2-1: reset SuperSpeed USB device number 5 using xhci-hcd
[ 5549.219833] scsi host1: uas_eh_device_reset_handler success
[ 5549.225472] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 5549.225626] sd 1:0:0:0: [sdb] Write Protect is off
[ 5549.232118] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5549.236739] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for unknown stream ring slot 1 ep 2 [ 5549.245555] xhci-hcd xhci-hcd.0.auto: @000000007f044280 00000000 00000000 1b000000 01038001
[ 5549.257868]  sdb: sdb1
[ 5549.263899] sd 1:0:0:0: [sdb] Attached SCSI disk



thanks,

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

--
Best Regards,
Tushar R Nimkar

QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux