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): udev-095-14 How reproducible: Always. 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.
Re-tested this with latest udev/kernel packages from rawhide and the problem still exists. Versions were: udev-103-3 kernel-2.6.19-1.2891.fc7 Please consider fixing, this affects to thousands of laptop users.
Are all of the modules loaded by udev? If yes, then this bug should be assigned to "hal"
Indeed all modules have been loaded after a fresh boot of the machine, even before a card is inserted.
I'll move this from udev to hal as suggested by Harald.
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-0.5.8.1-6.fc6.
Fixing the subject.
This is related to Bugzilla Bug 218474: SD media card not mounted at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218474
FWIW, Ubuntu 7.04 is working perfectly where both FC6/F7T3 fail.
This is still broken with Fedora 7 Test 4 (6.93) but works all ok with Ubuntu 7.04.
FWIW, this is still broken with Fedora 7 (but still works all ok with Ubuntu 7.04).
Are you logged in as root or as normal user?
Usually as a normal user. I now tried as root but it still doesn't work.
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.
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.
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): SUBSYSTEM=="tifm", ACTION=="add", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/sbin/modprobe tifm_sd"
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: SUBSYSTEM=="tifm", ACTION=="add", ENV{TIFM_CARD_TYPE}=="SD", \ RUN+="/sbin/modprobe tifm_sd" Thanks.
Thanks, will include in the next update.
A related or the same problem is reported at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232370
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!