On Sun, 28 May 2006, Norbert Preining wrote:

> > Try reverting all the patches you have made except the one that adds 
> > msleep() after the line setting srb->result.  Instead of calling msleep, 
> > have it goto Handle_Errors.
> 
> Yup done. Nice ... I still get a lot of resets, but the copying time is
> much much better!!! What before took around 45min, now takes only
> 10min. Seems to be that the reset time is just gone. The resest are now
> were tight:
> 01:28:09
> 01:28:09
> 01:28:13
> 01:28:27
> 01:28:50
> 01:28:52
> 01:29:18
> 01:29:30
> 01:29:35
> 01:29:37
> 01:29:49
> 01:29:53
> 01:29:56
> 01:30:16
> 01:30:20
> 01:30:29
> 01:31:00
> 01:34:10
> 01:35:04
> 01:35:38
> 01:35:40
> 01:36:07
> 01:36:12
> 01:36:16
> 01:36:19
> 01:36:22
> 01:36:39
> 01:36:44
> 01:37:01
> 01:37:07
> 01:37:13
> 01:37:17
> 01:37:20
> 01:37:43
> 01:37:49
> 01:37:55
> 01:37:59
> 01:38:00
> 01:38:08
> 01:38:26
> 01:38:27
> But the device seems to cope with this without any problems. So it is
> not the rebooting of the device, nor the disk is hanging, it is just the
> reset timeout from sd.c. Aha.

Yes, I think this is about the best you can hope for with that drive.  If 
only we knew how to prevent it from crashing so often -- but maybe there 
is no way to prevent it.  I wonder what would happen under Windows?

> Do you need the usbmon output of it ... it is big, uncompressed 156M.

No thanks; it's probably much the same as before.

> > Did you say that these resets occur while reading from the drive, or do 
> > they happen only when you are writing?
> 
> Both reading and writing.

So doing the immediate reset for OUT transfers would affect only half of 
the problem.  Maybe doing it for all transfers would be okay; I'm not 
sure.  I'll have to ask on the usb-storage mailing list.

> I will be on and off till next sunday since I have a congress. So don't
> expect any immediate answers from me.

I can't think of anything else to try.  For now there doesn't seem to be
anything to do but chalk it up to bad firmware.

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

Reply via email to