sd cards not recognised on Thinkpad X61 and Motion Computing LE1700 (Ricoh)

Bug #149238 reported by paultbeck
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

SD card insertion produces errors in dmesg and is not mounted on x61 running Gutsy Tribe 5.

dmesg:
[ 5232.780000] mmcblk0: mmc0:b368 SD 975360KiB
[ 5232.780000] mmcblk0:<3>mmcblk0: error 1 transferring data
[ 5232.784000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.784000] Buffer I/O error on device mmcblk0, logical block 0
[ 5232.788000] mmcblk0: error 1 transferring data
[ 5232.788000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.788000] Buffer I/O error on device mmcblk0, logical block 0
[ 5232.792000] mmcblk0: error 1 transferring data
[ 5232.792000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.792000] Buffer I/O error on device mmcblk0, logical block 0
[ 5232.796000] mmcblk0: error 1 transferring data
[ 5232.796000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.796000] Buffer I/O error on device mmcblk0, logical block 0
[ 5232.800000] mmcblk0: error 1 transferring data
[ 5232.800000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.800000] Buffer I/O error on device mmcblk0, logical block 0
[ 5232.800000] ldm_validate_partition_table(): Disk read failed.
[ 5232.804000] mmcblk0: error 1 transferring data
[ 5232.804000] end_request: I/O error, dev mmcblk0, sector 0
[ 5232.804000] Buffer I/O error on device mmcblk0, logical block 0

etc..

and lspci:
05:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
05:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
05:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)

if i can offer any more information i would be glad to!

Revision history for this message
paultbeck (paultbeck) wrote :

tifm_sd is already in /etc/modules

Revision history for this message
Paul Holcomb (noptys) wrote :

I have the same problem on a Motion Computing LE1700

$ dmesg
[1918597.373734] mmcblk0: mmc0:e624 SD128 123008KiB (ro)
[1918597.491229] Buffer I/O error on device mmcblk0, logical block 30736
[1918597.491379] Buffer I/O error on device mmcblk0, logical block 30736
[1918597.491486] Buffer I/O error on device mmcblk0, logical block 30750
[1918597.491586] Buffer I/O error on device mmcblk0, logical block 30750
[1918597.491699] Buffer I/O error on device mmcblk0, logical block 0
[1918597.491795] Buffer I/O error on device mmcblk0, logical block 0
[1918597.491893] Buffer I/O error on device mmcblk0, logical block 0
[1918597.491994] Buffer I/O error on device mmcblk0, logical block 30751
[1918597.492101] Buffer I/O error on device mmcblk0, logical block 30751
[1918597.492204] Buffer I/O error on device mmcblk0, logical block 30751

$ lspci |grep Ricoh
08:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
08:04.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
08:04.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller

The SD card works everywhere else, and multiple different cards fail

Revision history for this message
Paul Holcomb (noptys) wrote :

not a dupe of bug 123549

Fails regardless of size of card. My main test card is a 128MB

Revision history for this message
Paul Holcomb (noptys) wrote :

$ uname -a
Linux legba 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Guys,

Thank you for your report and comments. I believe a fix for this issue might be in the Hardy Heron kernel (linux=2.6.24-1.1) that was just uploaded for testing:

https://launchpad.net/ubuntu/+source/linux

The fix that I think may resolve this issue is outlined in the following comment:

ogasawara@yoji:~/ubuntu-hardy$ git log drivers/mmc/host/ricoh_mmc.c
commit 5ae70296c85f96a9969891d9de3410ebdf210b71
Author: Philip Langdale <email address hidden>
Date: Sat Sep 15 12:54:08 2007 -0700

    mmc: Disabler for Ricoh MMC controller

    Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the
    MMC controller on the multi-function Ricoh R5C832. The MMC controller needs
    to be disabled or it will steal MMC cards from the SD controller where they
    would otherwise be supported by the Linux SDHCI driver.

    Signed-off-by: Philipl Langdale <email address hidden>
    Signed-off-by: Pierre Ossman <email address hidden>

If you guys wouldn't mind, would you please try installing and running the 2.6.24-1.1 kernel and verify if this issue still exists? Please report back your results. Thanks so much!

Changed in linux-source-2.6.22:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I opened a new task against the actively developed kernel. I forgot to mention that unfortunately, the Hardy Heron Alpha1 LiveCD was released with the older 2.6.22 kernel. You'll have to manually install the newer Hardy Heron kernel in order to test. This should not be the case for Alpha2. However, here are the instructions to install (if you choose to do so):

1) edit the file /etc/apt/sources.list and add the following line:

deb http://archive.ubuntu.com/ubuntu hardy main restricted

2) sudo apt-get update
3) sudo apt-get install linux-image-2.6.24-1-generic
4) reboot and select the new kernel from the grub menu

After you've tested, please feel free to revert back - ie boot into the old kernel, sudo apt-get remove linux-image-2.6.24-1-generic, and remove the line from /etc/apt/sources.list . Please update this report with your results. Thanks in advance!

Changed in linux:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Also, Just a note that I'm closing this report against linux-source-2.6.22 as it does not meet the criteria for a stable release update. You can learn more about the stable release update process at https://wiki.ubuntu.com/StableReleaseUpdates . Thanks!

Changed in linux-source-2.6.22:
status: Incomplete → Won't Fix
Revision history for this message
paultbeck (paultbeck) wrote :

Hi Leann,

I tested with the new kernel and it did not read the card that it did not read before, but I've realized that my other card (both 1 Gb) is actually readable by both the new kernel and the old.

I don't know where this leaves me in terms of the original bug, I want to say that it is not a problem with the kernel for me in actuality but a weird card. I need to test it with others.

Thanks

Revision history for this message
Hans Deragon (deragon) wrote :

Is this a duplicate of Bug #213588 (or vice-versa)? The other is in "triaged".

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Pablo Estigarribia (pablodav) wrote :

I'll test it, I have exactly same problem.....

I'll let you know...

Thanks.

Revision history for this message
TomasHnyk (sup) wrote :

Based on the output of lspci, I think this is a duplicate of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/202490
If your SD cards are working and other are not, it is a duplicate. If even SD cards are not working, plese unduplicate this.

Revision history for this message
Pablo Estigarribia (pablodav) wrote :

I made many many test after upgrade to Interpid, I have no problems to work with SSD card on Interpid!!

Seems to be ok with kernel 2.6.27

Revision history for this message
penalvch (penalvch) wrote :

paultbeck, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the mainline kernels archive directory daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.7-rc1-quantal

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Please let us know your results. Thank you for your understanding.

Helpful bug reporting tips:
https://help.ubuntu.com/community/ReportingBugs

tags: added: needs-kernel-logs needs-upstream-testing
no longer affects: linux-source-2.6.22 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Aleksei (tav-susp) wrote :

this problem is reproduced at my lenovo t420s, ubuntu 12.04
Aug 1 23:53:20 atatarnikov-lt kernel: [43052.085501] mmc0: new SD card at address b368
Aug 1 23:53:20 atatarnikov-lt kernel: [43052.125506] mmcblk0: mmc0:b368 SD02G 1.78 GiB
Aug 1 23:53:20 atatarnikov-lt kernel: [43052.127424] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
Aug 1 23:53:20 atatarnikov-lt kernel: [43052.127440] mmcblk0: retrying using single block read

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Aleksei, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.