On Sat, 25 Oct 2003, Vedran Rodic wrote:

> Hi
> 
> I have problems with linux 2.6.0-test8 (bk from today) and usb-storage
> 
> Mount hangs when mounting usb-storage device.
> 
> kern.log with usb verbose debug and usb-storage verbose debug at
> http://quark.fsb.hr/vedran/usb_klog (I also did a reload of usb modules in this
> session).
> 
> 
> USB controller is VIA Technologies, Inc. USB 2.0 (rev 51).
> 
> Thanks
> Vedran

Try applying this patch and see if it helps.

Alan Stern


--- a/drivers/usb/storage/scsiglue.c    Thu Oct 16 16:22:50 2003
+++ b/drivers/usb/storage/scsiglue.c    Sat Oct 25 10:59:45 2003
@@ -315,6 +315,9 @@
        /* lots of sg segments can be handled */
        .sg_tablesize =                 SG_ALL,
 
+       /* limit the total size of a transfer to 120 KB */
+       .max_sectors =                  240
+
        /* merge commands... this seems to help performance, but
         * periodically someone should test to see which setting is more
         * optimal.



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to