Bug 217070

Summary: Module not loaded when an SD card is inserted to a TI FlashMedia slot
Product: [Fedora] Fedora Reporter: Daniel Qarras <dqarras>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7CC: hdegoede
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: udev-113-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-27 02:03:35 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Daniel Qarras 2006-11-23 12:39:06 EST
Description of problem:
2.6.19rc5-git2 includes a new driver for Texas Instruments FlashMedia driver,
tifm_7xx1.ko, tifm_core.ko, tifm_sd.ko. When inserting an SD card to a TI
FlashMedia card slot, the driver recognizes the card but after that nothing
happens, i.e., the card is not mounted and an icon presented on desktop under GNOME.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Use a 2.6.19 based kernel RPM
2. Insert an SD card to a TI FlashMedia card slot
3. See what happens
Actual results:
Only reaction on system just a line in dmesg:

Nov 21 23:27:22 localhost kernel: tifm_7xx1: sd card detected in socket 3

Expected results:
Card recognized and mounted making the file system accessible.

Additional info:
Manually I can mount the file system all ok but this should be handled by
udev/hal/else just as a CD is handled when inserted.
Comment 1 Daniel Qarras 2006-12-28 16:05:26 EST
Re-tested this with latest udev/kernel packages from rawhide and the problem
still exists. Versions were:


Please consider fixing, this affects to thousands of laptop users.
Comment 2 Harald Hoyer 2007-01-10 06:16:51 EST
Are all of the modules loaded by udev? If yes, then this bug should be assigned
to "hal"
Comment 3 Daniel Qarras 2007-01-10 17:02:58 EST
Indeed all modules have been loaded after a fresh boot of the machine, even
before a card is inserted.
Comment 4 Daniel Qarras 2007-01-10 17:03:52 EST
I'll move this from udev to hal as suggested by Harald.
Comment 5 Daniel Qarras 2007-01-19 10:50:12 EST
Ok, as expected, now this can been be reproduced with official FC6
kernel-2.6.19-1.2895.fc6. The modules are loaded after boot even if no card is
present but when a card is inserted nothing happens, see above. hal is at
version hal-
Comment 6 Daniel Qarras 2007-01-19 10:51:32 EST
Fixing the subject.
Comment 7 Daniel Qarras 2007-01-19 10:56:16 EST
This is related to Bugzilla Bug 218474: SD media card not mounted at

Comment 8 Daniel Qarras 2007-04-21 09:27:45 EDT
FWIW, Ubuntu 7.04 is working perfectly where both FC6/F7T3 fail.
Comment 9 Daniel Qarras 2007-04-29 07:45:05 EDT
This is still broken with Fedora 7 Test 4 (6.93) but works all ok with Ubuntu 7.04.
Comment 10 Daniel Qarras 2007-05-31 16:57:52 EDT
FWIW, this is still broken with Fedora 7 (but still works all ok with Ubuntu 7.04).
Comment 11 Hans de Goede 2007-06-10 07:34:55 EDT
Are you logged in as root or as normal user?
Comment 12 Daniel Qarras 2007-06-11 11:15:35 EDT
Usually as a normal user. I now tried as root but it still doesn't work.
Comment 13 Daniel Qarras 2007-06-21 09:29:11 EDT
It turned out that tifm_sd module was not loaded. When doing

modprobe tifm_sd

under GNOME an icon for the card appears on desktop and GNOME asks whether to
import photos. Based on Comment #2 I'll move this to udev.
Comment 14 Harald Hoyer 2007-06-26 08:44:31 EDT
tifm_sd cannot be autoloaded by udev, because it has no modaliases.
There have to be custom udev rules for this module or the kernel module should
be fixed.
Comment 15 Daniel Qarras 2007-06-27 01:42:14 EDT
I contacted the author of the module and got this reply:

The udev issue is different from HAL one. I was going to add modaliases
eventually (after memstick is ready), but in the meantime, a custom udev rule
will do (I thought ubuntu people had handled this already):

 RUN+="/sbin/modprobe tifm_sd"

Comment 16 Daniel Qarras 2007-06-27 01:55:36 EDT
I can now confirm that adding to the file /etc/udev/rules.d/50-udev.rules the
following just before the final rule fixes this issue:

 RUN+="/sbin/modprobe tifm_sd"

Comment 17 Harald Hoyer 2007-06-27 04:26:47 EDT
Thanks, will include in the next update.
Comment 18 Daniel Qarras 2007-06-27 14:29:04 EDT
A related or the same problem is reported at

Comment 19 Daniel Qarras 2007-08-25 10:01:58 EDT
With latest udev-113-11.fc7 this now works perfectly! After booting F7, I insert
an SD card and an icon appears on my desktop and all needed modules are loaded.

Thanks a lot!