The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > USB Flash Drives

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 11 votes, 5.00 average. Display Modes
  #1  
Old 09-26-2008, 01:52 AM
axion axion is offline
axion
 
Join Date: Sep 2008
Posts: 4
POST ID # = 368536
axion Reputation: 10
Idea Solution for problems with usb-stick with prolific controller

Hello, I have a fix for this problem after having posted it for a differently branded stick, but with the same prolific controller on bugzilla.

See bugzilla #11640

Whenever you create multiple partitions or a non fat(32) file system in a partition on the stick the inquiry of the stick timeouts. The default linux timeout is set for 5 secs, and the stick takes 14.5 seconds. So if you set the timeout to 15 seconds or more, and reinsert the stick, the stick should be mountable and readable. Just remember to add this to your boot scripts, or repeat it every time you reboot the kernel.

The inquiry timeout can be set to 15 sec with the following command line:
Code:
echo 15 >/sys/module/scsi_mod/parameters/inq_timeout
Or if you prefer the grub command line is :
Code:
scsi_mod.inq_timeout=15
I hope this longer timeout will someday be standard for the kernel. Or maybe part of an exception list when a prolific 2528 stick is detected.

axion

Last edited by axion; 09-27-2008 at 08:39 PM. Reason: 2528 not 2825
Reply With Quote


  #2  
Old 09-26-2008, 12:21 PM
RAM GUY's Avatar
RAM GUY RAM GUY is offline
Corsair Product Guru
 
Join Date: Apr 2001
Location: Fremont, CA
Posts: 118,269
POST ID # = 368587
RAM GUY Reputation: 10
Default

Thank you for posting this and I have made it a sticky for the time being.
__________________
Support accounts and tickets can be created at https://support.corsair.com.
Reply With Quote


  #3  
Old 09-27-2008, 08:41 PM
axion axion is offline
axion
 
Join Date: Sep 2008
Posts: 4
POST ID # = 368762
axion Reputation: 10
Default Thank you

Will keep everyone updated.
Reply With Quote


  #4  
Old 09-27-2008, 08:47 PM
axion axion is offline
axion
 
Join Date: Sep 2008
Posts: 4
POST ID # = 368763
axion Reputation: 10
Default update..

------- Comment #10 From Monchi 2008-09-25 22:36:35 [reply] -------

Could this longer inq timeout become part of a greylisted usb-stick chipset ?
Because many people on the corsair forum have the same problem. Different sick
manufacturer same usb->flash controller.


------- Comment #11 From Alan Stern 2008-09-26 07:12:26 [reply] -------

I don't know -- the inq_timeout setting is global, affect every SCSI device
added to the system, not just an individual USB device. However testing shows
that Windows XP uses a timeout of 20 seconds for USB storage devices.

I'll ask on the SCSI development mailing list.
Reply With Quote


Reply

Tags
linux, prolific, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.