SD card does not mount

SD card does not mount

I downloaded the newly released openSUSE 12.1-64 and
installed it on my laptop
computer model: ACER ASPIRE 8943G, 64 bit
Processor: Intel Core i7-720QM

The computer has an SD card slot to take up
the memory card from my camera. Unfortunately,
the card slot is not recognised by the computer.
When I insert the card, the same does not mount,
there is no pop-up info asking me what to do.

What can I do to make it working?
I have another laptop, 32 bit processor running
PCLinuxOS. There the card mounts and can easily
be read and written to.

Any good idea what I can do to get it working?
Maybe I shall have to use a facility like mkdev,
but I don’t know how to use it.
Egbert

Plug it in and observe the output from

dmesg |tail
sudo /sbin/fdisk -l

This will tell us if it correctly recognised.

You didn’t tell us what desktop you’re using, but both have notifiers.

Here is the output from the 2 commands:

egbert@linux-kmcx:~>
egbert@linux-kmcx:~>
egbert@linux-kmcx:~> dmesg | tail
[31732.701188] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[31732.701206] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[31732.701215] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[31732.701225] sdhci: Caps: 0x01fe32b2 | Caps_1: 0x00000000
[31732.701235] sdhci: Cmd: 0x00000102 | Max curr: 0x00000064
[31732.701243] sdhci: Host ctl2: 0x00000000
[31732.701253] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[31732.701256] sdhci: ===========================================
[31732.870497] mmc0: ADMA error
[31732.870553] mmc0: error -5 whilst initialising SD card
egbert@linux-kmcx:~>
egbert@linux-kmcx:~>
egbert@linux-kmcx:~> sudo /sbin/fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x093728c1

Device Boot Start End Blocks Id System
/dev/sda1 941425065 976029074 17302005 83 Linux
/dev/sda2 * 63 941425064 470712501 5 Extended
/dev/sda5 126 25189919 12594897 83 Linux
/dev/sda6 25189983 33367004 4088511 82 Linux swap / Solaris
/dev/sda7 98414253 941425064 421505406 83 Linux
/dev/sda8 70718193 98414189 13847998+ 83 Linux
/dev/sda9 33367068 70718129 18675531 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf74d1a05

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 976768064 488384001 83 Linux

Disk /dev/sdc: 500.1 GB, 500105740288 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976769024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002e78d

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 976768064 488384001 83 Linux
egbert@linux-kmcx:~> ^C
egbert@linux-kmcx:~>

The desktop that I am using is KDE.
Egbert

The dmseg results confirm that there is a problem, but its not clear to me whether this is due to the controller, or the type of card you’ve inserted (although you report that this card mounts ok in another machine).

To get a bit more info on this device, execute the following command in a terminal

/sbin/lspci -nnk

It might also be useful to compare what is reported by the other machine running PCLinux.

You may need to search/ file a bug report for this.

https://bugzilla.novell.com/index.cgi

Here is the output from /sbin/lspci -nnk:

linux-kmcx:/home/egbert # /sbin/lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d132] (rev 11)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
00:03.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express Root Port 1 [8086:d138] (rev 11)
Kernel driver in use: pcieport
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155] (rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156] (rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157] (rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158] (rev 11)
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150] (rev 11)
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: mei
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06)
Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06)
Kernel driver in use: pcieport
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: i801_smbus
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Broadway PRO [Mobility Radeon HD 5800 Series] [1002:68a1]
Subsystem: Acer Incorporated [ALI] Device [1025:038c]
Kernel driver in use: radeon
01:00.1 Audio device [0403]: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]
Subsystem: Acer Incorporated [ALI] Device [1025:038c]
Kernel driver in use: snd_hda_intel
02:00.0 Ethernet controller [0200]: Atheros Communications AR8151 v1.0 Gigabit Ethernet [1969:1073] (rev c0)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: atl1c
08:00.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Device [1217:10f7] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: firewire_ohci
08:00.1 SD Host controller [0805]: O2 Micro, Inc. Device [1217:8120] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: sdhci-pci
08:00.2 Mass storage controller [0180]: O2 Micro, Inc. Device [1217:8130] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
09:00.0 Network controller [0280]: Broadcom Corporation BCM43225 802.11b/g/n [14e4:4357] (rev 01)
Subsystem: Foxconn International, Inc. T77H103.00 Wireless Half-size Mini PCIe Card [105b:e021]
Kernel driver in use: brcmsmac
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers [8086:2c52] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2c81] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2c90] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
Kernel driver in use: i7core_edac
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2c91] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:03.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller [8086:2c98] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:03.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder [8086:2c99] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:03.4 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Test Registers [8086:2c9c] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:04.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers [8086:2ca0] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:04.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers [8086:2ca1] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:04.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers [8086:2ca2] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:04.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers [8086:2ca3] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:05.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers [8086:2ca8] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:05.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers [8086:2ca9] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:05.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers [8086:2caa] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
ff:05.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers [8086:2cab] (rev 04)
Subsystem: Intel Corporation Device [8086:8086]
linux-kmcx:/home/egbert #
linux-kmcx:/home/egbert #

I have also run the previous two commands on the PCLinux laptop, the outputs
are as follows:

bash-4.1$
bash-4.1$ dmesg | tail
padlock_aes: VIA PadLock not detected.
Intel AES-NI instructions are not detected.
wlan0: no IPv6 routers present
usbcore: registered new interface driver snd-usb-audio
tifm_core: MMC/SD card detected in socket 0:1
tifm0 : demand removing card from socket 0:1
tifm_core: MMC/SD card detected in socket 0:1
mmc1: new SD card at address 1234
mmcblk0: mmc1:1234 SD02G 1.90 GiB
mmcblk0: p1
bash-4.1$
bash-4.1$
bash-4.1$
bash-4.1$ /sbin/fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc0fac0fa

Device Boot Start End Blocks Id System
/dev/sda1 63 14024744 7012341 7 HPFS/NTFS
/dev/sda2 * 14024745 155782304 70878780 5 Extended
/dev/sda4 155782305 156296384 257040 88 Linux plaintext
/dev/sda5 14024808 28804544 7389868+ 83 Linux
/dev/sda6 28804608 32901119 2048256 82 Linux swap / Solaris
/dev/sda7 32901183 36997694 2048256 83 Linux
/dev/sda8 36997758 43150589 3076416 83 Linux
/dev/sda9 43150653 143830006 50339677 83 Linux
/dev/sda10 143830008 155782304 5976148+ 83 Linux

Disk /dev/mmcblk0: 2040 MB, 2040528896 bytes
29 heads, 28 sectors/track, 4908 cylinders, total 3985408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

    Device Boot      Start         End      Blocks   Id  System

/dev/mmcblk0p1 247 3985407 1992580+ 6 FAT16
[root@localhost egbert]#
[root@localhost egbert]#

Regards
Egbert

The relevant lspci output

08:00.1 SD Host controller [0805]: O2 Micro, Inc. Device [1217:8120] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:038b]
Kernel driver in use: sdhci-pci

It might also be useful to compare the kernel version running on each system.

These are interesting:

https://answers.launchpad.net/ubuntu/+source/linux/+question/155116

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/774385

Looks like a regression. You may want to check bugzilla as well:

https://bugzilla.novell.com/index.cgi

I have just filed a bug report, since I think it is a bug.
Before I downloaded openSUSE 12.1, I had version 11.4 installed
There was the same problem.
In the bug report I provided the URL to this page, so that the people
working on the problem have access to the testing already done.

How can I find the information about the kernel versions running on the
two systems?
Is there anything else, which I could do in order to help the bug hunters?

Egbert

How can I find the information about the kernel versions running on the
two systems?

Kernel version

uname -r

Is there anything else, which I could do in order to help the bug hunters?

Maybe the ‘dmesg|tail’ results from working and non-working systems, when a MMC or SD card is inserted.

Here the output from the laptop that does NOT recognize the SD card
Acer Aspire 8943G, Intel Core i7-720QM 64 bit
Operating system: openSUSE 12.1

egbert@linux-kmcx:~> dmesg | tail
[99157.738753] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[99157.738764] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[99157.738775] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[99157.738786] sdhci: Caps: 0x01fe32b2 | Caps_1: 0x00000000
[99157.738797] sdhci: Cmd: 0x00000102 | Max curr: 0x00000064
[99157.738806] sdhci: Host ctl2: 0x00000000
[99157.738825] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[99157.738828] sdhci: ===========================================
[99157.912455] mmc0: ADMA error
[99157.912509] mmc0: error -5 whilst initialising SD card
egbert@linux-kmcx:~>
egbert@linux-kmcx:~>

The linux version that runs here:3.1.0-1.2-desktop

Here the output from the laptop that recognizes the SD card:
Toshibe Satellite A100, 32 bit
Operating system: PCLinuxOS

bash-4.1$ dmesg | tail
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 4102
mmcblk0: error -123 sending status command
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 4103
Buffer I/O error on device mmcblk0, logical block 512
tifm_core: MMC/SD card detected in socket 0:1
mmc1: new SD card at address 1234
mmcblk0: mmc1:1234 SD02G 1.90 GiB
mmcblk0: p1
bash-4.1$

The linux version that runs here: 2.6.38.8-pclos1.bfs

The same card has been used for both tests.