SD photo card no longer automounts

Bug #55539 reported by none
This bug report is a duplicate of:  Bug #30335: mmc subsystem needs MODALIAS love. Edit Remove
2
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Undecided
Scott James Remnant (Canonical)

Bug Description

I'm running Edgy on AMD64 and since a few weeks ago, my SD card no longer automounts. However, I can still mount it manually and read the files on the card.

Running "gnome-volume-manager --no-daemon" and inserting the card into the card reader on my laptop shows

manager.c/3657: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2814: Device added: /org/freedesktop/Hal/devices/pci_104c_8034_mmc_host_mmc_host_mmc_host_mmc_card_rca43356

Revision history for this message
Karianne Fog Heen (simira) wrote :

Edgy Knot 1 on Compaq nc8230

Doesn't automount here either, and I cannot mount it manually. It does not appear in /dev at all. On running the same command, I get "** (gnome-volume-manager:5358): WARNING **: manager.c/3756: already running".

Changed in gnome-volume-manager:
status: Unconfirmed → Confirmed
assignee: nobody → pitti
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

"ls /dev/mmc*" after inserting the card doesn't print anything? What about "lspci -n |grep 0805" ? If the latter command doesn't show anything, the SDHCI driver for the card reader won't work with your hardware.

The "already running" error that you got is because g-v-m is already running in the background. Try doing "killall gnome-volume-manager" first.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

Just tried downgrading to the g-v-m from Dapper and it still doesn't work, so the problem is probably elsewhere. Maybe hal or udev.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

Upgrading to the very latest udev fixed the problem for me. Closing bug.

Changed in gnome-volume-manager:
status: Confirmed → Fix Released
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

After switching to the 2.6.17-7 kernel, the card has stopped automounting again, but otherwise works fine. I think this is because this kernel uses the tifm21 driver, instead of the sdhci driver, which makes udev not recognize the card.

Reopening and reassigning to udev.

Changed in gnome-volume-manager:
assignee: pitti → keybuk
status: Fix Released → Unconfirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Please run "sudo udevmonitor -e" and then plug in the SD photo card.

(Note this is almost certainly not a udev bug, but maybe a kernel bug)

Also where did you get the "tifm21 driver" ? That's not shipped with our kernels. Can you run "modinfo tifm21" for me

Changed in udev:
status: Unconfirmed → Needs Info
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

Sorry, the modules are named tifm_core and tifm_sd, they're included in the standard Ubuntu kernel. The output from udevmonitor when plugging in the card is included below.

# udevmonitor -e
udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1158634790.909938] add@/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
SUBSYSTEM=mmc
SEQNUM=2510
PHYSDEVBUS=mmc
MMC_CCC=101011111000
MMC_MANFID=000003
MMC_NAME=SD256
MMC_OEMID=5344

UEVENT[1158634790.915988] add@/block/mmcblk0
ACTION=add
DEVPATH=/block/mmcblk0
SUBSYSTEM=block
SEQNUM=2511
MINOR=0
MAJOR=254
PHYSDEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
PHYSDEVBUS=mmc
PHYSDEVDRIVER=mmcblk

UEVENT[1158634790.916323] add@/block/mmcblk0/mmcblk0p1
ACTION=add
DEVPATH=/block/mmcblk0/mmcblk0p1
SUBSYSTEM=block
SEQNUM=2512
MINOR=1
MAJOR=254
PHYSDEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
PHYSDEVBUS=mmc
PHYSDEVDRIVER=mmcblk

UDEV [1158634791.012254] add@/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
SUBSYSTEM=mmc
SEQNUM=2510
PHYSDEVBUS=mmc
MMC_CCC=101011111000
MMC_MANFID=000003
MMC_NAME=SD256
MMC_OEMID=5344
UDEVD_EVENT=1

UDEV [1158634791.232964] add@/block/mmcblk0
UDEV_LOG=3
ACTION=add
DEVPATH=/block/mmcblk0
SUBSYSTEM=block
SEQNUM=2511
MINOR=0
MAJOR=254
PHYSDEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
PHYSDEVBUS=mmc
PHYSDEVDRIVER=mmcblk
UDEVD_EVENT=1
DEVNAME=/dev/mmcblk0

UDEV [1158634791.423695] add@/block/mmcblk0/mmcblk0p1
UDEV_LOG=3
ACTION=add
DEVPATH=/block/mmcblk0/mmcblk0p1
SUBSYSTEM=block
SEQNUM=2512
MINOR=1
MAJOR=254
PHYSDEVPATH=/devices/pci0000:00/0000:00:14.4/0000:02:04.4/mmc2:a95c
PHYSDEVBUS=mmc
PHYSDEVDRIVER=mmcblk
UDEVD_EVENT=1
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT16
ID_FS_UUID=
ID_FS_LABEL=KODAK
ID_FS_LABEL_SAFE=KODAK
DEVNAME=/dev/mmcblk0p1
DEVLINKS=/dev/disk/by-label/KODAK

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

Card automounting works in Edgy release. Closing bug.

Changed in udev:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.