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 to enable >

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

2018-06-04 Thread Oliver Neukum
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 to enable > > > CONFIG_SCSI_SCAN_ASYNC ? > > > > N

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-05-28 Thread Oliver Neukum
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 synchronous scanning fails, but async scan works? Regards

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 dev

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...@codeaur

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

2018-05-18 Thread Manu Gautam
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...@codeaurora.org > wrote

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

2018-05-17 Thread Oliver Neukum
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 devices. I believe no disturb to BOT behavior.

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 confirm that > th

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

2018-04-24 Thread Oliver Neukum
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 confirm that > > the problem is triggered by specific commands?

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, > > > I have doubt th

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

2018-04-23 Thread Oliver Neukum
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, > > > > > I have doubt that sequential scan(scsi_sequential

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-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 you try t

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 to e

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

2018-04-19 Thread Oliver Neukum
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. May I suggest that you try to determine whether the issue happens on the same SCSI command? We need to kno

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

2018-04-19 Thread Oliver Neukum
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 to enumerate during REPORT_LUN > command.

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.701130] sd 1:0:0:0: tag#0 CDB: opcode=

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...@codeaurora.org wri

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

2018-04-17 Thread Mathias Nyman
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...@codeaurora.org writes: On 2018-04-04 19:28, Greg KH wrote:

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-16 Thread Oliver Neukum
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, maybe that URB never finished? >

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

2018-04-16 Thread Alan Stern
On Mon, 16 Apr 2018, 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...@codeaurora.org writes: > >> > >>> On 2018-04-04 19:28, Greg KH wrote: > O

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

2018-04-16 Thread Mathias Nyman
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...@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-0

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-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-05 Thread Felipe Balbi
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 behavior is

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

2018-04-04 Thread tnimkar
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 behavior is same new usb device detects and reset after aprox 30 sec(SD_TIMEOUT) Log

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

2018-04-04 Thread Felipe Balbi
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, 2018 at 05:14:50PM +0530, tnim...

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

2018-04-04 Thread tnimkar
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 as w

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

2018-04-04 Thread Felipe Balbi
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 behavior is same new usb device detects and reset after aprox 30 >> sec(SD_TIMEOUT) >> Logs are already shared bel

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

2018-04-04 Thread Greg KH
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 as well. > > > The behavior is s

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

2018-04-04 Thread tnimkar
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 as well. The behavior is same new usb device detects and reset after aprox 30 sec(SD_TIMEOUT) Logs are already shared below.

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

2018-04-04 Thread Greg KH
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 behavior is same new usb device detects and reset after aprox 30 > sec(SD_TIMEOUT) > Logs are already shared below. > > We are using Synopsys

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

2018-04-04 Thread tnimkar
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 Lin