On Sat, 10 Jul 2004, Gerd v. Egidy wrote:

> Hi,
> 
> I still got problems with my Genesys USB-IDE converter after applying Alans 
> latest patch (max_sectors=64, 100us delay).

I rather suspected it was too much to hope that the patch would fix things 
for everybody.

> Sometimes it works and I can transfer 50G but sometimes it already fails on 
> mounting the 200G reiserfs partition.
> 
> If I use it not directly, but through devicemapper and dm-crypt, it always fails 
> on mounting.

That's pretty unusual.  The normal failure mode for the Genesys devices is 
to get hung up during a write.

> The log always looks like this:
> 
> Jul 10 09:58:23 fire kernel: SCSI error : <0 0 0 0> return code = 0x70000
> Jul 10 09:58:23 fire kernel: end_request: I/O error, dev sda, sector 213385279

You have to turn on the usb-storage debugging option in your kernel's 
configuration; without it the log just doesn't have enough information to 
tell what's happening.

> I have already tried to decrease max_sectors further, but even setting it to 16
> didn't change anything. So I think there is missing something else.
> 
> Any ideas?
> 
> BTW, I'm running latest linus BK.

You could try increasing the length of the delay that the patch adds to 
transport.c.  Make it 200us instead of 100us and see what happens.

Alan Stern



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to