mounting SD card

I have an Acer travelmate 2490 (laptop) with SuseLinux 11.0 installed, but am experiencing some small problems.

The SD card in my SD card slot is not recognised again after I remove it (after unmount) and reinsert it. (OK after reboot). This problem has appeared recently, having been no problem about three weeks ago.

And, by the way, there is a similar problem with the wireless LAN. If I lose the signal to the access point, I cannot reactivate access to the WLAN without re-booting

Can anyone help ?
:slight_smile:
Spaceman

…and sometimes even on rebooting the card is not recognised… Is there more information I can provide? It is a nuisance having to reboot every time I insert an SD card!

>:(

…and the device mmcblkp0 disappears from /dev/ as soon as I remove the card and does not reappear on reinserting it.

What am I doing wrong ?

…and now with the latest patches for OpenSuse 11.1/KDE3.5 it is working at last. Don’t ask me how, and I am not sure how robust it is. But there were no suggestions from anyone and now it seems to have repaired itself…magic? I doubt it, it was nothing I did, for sure! :slight_smile:

I suggest we close this thread!

…turns out not to be as robust as I thought. I flirted for a moment with KDE 4.1, but did not know how to activate my own familiar desktop content there. I removed the SD card and replaced it. No reaction from the KDE 4.1 configuration. At next login I went back to my KDE 3.5. The SD card was in the slot but no longer mounted. Replacing it did not help, neither did a complete reboot. Back to square one :frowning:

With KDE 4.x,you don’t get notification by default (although there is a widget available), but the doplhin file manager should be able to see it. If you want to check that the device is recognised type these commands from console:

lsusb
fdisk -l (you’ll need to be root for this one)

If all is good here, try seeing (via dolphin of konqueror) what is mounted in /media.

You are absolutely right. (I don’t think it shows up, though, (or even should do) as a usb device with the lsusb command). I had overlooked the media message that a vfat device was mounted, which is displayed on opening dolphin.:shame:

Many thanks, you’re a genius ;)…now I will have to find out how to link my ‘old’ (KDE3) desktop contents with KDE4…

and now the phenomenon has returned…

I am running under 11.1/KDE3.5:
the SD card is mounted and accessible after booting. I then unmount, remove card, reinsert card, but the card does not appear again. Moreover, it is not present any longer under /media as it was before removing it.

Plug the device in and execute:

dmesg|tail

Type this as root user:

fdisk -l

Post output.

Do you see .hal-mtab and .hal-mtab-lock files in /media by any chance?

harvey@linux-zatr:~> dmesg | tail
input: Microsoft Bluetooth Notebook Mouse 5000 as /devices/pci0000:00.1/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:42/input8
wlan0: authenticate with AP 00:1f:3f:a4:90:0e
wlan0: authenticated
wlan0: associate with AP 00:1f:3f:a4:90:0e
wlan0: RX AssocResp from 00:1f:3f:a4:90:0e (capab=0x431 status=0 aid=
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
padlock: VIA PadLock not detected.
wlan0: no IPv6 routers present
mmc1: card 5304 removed

linux-zatr:/home/harvey # fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000283a4

Device Boot Start End Blocks Id System
/dev/sda1 1 126 1012063+ 82 Linux swap / Solaris
/dev/sda2 4866 9729 39070080 c W95 FAT32 (LBA)
/dev/sda3 * 127 4865 38066017+ f W95 Ext’d (LBA)
/dev/sda5 127 2022 15229588+ 83 Linux
/dev/sda6 2023 4865 22836366 83 Linux

Partition table entries are not in disk order

Both files are in /media, both empty

Cheers
hn

I’ve actually never used my SD card slot, but, I get this from my ‘lspci -k’ results:

14:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
Kernel driver in use: sdhci
Kernel modules: sdhci
14:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)

Do you have this driver loaded? If not, try

modprobe sdhci

then insert the card. Does it get mounted ok?

lspci -k gives:

06:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01)
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

Ok, so you’re using a slightly different driver (sdhci-pci). Try removing and reinstalling the module with

modprobe -r sdhci-pci
modprobe sdhci-pci

then reinsert card, and see if it mounts properly.

Not sure what else I can offer. (Mine works ok). Maybe it is a kernel issue that needs to be reported.

Nope. No luck there either!