usb: storage: uas: want to print the all IN ACK(Data-in)

2018-04-11 Thread Tushar Nimkar
Hi, Talking about UASP Rev 1.0.pdf (http://www.usb.org/developers/docs/devclass_docs/) "5.4.3 Data-in transfer" As part of my debug..want to understand the flow. suspecting IN ACK(Data-in) is missing as per the lecroy log. And same I want to check/print. Is there any way to do so? I am re

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

2018-04-16 Thread Tushar Nimkar
On 2018-04-05 12:39, Felipe Balbi wrote: Hi, tnim...@codeaurora.org writes: On 2018-04-05 11:24, Felipe Balbi wrote: Hi, Greg KH writes: On Wed, Apr 04, 2018 at 05:14:50PM +0530, tnim...@codeaurora.org wrote: Hi Oliver/Greg, I am able to duplicated the UAS issue on 4.16 as well. The behav

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

2018-04-16 Thread Tushar Nimkar
On 2018-04-05 11:31, Felipe Balbi wrote: Hi, it would help if you would Cc XHCI's maintainer :-) tnim...@codeaurora.org writes: On 2018-04-04 19:28, Greg KH wrote: On Wed, Apr 04, 2018 at 06:41:41PM +0530, tnim...@codeaurora.org wrote: On 2018-04-04 18:07, Greg KH wrote: > On Wed, Apr 04, 2

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

2018-04-16 Thread Tushar Nimkar
On 2018-04-16 20:03, Oliver Neukum wrote: Am Montag, den 16.04.2018, 10:23 -0400 schrieb Alan Stern: > > > > [57246.701096] sd 1:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 > > > > inflight: CMD IN > > > > [57246.701130] sd 1:0:0:0: tag#0 CDB: opcode=0x1a 1a 00 3f 00 04 00 > > URB is canceled,

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

2018-04-18 Thread Tushar Nimkar
On 2018-04-17 18:04, Mathias Nyman wrote: On 17.04.2018 09:23, Tushar Nimkar wrote: On 2018-04-16 18:46, Mathias Nyman wrote: On 16.04.2018 13:20, Tushar Nimkar wrote: On 2018-04-05 11:31, Felipe Balbi wrote: Hi, it would help if you would Cc XHCI's maintainer :-) tnim...@codeauror

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

2018-04-18 Thread Tushar Nimkar
On 2018-04-17 12:03, Tushar Nimkar wrote: On 2018-04-16 20:03, Oliver Neukum wrote: Am Montag, den 16.04.2018, 10:23 -0400 schrieb Alan Stern: > > > > [57246.701096] sd 1:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 > > > > inflight: CMD IN > > > > [57246.7

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

2018-04-19 Thread Tushar Nimkar
On 2018-04-19 14:15, Oliver Neukum wrote: Am Mittwoch, den 18.04.2018, 12:44 +0530 schrieb Tushar Nimkar: On 2018-04-17 12:03, Tushar Nimkar wrote: Hi, I have doubt that sequential scan(scsi_sequential_lun_scan) work well for uas device(SCSI>3).. Why? As I have seen in most cases failed

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

2018-04-19 Thread Tushar Nimkar
On 2018-04-19 14:18, Oliver Neukum wrote: Am Mittwoch, den 18.04.2018, 12:34 +0530 schrieb Tushar Nimkar: Oliver/Greg, Weather you are able to reproduce the issue? Did you tested it on dwc3 previously? I don't even have a dwc3. Great, so uas on dwc3 new to all... May I suggest that yo

Re: howto debug xhci driver?

2018-04-22 Thread Tushar Nimkar
On 2018-04-21 00:03, Bin Liu wrote: Hi, On Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: Forgot to CC linux-usb. Forwarded Message Subject: Re: howto debug xhci driver? Date: Tue, 20 Mar 2018 13:56:21 -0700 From: Paul Zimmerman To: Bin Liu CC: Felipe Balbi

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

2018-04-23 Thread Tushar Nimkar
hi, On 2018-04-04 19:28, Greg KH wrote: On Wed, Apr 04, 2018 at 06:41:41PM +0530, tnim...@codeaurora.org wrote: On 2018-04-04 18:07, Greg KH wrote: > On Wed, Apr 04, 2018 at 05:14:50PM +0530, tnim...@codeaurora.org wrote: > > Hi Oliver/Greg, > > > > I am able to duplicated the UAS issue on 4.16

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

2018-04-23 Thread Tushar Nimkar
hi, On 2018-04-23 18:20, Oliver Neukum wrote: Am Donnerstag, den 19.04.2018, 20:18 +0530 schrieb Tushar Nimkar: On 2018-04-19 14:15, Oliver Neukum wrote: > Am Mittwoch, den 18.04.2018, 12:44 +0530 schrieb Tushar Nimkar: > > On 2018-04-17 12:03, Tushar Nimkar wrote: > > Hi, >

Re: howto debug xhci driver?

2018-04-23 Thread Tushar Nimkar
Hi, On 2018-04-23 18:58, Bin Liu wrote: On Mon, Apr 23, 2018 at 11:14:55AM +0530, Tushar Nimkar wrote: On 2018-04-21 00:03, Bin Liu wrote: >Hi, > >On Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: >>Forgot to CC linux-usb. >> >> >> Forward

usb: storage: what is the correct sequence for? sd_probe| storage_probe/1/2 and uas_probe | scsi_scan_host

2018-05-15 Thread Tushar Nimkar
Everyone, Please help me in understanding sd_probe| storage_probe/1/2 and uas_probe | scsi_scan_host :) Basically want to know the correct sequence for them? How sd_probe_async() is called (ASYNC_DOMAIN(scsi_sd_probe_domain))? Is there any document which say it in detail ? -- Best Regards, Tu

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

2018-05-16 Thread Tushar Nimkar
Hi All, On 2018-04-24 14:42, Oliver Neukum wrote: Am Montag, den 23.04.2018, 18:35 +0530 schrieb Tushar Nimkar: hi, On 2018-04-23 18:20, Oliver Neukum wrote: > Am Donnerstag, den 19.04.2018, 20:18 +0530 schrieb Tushar Nimkar: > No. But for testing we don't need to. Can you c

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

2018-05-18 Thread Tushar Nimkar
Manu, On 2018-05-18 16:10, Manu Gautam wrote: Hi, On 4/16/2018 3:47 PM, Tushar Nimkar wrote: On 2018-04-05 12:39, Felipe Balbi wrote: Hi, tnim...@codeaurora.org writes: On 2018-04-05 11:24, Felipe Balbi wrote: Hi, Greg KH writes: On Wed, Apr 04, 2018 at 05:14:50PM +0530, tnim

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

2018-05-24 Thread Tushar Nimkar
Oliver, On 2018-05-17 19:04, Oliver Neukum wrote: Am Donnerstag, den 17.05.2018, 12:29 +0530 schrieb Tushar Nimkar: Those commands issued from different layers say: sd.. uas.. scsi.. so making them to go one after other. Once REPORT_LUN done go with READ_CAPACITY_16. This is only for the UAS

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

2018-05-29 Thread Tushar Nimkar
Hi, On 2018-05-28 18:12, Oliver Neukum wrote: Am Donnerstag, den 24.05.2018, 20:13 +0530 schrieb Tushar Nimkar: We have built SCSI as module will it cause any problem to enable CONFIG_SCSI_SCAN_ASYNC ? No, that should work. But the failure is bizzare. You say yes there is no problem! I have

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

2018-06-05 Thread Tushar Nimkar
Hi, On 2018-06-04 19:57, Oliver Neukum wrote: Am Dienstag, den 29.05.2018, 14:32 +0530 schrieb Tushar Nimkar: Hi, On 2018-05-28 18:12, Oliver Neukum wrote: > Am Donnerstag, den 24.05.2018, 20:13 +0530 schrieb Tushar Nimkar: > > We have built SCSI as module will it cause any problem

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

2018-02-05 Thread Tushar Nimkar
Hi , I am enabling uas support. And facing the issue as follows. I have observed that when ( Transcend StoreJet TS256GESD400K ) connected to my custom board, it detects first then uas_eh_abort_handler() get call and then reset and enumerates properly.When same device is used with 2.0 HUB their i

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

2018-02-05 Thread Tushar Nimkar
I will try and update the same if possible to duplicate this on 4.14.14 or 4.15 On Mon, Feb 5, 2018 at 11:40 PM, Greg KH wrote: > On Mon, Feb 05, 2018 at 11:34:40PM +0530, Tushar Nimkar wrote: >> Hi , >> >> I am enabling uas support. And facing the issue as follows. >&

usb: uas : working uas devices ?

2018-02-06 Thread Tushar Nimkar
Can anyone help me in selecting UASP/UAS device ? Any link/ model no. will be helpful. I could see unusual_uas.h has many devices which are not behaving well so don't want to take risk in selecting. Other then Trancend SSDs because I have that. Want to check on other disks. -- Best Regards, Tush

Re: usb: uas : working uas devices ?

2018-02-07 Thread Tushar Nimkar
Thanks Adrian and Greg. On Wed, Feb 7, 2018 at 7:59 PM, Greg KH wrote: > On Wed, Feb 07, 2018 at 12:13:36PM +0530, Tushar Nimkar wrote: >> Can anyone help me in selecting UASP/UAS device ? >> Any link/ model no. will be helpful. >> I could see unusual_uas.h has many

Re: usb: uas : working uas devices ?

2018-02-07 Thread Tushar Nimkar
ultiple disk access on a jmicron JMS567 bridge" > > 2018-02-07 15:38 GMT+01:00 Tushar Nimkar : >> Thanks Adrian and Greg. >> >> On Wed, Feb 7, 2018 at 7:59 PM, Greg KH wrote: >>> On Wed, Feb 07, 2018 at 12:13:36PM +0530, Tushar Nimkar wrote: >>>>

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

2018-02-07 Thread Tushar Nimkar
ld not see the issue. I don't know how to share Lecroy logs here. I can share the logs. On Tue, Feb 6, 2018 at 3:32 PM, Oliver Neukum wrote: > Am Montag, den 05.02.2018, 23:46 +0530 schrieb Tushar Nimkar: >> Greg, >> >> I have cherry-picked 9 patches as follows. > >

need UASP/UAS spec

2018-03-11 Thread Tushar Nimkar
Hi, Can u please help me in getting UAS spec.? I have "UASP Revision 1.0" but which is very old. Want to understand what this "uas-tags"/ "initiator transfer tags" mean. For only one case transfer (Command IU) it is 0x0002 rest case it is 0x0001 Please provide any link so that I can download spe