After getting some more time to play with my usb-storage device
that was stalling and timing out when used with the ehci usb 2.0
driver, i finally tried what David mentioned below, and although it
didn't work with 0x00ff or 0xaff, but taking out the mask altogether
and now my device works perfectly. backed up 20GB just fine with
no stalls or timeouts.

Any ideas why this could be ?

David is there any benefit in making that a tuneable config option
from the module so that those affected by this problem (at least Fridtjof
and myself) don't have to manually patch the source every time a new
kernel is released ?

Thanks
Mitch

-------- Original Message --------
Subject:   Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1
Date: Tue, 12 Aug 2003 19:05:12 +0100
From:  David Brownell <[EMAIL PROTECTED]>
To:  linux-usb-devel <[EMAIL PROTECTED]>


...[ snip snip ]...


The SCSI layer failed about 45 seconds after the first timeout,
and 15 seconds after the device disconnected itself.


Thanks for this more detailed kernel log information. The diagnostics in that patch really do suggest hardware flakiness to me -- assuming that I interpreted those bit patterns correctly. You wouldn't be able to do anything like watch usb traffic on a CATC would you?

What's odd is that you report older code working better with this
particular hardware.  Nothing here suggests driver bugs.  So I'm
wondering if the difference is that 2.4.22 code talks faster to
that hardware, which doesn't like that.

As an experiment, try modifying "ehci-hcd.c".  There's a line
in ehci_start() that masks a register value with 0x0fff (that
constant only lives in that one place).  In 2.4.22 that changed,
so the 0x0f00 bits were preserved ... speeding up NForce2 by
leaving the "park" mode enabled.

Try making that mask be 0x00ff, disabling "park" so the host
won't try three consecutive OUT packets.  If that helps, please
also try 0x0aff, which still gets some speed improvements from
the "park" mode but won't push double-buffered devices as hard.




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to