On Mon, 23 Feb 2004, Juhan Ernits wrote:
> Hi,
>
> this post is partly a supplement of Francis, Chong Chan Fai's post from Feb 07,
> 2004.
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg19771.html
>
> The behaviour is similar, i.e. the attached USB2.0 hardisk fails when ehci_hci
> module is loaded, but works fine without it (i.e. in USB1.1 mode).
>
> Kernel is vanilla 2.6.3.
>
> Host hardware is this:
>
> 00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
> 00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
> 00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
> 00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 01)
>
> And the box containing the hardisk is Genesys GL811_U240B-E
> (Chronos HD-337-U2)
>
> I have attached logs with usb-storage debugging turned on for the failing case
> (i.e. how it does not work with ehci_hcd module loaded) and for the working case
> (i.e. without the ehci_hcd module).
>
> Please let me know if I can provide any further help in tracking this bug down.
>
> Best regards,
Basically the same fix that worked for "Francis, Chong Chan Fai" ought to
work for you. It's a very simple change, as you can see from the patch
below.
Alan Stern
===== scsiglue.c 1.70 vs edited =====
--- 1.70/drivers/usb/storage/scsiglue.c Fri Jan 30 22:02:35 2004
+++ edited/drivers/usb/storage/scsiglue.c Mon Feb 23 11:20:51 2004
@@ -370,8 +370,8 @@
/* lots of sg segments can be handled */
.sg_tablesize = SG_ALL,
- /* limit the total size of a transfer to 120 KB */
- .max_sectors = 240,
+ /* limit the total size of a transfer to 64 KB */
+ .max_sectors = 128,
/* merge commands... this seems to help performance, but
* periodically someone should test to see which setting is more
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel