Bug 752614 - SDCard not detected in O2 Micro Inc. Integrated MMC/SD Controller
Summary: SDCard not detected in O2 Micro Inc. Integrated MMC/SD Controller
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-10 00:04 UTC by Jean-Philippe GONZALEZ
Modified: 2012-03-20 22:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 23:13:09 UTC
Type: ---


Attachments (Terms of Use)
lsmod output (3.29 KB, text/plain)
2011-11-12 01:20 UTC, Jean-Philippe GONZALEZ
no flags Details
dmesg output (68.32 KB, text/plain)
2011-11-12 01:21 UTC, Jean-Philippe GONZALEZ
no flags Details

Description Jean-Philippe GONZALEZ 2011-11-10 00:04:07 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

I'm using flawlessly an integrated SD/MMC card reader since several releases of Fedora. The card reader is a part of a Dell Vostro 1510 laptop.

Since 2.6.40 kernel on Fedora 15, and with the latest 3.1 kernel on Fedora 16, the card reader is correctly detected with lspci, but nothing happens when a card is inserted on the reader.

Nothing is indicated with dmesg after inserting the card.

When I was on Fedora 15, a reboot of the system on an older kernel (2.6.38) gives a fully functionnal card reader.

Same behavior with another distro based on the kernel 3.0.


Reproducible: Always

Steps to Reproduce:
1. Boot the system with a recent kernel (>2.6.38)
2. Insert a SD/Card on the reader.



For more precisions, lspci gives :

[janfi@vostro ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
06:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
08:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

Comment 1 Josh Boyer 2011-11-11 14:11:58 UTC
Can you attach the dmesg output from the machine, as well as lsmod?  As far as I know, the sdhci_pci module should be loaded and binding to the device.

Comment 2 Jean-Philippe GONZALEZ 2011-11-12 01:20:23 UTC
Created attachment 533197 [details]
lsmod output

Comment 3 Jean-Philippe GONZALEZ 2011-11-12 01:21:12 UTC
Created attachment 533198 [details]
dmesg output

Comment 4 Jean-Philippe GONZALEZ 2011-11-12 01:23:20 UTC
Thanks for your interest.

Requested outputs are attached. The sdhci_pci module seems to be correctly loaded.

Comment 5 Ricardo Funke Ormieres 2011-11-18 14:12:20 UTC
Same for me, same notebook

Comment 6 trollofdarkness 2011-11-20 14:32:46 UTC
The same ! Same notebook and exactly same issue : nothing happens, even in dmesg output and in /var/log/messages, just nothing. But lspci displays the device and says :

        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci


So... wtf ?

Thanks in advance.

Comment 7 trollofdarkness 2011-11-20 14:42:55 UTC
It seems the issue is not FC16-specific but is related to the kernel, users on Gentoo reported to have same issue : http://forums.gentoo.org/viewtopic-t-878603-start-0.html

Comment 8 Jean-Philippe GONZALEZ 2011-11-20 15:13:36 UTC
Yes, I've tested with Ubuntu Oneiric, same problem.

I will test with the latest opensuse to check one more time, but I've no doubt that it is an upstream kernel regression.

Comment 9 trollofdarkness 2011-11-20 16:00:18 UTC
I found a thread on the kernel mailing list that is from February, 2011. They seemed to be working on a patch... But maybe it's been forgotten by the time.

Comment 10 Josh Boyer 2011-11-22 18:38:57 UTC
(In reply to comment #9)
> I found a thread on the kernel mailing list that is from February, 2011. They
> seemed to be working on a patch... But maybe it's been forgotten by the time.

Do you happen to have that link handy?

Comment 11 Jean-Philippe GONZALEZ 2011-11-26 00:12:20 UTC
I tested with the latest opensuse livecd, based on the 3.1.0. Same bug.
It is not a Fedora relative bug, it is an upstream regression.

Otherwise, I searched all over February on LKML, but I haven't found any trace of a thread about this bug.

What can I do now ?

Comment 12 trollofdarkness 2011-11-26 12:12:21 UTC
Hello,

Maybe I am not right but I think this thread is about the same thing : https://lkml.org/lkml/2011/2/6/144

I also found another thread dealing with sdhci : http://www.gossamer-threads.com/lists/linux/kernel/1336235


Hope this will help.

Comment 13 Josh Boyer 2012-02-29 18:18:13 UTC
Do you still have this issue with the 3.2.7 or newer kernels?

Comment 14 Ricardo Funke Ormieres 2012-03-01 16:07:43 UTC
I will test it and answer you... sorry can't answer right now

Comment 15 Jean-Philippe GONZALEZ 2012-03-02 22:44:31 UTC
Bug seems to be solved since several releases.

Everything is OK with the latest 3.2.7-1.fc16.x86_64 kernel.

Comment 16 Josh Boyer 2012-03-02 23:13:09 UTC
Thank you Jean-Philippe

Comment 17 trollofdarkness 2012-03-03 15:04:38 UTC
Hello,

As to myself, SD Card Reader still does not work.

The only thing that seems to have changed in that now dmesg displays a message when I put a card in the reader : 

[ 8362.149881] mmc0: error -110 whilst initialising SD card
[ 8362.257267] mmc0: error -110 whilst initialising SD card

My kernel is 3.1.8-2 under Fedora 16 64 bits.

Comment 18 Jean-Philippe GONZALEZ 2012-03-06 00:25:52 UTC
Hi,

Did you tried to update your kernel ?

Yours is not up to date. It works since recent release (at least 3.2.x but I'm not sure).

Comment 19 Ricardo Funke Ormieres 2012-03-20 22:14:23 UTC
Ok, tested! Now is working fine for me.

Kernel version: 3.2.11

Thank you.


Note You need to log in before you can comment on or make changes to this bug.