Comment 95 for bug 82680

Revision history for this message
Frantisek Vacek (w4tch0) wrote :

I "installed" the new upstream tifm drivers http://prdownload.berlios.de/tifmxx/tifm-0.8b.tar.bz2 (added the proper entries to /etc/modules and modprobed in the new modules...) but my card reader still was not working properly. dmesg showed the card insert is being properly detected by the driver but the card did not get mounted after insert. So i gave up for a while on the problem.

Then ones i was booting my laptop i noticed that at one point the boot log says (i have the "quiet" kernel option removed so i see the boot messages):
Mounting local file systems ..... FAIL

Further research showed that it attempts to mount /dev/mmcblk0 to /media/mmcblk0 on every boot, which isn't right since the card isn't always present. So i commented out the following line in /etc/fstab file:
 /dev/mmcblk0 /media/mmcblk0 vfat defaults,utf8,umask=007,gid=46 0 1
on next laptop boot the boot log error is gone (of course) and my card reader now properly mounts my MMC card if i insert it and i even get the "icon on the desktop" :D ... I only tested MMC card since i don't have any SD ones :P

I used a script for installing the new tifm driver posted in this howto thread:
http://ubuntuforums.org/showpost.php?p=2520594&postcount=1

Inserting card while booted and logged in now works properly for me.
Cold start with card inserted also mounts the card properly.
Reboot with card inserted works as well.

And i am running 32bit Ubuntu 7.04 Feisty Fawn with a 2.6.20-16 kernel on an HP nx6125 laptop with a 5in1 built in card reader.