Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-15 Thread Vivek Dharmadhikari
lto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:03 PM To: Vivek Dharmadhikari Cc: Alan Stern; USB development list Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Wednesday 07 June 2006 3:23 pm, Vivek Dharmadhikari wrote: > > How do i dump, QH and its

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-08 Thread Vivek Dharmadhikari
PROTECTED] Sent: Wednesday, June 07, 2006 4:03 PM To: Vivek Dharmadhikari Cc: Alan Stern; USB development list Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Wednesday 07 June 2006 3:23 pm, Vivek Dharmadhikari wrote: > > How do i dump, QH and its associate

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread David Brownell
On Wednesday 07 June 2006 3:23 pm, Vivek Dharmadhikari wrote: > > How do i dump, QH and its associated QTDs ? Try dbg_qh() and dbg_qtd() ... see ehci-dbg.c for examples of scanning the qtd list. > >I don't see this happening ... it's not supposed to, and I just looked > >at how the bits affectin

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
his? The ehci silicon is from synopsys designware USB 2.0 core. Regards Vivek -Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 2:40 PM To: Alan Stern Cc: Vivek Dharmadhikari; USB development list Subject: Re: [linux-usb-devel] Usb hangs durin

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
David How do i dump, QH and its associated QTDs ? Regards Vivek -Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 2:42 PM To: Vivek Dharmadhikari Cc: Alan Stern; USB development list Subject: Re: [linux-usb-devel] Usb hangs during small and

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread David Brownell
On Wednesday 07 June 2006 2:19 pm, Vivek Dharmadhikari wrote: > Clearly the hardware is mis-behaving. Possibly. How about dumping the QH and its associated QTDs when the driver unlinks it? Then we'd be able to notice various mismatches. ___ linux-us

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread David Brownell
On Wednesday 07 June 2006 11:50 am, Alan Stern wrote: > On Wed, 7 Jun 2006, Vivek Dharmadhikari wrote: > > > Alan > > > > Here are the results again. > > > > The few transactions for the time period before the "command_abort called" > > are typically like below > > > > 1. Host sends 512 bytes

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
n Stern [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 11:50 AM To: Vivek Dharmadhikari Cc: David Brownell; USB development list Subject: RE: [linux-usb-devel] Usb hangs during small and large file transfer On Wed, 7 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > Here are the resu

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
elopment list Subject: RE: [linux-usb-devel] Usb hangs during small and large file transfer On Wed, 7 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > Here are the results again. > > The few transactions for the time period before the "command_abort called" > are typi

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Alan Stern
On Wed, 7 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > Here are the results again. > > The few transactions for the time period before the "command_abort called" > are typically like below > > 1. Host sends 512 bytes OUT packet which is ACKED. > 2. Host sends 13 bytes IN packet which is AC

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Alan Stern
On Wed, 7 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > >Obviously you are wrong, because the PING packet isn't getting sent! > > >More specifically, the hardware is _supposed_ to send the PING packet > >automatically as part of flow control. The fact that it doesn't means > >that something i

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
code will fit in the driver. Any pointers,idea will be helpful. Thanks. Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 8:08 AM To: Vivek Dharmadhikari Cc: David Brownell; USB development list Subject: RE: [linux-usb-devel] Usb

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Vivek Dharmadhikari
MAIL PROTECTED] Sent: Wednesday, June 07, 2006 8:08 AM To: Vivek Dharmadhikari Cc: David Brownell; USB development list Subject: RE: [linux-usb-devel] Usb hangs during small and large file transfer On Tue, 6 Jun 2006, Vivek Dharmadhikari wrote: > >I can't. In any case, you don't need to p

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-07 Thread Alan Stern
On Tue, 6 Jun 2006, Vivek Dharmadhikari wrote: > >I can't. In any case, you don't need to pull the device out of NYET > >state; you need to push the host controller to send another PING. > > I wonder if the act of pushing host controller to send another PING is > done in the software or in the

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-06 Thread Vivek Dharmadhikari
rlier,i will repost the results. Thanks. Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 11:46 AM To: Vivek Dharmadhikari Cc: David Brownell; USB development list Subject: RE: [linux-usb-devel] Usb hangs during small and lar

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-06 Thread Alan Stern
On Tue, 6 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > >Vivek, can you please run the same test over again? This time also > >collect the usb-storage verbose debugging log so we can see exactly what > >happens from the host's point of view and compare it with the Catalyst's > >record. We'd l

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-06 Thread Vivek Dharmadhikari
TED] Sent: Monday, June 05, 2006 9:07 AM To: Vivek Dharmadhikari; David Brownell Cc: USB development list Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Mon, 5 Jun 2006, David Brownell wrote: > On Saturday 03 June 2006 9:33 am, Alan Stern wrote: >

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-05 Thread Vivek Dharmadhikari
evertheless, I will double check the ported code and erratum for Synopsys USB 2.0 controller. Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Saturday, June 03, 2006 9:34 AM To: Vivek Dharmadhikari Cc: David Brownell; USB development list Subject: RE: [linux-u

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-05 Thread Vivek Dharmadhikari
ivek Dharmadhikari Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Saturday 03 June 2006 9:33 am, Alan Stern wrote: > On Fri, 2 Jun 2006, Vivek Dharmadhikari wrote: > > > > Host send OUT transcation with 31 Bytes > > Device reponds with NYE

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-05 Thread Alan Stern
On Mon, 5 Jun 2006, David Brownell wrote: > On Saturday 03 June 2006 9:33 am, Alan Stern wrote: > > On Fri, 2 Jun 2006, Vivek Dharmadhikari wrote: > > > > > > Host send OUT transcation with 31 Bytes > > > Device reponds with NYET. > > > 30 seconds IDLE time on bus. > > Where IDLE == only SOFs ar

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-05 Thread David Brownell
On Saturday 03 June 2006 9:33 am, Alan Stern wrote: > On Fri, 2 Jun 2006, Vivek Dharmadhikari wrote: > > > > Host send OUT transcation with 31 Bytes > > Device reponds with NYET. > > 30 seconds IDLE time on bus. Where IDLE == only SOFs are seen? Or the hardware idle state, by which you mean the

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-05 Thread Alan Stern
On Mon, 5 Jun 2006, Vivek Dharmadhikari wrote: > Earlier you indicated that there is a 30 second timer in scsi module. > Can this timer play any role here ? Pardon me if this sounds a silly > question as don't know about scsi. The timer _does_ play a role. It is what causes a reset to occur afte

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-03 Thread Alan Stern
On Fri, 2 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > >The problem is more likely to be in your device than in the kernel. > > You are proabably right here. I used Catalyst USB analyzer to cross > check the results of usbmon log. USB analyzer indicated many hot spots > of 30 seconds and 6 s

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Pete Zaitcev
On Fri, 2 Jun 2006 15:25:39 -0700, "Vivek Dharmadhikari" <[EMAIL PROTECTED]> wrote: > >The '1t' pseudo file provides the counters, if anyone is interested > > What are these counters ? > How different are these counters from the current format of usbmon log ? > Do the file usbmon.txt contains i

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Vivek Dharmadhikari
ing at high speed !. I am baffled by this fact. Do you any theory here ? Thanks. Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 8:39 AM To: Vivek Dharmadhikari Cc: linux-usb-devel@lists.sourceforge.net Subject: RE: [linux-usb-devel]

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Alan Stern
On Fri, 2 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > >Apparently you are using an old kernel version. With more recent versions > >(like 2.6.17-rc5), usbmon provides a lot more information. > > I am using 2.6.12 kernel. > > >Also it looks like either usbmon has dropped a lot of lines or

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Vivek Dharmadhikari
age- From: Pete Zaitcev [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 11:54 AM To: Alan Stern Cc: Vivek Dharmadhikari; linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Fri, 2 Jun 2006 11:39:05 -0400 (EDT), Alan

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Vivek Dharmadhikari
e.net Subject: RE: [linux-usb-devel] Usb hangs during small and large file transfer On Thu, 1 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > I used usbmon to gain more visibility and i see some interesting points > in it. I am reproducing a small and relevent portion of usbmon log &

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Pete Zaitcev
On Fri, 2 Jun 2006 11:39:05 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Also it looks like either usbmon has dropped a lot of lines or you have > edited them out of the log. The '1t' pseudo file provides the counters, if anyone is interested. Most of the time, the main reason for dropp

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Alan Stern
On Thu, 1 Jun 2006, Vivek Dharmadhikari wrote: > Alan > > I used usbmon to gain more visibility and i see some interesting points > in it. I am reproducing a small and relevent portion of usbmon log > below. Note that the test comprises of writing about 12Mbytes of data to > 2.0 external USB hard

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-01 Thread Vivek Dharmadhikari
, May 31, 2006 6:48 AM To: Vivek Dharmadhikari Cc: linux-usb-devel@lists.sourceforge.net Subject: RE: [linux-usb-devel] Usb hangs during small and large file transfer On Tue, 30 May 2006, Vivek Dharmadhikari wrote: > Hello Alan > > I was closely following the "resetting high sp

RE: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-31 Thread Alan Stern
On Tue, 30 May 2006, Vivek Dharmadhikari wrote: > Hello Alan > > I was closely following the "resetting high speed usb device" thread and > i see that usbmon was used to track down the issue. I think usbmon could > be very helpful to debug the USB hangs issue that i reporeted earlier by > looking

RE: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-31 Thread Alan Stern
On Tue, 30 May 2006, Vivek Dharmadhikari wrote: > Hello Alan > > > When you mount the USB drive, do you use the "-o sync" option? That could > > cause the delays and the errors that you see. They are not caused by > > problems in the 2.6.12 USB drivers. (Well, some of the delays are caused

RE: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-30 Thread Vivek Dharmadhikari
? Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 3:02 PM To: Vivek Dharmadhikari Cc: linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Fri, 12 May 2006, Vivek Dha

RE: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-30 Thread Vivek Dharmadhikari
page cache ? Regards Vivek -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 3:02 PM To: Vivek Dharmadhikari Cc: linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Usb hangs during small and large file transfer On Fri, 12 May 2006

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-16 Thread Alan Stern
On Fri, 12 May 2006, Vivek Dharmadhikari wrote: > > Hello All > > I have ported linux 2.6.12 USB driver to 200MHz MIPS SOC with synopsys > USB 2.0 block. The USB block is NOT interfaced using PCI therefore I > used platform glue structure to port the driver. The driver is now > working. > > I