On Wed, 24 May 2006, Norbert Preining wrote: > I changed computer *AND* cable and got an even worse result: > $ grep "reset high speed" syslog | awk '{print$3}' > 11:45:26 > 11:46:00 > 11:48:55 > 11:49:46 > 11:52:29 > 11:53:01 > 11:53:32 > 11:54:15 > 11:55:15 > 11:55:50 > 12:02:12 > 12:04:39 > 12:05:38 > 12:06:09 > 12:07:17 > 12:09:05 > 12:09:35 > 12:11:18 > 12:15:13 > 12:17:02 > 12:17:33 > 12:20:14 > 12:23:22 > 12:25:16 > 12:30:19 > 12:35:21 > 12:37:56
Definitely not good. Perhaps the problem is in the USB interface of your hard drive. > (and I checked that it was all from the same instance of copying, not > from an older one). It seems that the reset takes *realy* really long, > not as fast as it should be. How do you know? The log entries tell you when each reset started but not when it ended. > This was for copying the same 5.4Gb back onto a different hard disk. > > This other computer is running Debian/unstable with 2.6.16-1-k7 (so no > -mm kernel). > > > Each individual reset should be very quick, on the order of 1 second or > > less. Of course, it may take a few seconds for a command to timeout and > > cause the reset to occur. > > Nup, here it sometimes takes 1min to get it going again. How can you tell? By watching an LED? The normal usb-storage debugging isn't very good for tracking down intermittent problems like this. However if you want, you can add your own printk statements to the driver to find out exactly when each reset starts and ends. The place you should modify is in drivers/usb/storage/transport.c. Near the end of the usb_stor_invoke_transport() routine is a statement label Handle_Errors. Add your printk's in there, around the calls to usb_stor_port_reset() and us->transport_reset(). 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&kid=107521&bid=248729&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel