Bug 13434 - SD reader does not read MMC cards on Thinkpad T400
Summary: SD reader does not read MMC cards on Thinkpad T400
Status: CLOSED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: MMC/SD (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_mmc-sd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 10:25 UTC by Mikhail Gusarov
Modified: 2012-06-08 11:32 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.30-rc7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci -vvvnnn (28.02 KB, text/plain)
2009-06-03 10:25 UTC, Mikhail Gusarov
Details
dmesg (62.97 KB, text/plain)
2009-06-03 10:26 UTC, Mikhail Gusarov
Details
lsmod (4.48 KB, text/plain)
2009-06-03 10:26 UTC, Mikhail Gusarov
Details
dmesg with MMC_DEBUG enabled (122.73 KB, text/plain)
2009-06-07 14:11 UTC, Mikhail Gusarov
Details

Description Mikhail Gusarov 2009-06-03 10:25:45 UTC
Created attachment 21727 [details]
lspci -vvvnnn

Hardware: Thinkpad T400, internal cardreader (Ricoh R5C832/R5C822/R5C843)
Distro: Debian testing/unstable/experimental.
lsmod, lspci & dmesg: in attachments.

Card reader of T400 does not detect MMC cards with the following message in dmesg:

[   80.914656] mmc0: error -110 whilst initialising MMC card

Sometimes this message does not appear at all, and card is not detected too.

I've figured out that MMC cards are served by the SD controller, and it is activated by the mmc_block module, which is loaded.
Comment 1 Mikhail Gusarov 2009-06-03 10:26:01 UTC
Created attachment 21728 [details]
dmesg
Comment 2 Mikhail Gusarov 2009-06-03 10:26:18 UTC
Created attachment 21729 [details]
lsmod
Comment 3 Pierre Ossman 2009-06-03 11:45:17 UTC
I'm going to need a dmesg dump with MMC_DEBUG enabled in the kernel build.

I take it you've never been able to get MMC cards to work on this machine? And you've tested several different MMC cards?
Comment 4 Mikhail Gusarov 2009-06-03 12:09:10 UTC
I've tested two different cards, both are working in external card reader.

The behaviour is consistent from .26 (did not try earlier kernels) and up to .30-rc7

Will provide dmesg in a few days.
Comment 5 Pierre Ossman 2009-06-03 15:12:38 UTC
Do you still have Windows on the machine, and if so, do the cards work there?
Comment 6 Mikhail Gusarov 2009-06-03 15:15:11 UTC
No, I don't. Though I still have OEM license, so I'll try it a bit later.
Comment 7 Mikhail Gusarov 2009-06-07 14:11:13 UTC
Created attachment 21790 [details]
dmesg with MMC_DEBUG enabled

Here's dmesg with MMC_DEBUG enabled.

269-287s - SD card inserted, to check whether it works with new kernel. It does.

299s and later - inserting/removing MMC cards.
Comment 8 Mikhail Gusarov 2009-06-07 14:13:51 UTC
Note that at 310th second there's sign of MMC card being detected properly. Now I remember MMC card did work properly one or two times before.

Do I still need to check with Windowoze in this case?
Comment 9 Mikhail Gusarov 2009-09-12 11:16:53 UTC
*ping*

Any further information is needed?
Comment 10 Konstantin Filtschew 2009-09-19 21:46:49 UTC
I've tested the MMC on Windows Vista and it works fine. On Linux it doesn't work and do the same as on Mikhail's System.

I have a Lenovo Thinkpad T500 running Ubuntu 9.04 stable x86_64.

lspci says:
 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)

$ uname -a
Linux thinkx 2.6.30-02063005-generic #02063005 SMP Mon Aug 17 09:46:11 UTC 2009 x86_64 GNU/Linux

Tell me how I can help you to solve this issue?
Comment 11 Pierre Ossman 2010-03-16 20:37:31 UTC
Resetting bug back to original owner as I'm no longer looking after this.
Comment 12 Alan 2012-06-08 11:32:54 UTC
Closing as obsolete, if this is seen with a modern kernel please re-open and update the kernel version

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