Re: Smartmedia 2.6.0-test9 problem.

Eli Carter
2003-11-18T23:08:15Z

Eli Carter wrote:
> Nick Craig-Wood wrote:
>
>> On Tue, Nov 18, 2003 at 11:11:26AM -0000, Patrick Beard wrote:
>>
>>> I have two smartmedia cards 16mb and 64mb. I have recently compiled
>>> the Debian source for Kernel 2.6.0-test9. I normally only use my
>>> 64mb card together with a usb reader. The problem I have led me to
>>> the wrong conclusion which I reported to this group. For this I
>>> apologise.
>>
>>
>>
>> I wonder if you are seeing the same thing I see...
>>
>> I have several different sized memory cards which I use using a usb
>> adaptor. The kernel (I've only tried 2.4 not 2.6) recognises the
>> first one fine, but refuses to update its internal knowledge of the
>> size of the card so if I insert a different sized one it doesn't mount
>> properly.
>>
>> The work-around I use is to "rmmod usb-storage ; modprobe usb-storage"
>> whenever I change memory card - this kicks the kernel into re-reading
>> the size of the media (or maybe the partition table) and it all works
>> fine after that.
>>
>> This obviously isn't ideal but I haven't found a better solution.
>>
>
> I've had this problem with 2.4 kernels as well, and use "unplug the
> reader, rmmod, plug in the reader". I reported this a long time ago,
> and didn't get any response IIRC.

Oh, I just realized... I should mention that I was having this problem
with CompactFlash cards of differing sizes/partitioning.

Eli
--------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------