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 at the 
time stamps in usbmon log. I know that the documentation exists for usbmon 
exists in Documentation/usbmon.txt. But the document do not talk about 
idnetifying the time stamps in the usbmon log.

Is there any utility/tools that parse the usbmon output in human readable 
format ? 

Is there any easy way to interprete the usbmon log  ?

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 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 am facing issues when using a 2.0 external HARD disk or flash drive. I
> can copy small files(less than 500k) to and from the disk without any
> issues. Large file transfer(greater than 1MByts)takes long time to
> finish and as a result the console gets locked giving impression that
> USB is hanging. Attempts to do file transfer larger than 50MBytes
> results in bus reset message by the driver. During the file transfer
> scsi_eh_0 and usb-storage alternates between S and D state as reported
> by top command. The endpoints are halted and cleared during transfer as
> is evident from dmesg below.

...

> Is this a known issue in 2.6.12 series usb driver ?

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 
by the driver -- but they wouldn't be there if no errors occurred.)

Alan Stern



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to