[Latitude E6510] ricoh e822: SD card is unable to mount

Bug #730820 reported by Marc Legris
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Maverick
Fix Released
Medium
Herton R. Krzesinski
Natty
Fix Released
High
Unassigned

Bug Description

Inserting an sd card does not cause the card to be mounted automatically. Nothing is displayed to the use in regard to the sd card. Card works perfectly on multiple other machines.

Card: Kingston 2GB micro SD card (model SDC/2GB)

dmesg snip:
[ 8536.437530] mmc0: ADMA error
[ 8536.439580] mmc0: Got data interrupt 0x00100008 even though no data operation was in progress.
[ 8536.440741] mmc0: error -5 whilst initialising SD card

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1498 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x56960000 irq 47'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:111d76d5,1028040b,00100104 HDA:80862804,80860101,00100000'
   Controls : 22
   Simple ctrls : 11
Date: Mon Mar 7 13:29:24 2011
HibernationDevice: RESUME=UUID=5fb4d9d1-02a8-4ad6-9e81-6971e122d37a
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Lsusb:
 Bus 002 Device 003: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude E6510
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=a72f2ab3-fea2-4b13-ba07-1a50f37d9dde ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:

SourcePackage: linux
dmi.bios.date: 11/20/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 02K3Y4
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd11/20/2010:svnDellInc.:pnLatitudeE6510:pvr0001:rvnDellInc.:rn02K3Y4:rvrA02:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6510
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.

Revision history for this message
Marc Legris (maaarc-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :
Changed in linux (Ubuntu):
status: New → Confirmed
summary: - SD card is unable to mount
+ [Latitude E6510] SD card is unable to mount
Ara Pulido (ara)
Changed in linux (Ubuntu):
status: Confirmed → New
summary: - [Latitude E6510] SD card is unable to mount
+ [Latitude E6510] ricoh e8dd: SD card is unable to mount
summary: - [Latitude E6510] ricoh e8dd: SD card is unable to mount
+ [Latitude E6510] ricoh e822: SD card is unable to mount
Revision history for this message
Herton R. Krzesinski (herton) wrote :

Can you update to kernel 2.6.35-28.49 available in maverick-proposed updates and confirm/retest that it doesn't work?

Then please try the kernel at http://people.canonical.com/~herton/lp730820/ and see if it's fixed.

Changed in linux (Ubuntu):
status: New → Incomplete
assignee: nobody → Herton R. Krzesinski (herton)
Revision history for this message
Marc Legris (maaarc-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Before updating to the kernels, this workaround was able to mount the sd card:
1) Create file: /etc/modprobe.d/mmc_fix.conf
2) Add line to mmc_fix.conf: "options sdhci debug_quirks=0x40"
3) reboot

Updating to kernel 2.6.35-28.49 available in maverick-proposed updates does not work, however updating to the lp730820r1 kernel does allow a sd card to mount automatically.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
status: Triaged → In Progress
Revision history for this message
Herton R. Krzesinski (herton) wrote :

SRU JUSTIFICATION
==================

EFFECT
=======
MMC card reader 1180:e822 does not recognize SD/MMC/SDHC cards.

FIX
===
Patch adds RICOH pci id 0xe822 pointing to required specific quirks to make it work.

TESTING
========
This patch was tested and reported to work in this ticket.

Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Thanks Herton -- We're beginning to see these devices as well, I'll assist in getting this one verified.

tags: added: hwe-blocker
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed' to 'verification-done'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-maverick
Revision history for this message
Marc Legris (maaarc-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Updated the system to -proposed (2.6.35-28.50), sb card works normally.

tags: added: verification-done
removed: needs-upstream-testing verification-needed-maverick
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Does this need a natty task, or is the fix proposed for SRU already in 2.6.38?

Changed in linux (Ubuntu Maverick):
status: New → Fix Committed
Revision history for this message
Herton R. Krzesinski (herton) wrote :

Chris, the fix is already in 2.6.38.

Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Thanks Herton -- I ask because Bug #750592 was recently filed against natty (2.6.38-7.3)

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Hmm indeed bug 750592 has the same card reader. As the fix is on natty too, I think it's a new problem, or specific to the sd card being used (Kingston 2GB MicroSD Flash Card) that may be triggers a new bug.

Revision history for this message
Ara Pulido (ara) wrote :

Can we confirm that this is fixed in Natty?

Ara Pulido (ara)
Changed in linux (Ubuntu):
importance: Undecided → High
Changed in linux (Ubuntu Maverick):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.35-28.50

---------------
linux (2.6.35-28.50) maverick-proposed; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #734399

  [ Corentin Chary ]

  * SAUCE: (drop after 2.6.38) eeepc-wmi: reorder keymap
    - LP: #689393
  * SAUCE: (drop after 2.6.38) eeepc-wmi: add wlan key found on 1015P
    - LP: #689393

  [ Keng-Yu Lin ]

  * SAUCE: eeepc-wmi: set the touchpad toggle key code to F22
    - LP: #689393

  [ Tim Gardner ]

  * [Config] CONFIG_BOOT_PRINTK_DELAY=y
    - LP: #733191

  [ Upstream Kernel Changes ]

  * Revert "drm/radeon/bo: add some fallback placements for VRAM only
    objects."
    - LP: #652934
  * eeepc-wmi: add additional hotkeys
    - LP: #689393
  * xen: don't bother to stop other cpus on shutdown/reboot
    - LP: #727814
  * Yama: use thread group leader when creating match
    - LP: #729839
  * mmc: sdhci-pci: add ricoh e822 pci id with device specific quirks
    - LP: #730820
 -- Brad Figg <email address hidden> Sun, 13 Mar 2011 07:01:39 -0700

Changed in linux (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

Marc can you re-test with a different (not ricoh) SD card?

Changed in linux (Ubuntu Natty):
status: In Progress → Incomplete
Revision history for this message
Marc Legris (maaarc-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Issue confirmed resolved with latest natty packages.

Changed in linux (Ubuntu Maverick):
assignee: nobody → Herton R. Krzesinski (herton)
Changed in linux (Ubuntu Natty):
assignee: Herton R. Krzesinski (herton) → nobody
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Thanks Marc -- I think it's safe to mark the Natty task here Fix Released

Changed in linux (Ubuntu Natty):
status: Incomplete → Fix Released
Revision history for this message
Horst Schirmeier (horst) wrote :

This bug seems to have reappeared with Ubuntu 14.04 (linux-image-extra-3.13.0-34-generic 3.13.0-34.60). I have a Dell Latitude E6400 with "SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)" (1180:0822). The workaround in comment #3 fixes the problem. Please reopen.

Revision history for this message
Horst Schirmeier (horst) wrote :

Should I report a new bug, or should this one be reopened? The problem is definitely back again.

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.