Skip to contentSkip to conversation

Smartmedia 2.6.0-test9 problem.

DISCUSSION Vid Strpic 1 participant 1 message Nov 19, 2003

lore
Share & tools
lore

Vid Strpic

author
#0 lore raw
Quoted 6 lines · Nick Craig-Wood
Quoted 5 lines · Patrick Beard

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.

Quoted 6 lines

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.

I don't have that problem, luckily, but a different one...

Quoted 5 lines

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.

Sometimes kernel doesn't want to recognize the SM card in reader, and I have to reinsert it, sometimes several times. In 2.4, one eject /dev/sda fixes the problem, in 2.6 not any more. But reinserting always helps... obviously, not ideal too, but it works for me.

Signature · 3 lines
           [email protected], IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test9 #1 Sat Oct 25 23:00:37 CEST 2003 i686
 09:26:41 up 13 days, 18:43,  1 user,  load average: 0.25, 0.30, 0.27