1 |
On Fri, Feb 4, 2011 at 8:48 AM, Helmut Jarausch |
2 |
<jarausch@××××××××××××××××.de> wrote: |
3 |
> On 02/02/2011 04:48:40 PM, Paul Hartman wrote: |
4 |
>> On Mon, Jan 31, 2011 at 3:43 AM, Helmut Jarausch |
5 |
>> <jarausch@××××××××××××××××.de> wrote: |
6 |
>> > Hi, |
7 |
>> > |
8 |
>> > since a few weeks I have a strange effect with my USB stick. |
9 |
>> > |
10 |
>> > According to fdisk there is one partition on it |
11 |
>> > /dev/sde1 38 7839719 3919841 b W95 FAT32 |
12 |
>> > |
13 |
>> > which I haven't changed for a long time. |
14 |
>> > |
15 |
>> > Whenever I insert this stick, the kernel log shows |
16 |
>> > /dev/sde but not /dev/sde1 (and there is no file /dev/sde1) |
17 |
>> > |
18 |
>> > After Invoking fdisk /dev/sde with a simple 'p' command but nothing |
19 |
>> > else, this device shows up. |
20 |
>> > |
21 |
>> > Has anybody an idea what's going on here? |
22 |
>> |
23 |
>> I have a USB SD-card reader which cannot read the partition table |
24 |
>> when |
25 |
>> first inserted into the PC. But, if I issue "hdparm -z /dev/sdg" then |
26 |
>> the kernel re-reads the partition table and everything works fine |
27 |
>> after that. You can try it, maybe it'll work for you, too. |
28 |
> |
29 |
> Thanks Paul and all other who tried to help. |
30 |
> Sorry for my late reply, I have been too busy. |
31 |
> |
32 |
> My situation seems special. |
33 |
> |
34 |
> - the card reader is 2 years old (builtin) |
35 |
> - the stick is about 1 year old |
36 |
> |
37 |
> 2 of my 3 USB stick work just fine |
38 |
> |
39 |
> up to kernel 2.6.36-? the stick in question |
40 |
> has worked definitely. |
41 |
> Probably since kernel 2.6.37 this one shows the mentioned problems. |
42 |
> |
43 |
> Paul's advice above works just fine! |
44 |
> So, I think it's a timing problem as Paul has suggested in a later |
45 |
> mail. Where can I set the delay_use option of usb-storage to a higher |
46 |
> value? |
47 |
|
48 |
I think you must first ensure usb-storage is built as a module, then |
49 |
create a file /etc/modprobe.d/usb_storage with these contents: |
50 |
|
51 |
options usb_storage delay_use=5 |
52 |
|
53 |
That would set the delay to 5 seconds. And you may need to run |
54 |
update-modules after changing that file. |
55 |
|
56 |
I haven't tried it yet and that's based on my memory as I'm using a |
57 |
Windows computer at the moment... Good luck! |