Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MMC card works only mounting one time per boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
retroman
Apprentice
Apprentice


Joined: 18 Nov 2004
Posts: 207
Location: Stuttgart

PostPosted: Sun Oct 14, 2007 8:46 pm    Post subject: MMC card works only mounting one time per boot Reply with quote

Hello,

My mmc card reader in my laptop works fine when reading an inserted MMC card. its also detected by hal and automounts on KDE with the following in dmesg


Code:

tifm_core: MMC/SD card detected in socket 0:1
mmcblk0: mmc:0001 MMC512 509568KiB
  mmcblk0:p1



remove shows:

Code:

tifm0 : demand removing card from socket 0:1



reinsertion shows:
Code:

tifm_core: MMC/SD card detected in socket 0:1



but nothing else. I must reboot to use the mmc card again...

any ideas?

J
Back to top
View user's profile Send private message
ebbtyde
n00b
n00b


Joined: 20 Oct 2006
Posts: 10

PostPosted: Sun Oct 14, 2007 11:34 pm    Post subject: Reply with quote

Is the mmc_block driver automatically loaded on subsequent tries?

Type "lsmod" after the card is recognized. Remove. Reinsert. Do an "lsmod" again. If the mmc_block driver, or something similar, is missing on the second lsmod, then

"modprobe mmc_block"

may eliminate the need to reboot. If so, the problem is that the driver is not automounting for some reason.

-ebbtyde
Back to top
View user's profile Send private message
retroman
Apprentice
Apprentice


Joined: 18 Nov 2004
Posts: 207
Location: Stuttgart

PostPosted: Mon Oct 15, 2007 7:25 am    Post subject: Reply with quote

interesting however the problem seems to be in reverse.



before card goes in
Code:

Module                  Size  Used by
i915                   22656  2
snd_pcm_oss            39200  0
snd_mixer_oss          14336  1 snd_pcm_oss
omnibook               41008  0
uinput                  7552  0
uvcvideo               42116  0
arc4                    2176  2
ecb                     3072  2
blkcipher               5380  1 ecb
cryptomgr               2816  0
crypto_algapi          11008  3 arc4,ecb,cryptomgr
snd_hda_intel         250136  1
snd_pcm                68740  2 snd_pcm_oss,snd_hda_intel
snd_timer              18948  1 snd_pcm
snd_page_alloc          8072  2 snd_hda_intel,snd_pcm
i2c_i801                7824  0
ohci1394               31792  0
iwl4965               174440  0
mac80211              120324  1 iwl4965
ehci_hcd               28812  0
tifm_7xx1               5760  0
tifm_core               7684  1 tifm_7xx1
uhci_hcd               22284  0
joydev                  8512  0
sr_mod                 13348  0
cdrom                  34336  1 sr_mod



after card is inserted

Code:

mmc_block               8836  2
tifm_sd                10888  0
mmc_core               24452  2 mmc_block,tifm_sd
i915                   22656  2
snd_pcm_oss            39200  0
snd_mixer_oss          14336  1 snd_pcm_oss
omnibook               41008  0
uinput                  7552  0
uvcvideo               42116  0
arc4                    2176  2
ecb                     3072  2
blkcipher               5380  1 ecb
cryptomgr               2816  0
crypto_algapi          11008  3 arc4,ecb,cryptomgr
snd_hda_intel         250136  1
snd_pcm                68740  2 snd_pcm_oss,snd_hda_intel
snd_timer              18948  1 snd_pcm
snd_page_alloc          8072  2 snd_hda_intel,snd_pcm
i2c_i801                7824  0
ohci1394               31792  0
iwl4965               174440  0
mac80211              120324  1 iwl4965
ehci_hcd               28812  0
tifm_7xx1               5760  0
tifm_core               7684  2 tifm_sd,tifm_7xx1
uhci_hcd               22284  0
joydev                  8512  0
sr_mod                 13348  0
cdrom                  34336  1 sr_mod


I found i can get it to see other cards again if i
modprobe -r mmc_block
modprobe -r tifm_sd
modprobe -r mmc_core

and then reinsert the card... the modules above will automatically reload... but why does it have to be like this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum