Ricoh SD controller (1180:e822) not working: unknown version

Bug #603445 reported by Andrea Ratto
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Also tested on Maverick alpha 2. The laptop is a Dell E5410.

This SD reader does not work. Upon insertion of a SD card this shows in dmesg:
[ 3466.345329] mmc0: Unexpected interrupt 0x02000000.
[ 3466.345335] sdhci: ============== REGISTER DUMP ==============
[ 3466.345343] sdhci: Sys addr: 0x00000000 | Version: 0x00000402
[ 3466.345350] sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3466.345357] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3466.345364] sdhci: Present: 0x01ff0202 | Host ctl: 0x00000011
[ 3466.345371] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 3466.345378] sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
[ 3466.345385] sdhci: Timeout: 0x0000000a | Int stat: 0x02008000
[ 3466.345392] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[ 3466.345399] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 3466.345406] sdhci: Caps: 0x21e832b2 | Max curr: 0x00000040
[ 3466.345413] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x369dd8d8
[ 3466.345415] sdhci: ===========================================
[ 3466.345443] mmc0: Unexpected interrupt 0x02000000.
[ 3466.345448] sdhci: ============== REGISTER DUMP ==============
[ 3466.345455] sdhci: Sys addr: 0x00000000 | Version: 0x00000402
[ 3466.345462] sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3466.345469] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3466.345475] sdhci: Present: 0x01ff0202 | Host ctl: 0x00000011
[ 3466.345482] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 3466.345490] sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
[ 3466.345496] sdhci: Timeout: 0x0000000a | Int stat: 0x02008008
[ 3466.345503] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[ 3466.345510] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 3466.345517] sdhci: Caps: 0x21e832b2 | Max curr: 0x00000040
[ 3466.345524] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x369dd9a4
[ 3466.345527] sdhci: ===========================================
[ 3466.345556] mmc0: Unexpected interrupt 0x02000000.
[ 3466.345560] sdhci: ============== REGISTER DUMP ==============
[ 3466.345566] sdhci: Sys addr: 0x00000000 | Version: 0x00000402
[ 3466.345572] sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3466.345579] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3466.345586] sdhci: Present: 0x01ff0202 | Host ctl: 0x00000011
[ 3466.345593] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 3466.345600] sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
[ 3466.345607] sdhci: Timeout: 0x0000000a | Int stat: 0x02008008
[ 3466.345613] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[ 3466.345620] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 3466.345627] sdhci: Caps: 0x21e832b2 | Max curr: 0x00000040
[ 3466.345633] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x369dda6c
[ 3466.345636] sdhci: ===========================================
[ 3466.345708] mmc0: Unexpected interrupt 0x02000000.
[ 3466.345713] sdhci: ============== REGISTER DUMP ==============
[ 3466.345720] sdhci: Sys addr: 0x00000000 | Version: 0x00000402
[ 3466.345727] sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3466.345734] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3466.345740] sdhci: Present: 0x01ff0202 | Host ctl: 0x00000011
[ 3466.345747] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 3466.345754] sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
[ 3466.345761] sdhci: Timeout: 0x0000000a | Int stat: 0x02008000
[ 3466.345768] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[ 3466.345775] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 3466.345782] sdhci: Caps: 0x21e832b2 | Max curr: 0x00000040
[ 3466.345789] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x0028d5a7
[ 3466.345791] sdhci: ===========================================
[ 3466.345871] mmc0: Unexpected interrupt 0x02000000.
[ 3466.345874] sdhci: ============== REGISTER DUMP ==============
[ 3466.345881] sdhci: Sys addr: 0x00000000 | Version: 0x00000402
[ 3466.345888] sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3466.345895] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3466.345901] sdhci: Present: 0x01ff0202 | Host ctl: 0x00000011
[ 3466.345908] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 3466.345914] sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
[ 3466.345920] sdhci: Timeout: 0x0000000a | Int stat: 0x02008008
[ 3466.345926] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[ 3466.345933] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 3466.345939] sdhci: Caps: 0x21e832b2 | Max curr: 0x00000040
[ 3466.345946] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xc683c189
[ 3466.345949] sdhci: ===========================================

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-23-generic 2.6.32-23.37
Regression: No
Reproducible: No
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
AlsaVersion:
 Advanced Linux Sound Architecture Driver Version 1.0.23.
 Compiled on Jun 14 2010 for kernel 2.6.32-23-generic (SMP).
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: andrea 1618 F.... pulseaudio
CRDA: Error: [Errno 2] Nessun file o directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x97d40000 irq 37'
   Mixer name : 'Intel G45 DEVIBX'
   Components : 'HDA:111d7605,10280429,00100104 HDA:80862804,80860101,00100000'
   Controls : 26
   Simple ctrls : 14
Date: Fri Jul 9 07:16:56 2010
Frequency: Once a day.
HibernationDevice: RESUME=UUID=d40fe340-a7ea-499b-9ddd-f2a654ac9f8b
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Dell Inc. Latitude E5410
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-23-generic root=UUID=9975ed0a-f0c3-44d0-a64c-68507dd4da5f ro i8042.nomux=1 quiet splash
ProcEnviron:
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
SourcePackage: linux
dmi.bios.date: 06/02/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 058T0R
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd06/02/2010:svnDellInc.:pnLatitudeE5410:pvr0001:rvnDellInc.:rn058T0R:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E5410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.

Revision history for this message
Andrea Ratto (andrearatto) wrote :
Revision history for this message
Corona (stefaniefauconnier) wrote :

I can confirm the same bug for a Dell Latitude e6510. The dmesg output is exactly the same. Is anybody following up on this?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Andrea,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Corona (stefaniefauconnier) wrote :

I own the same laptop with the same card reader and I can confirm that the same issue is present with kernel 2.6.35-7. Which other kernels need to be tested?

Revision history for this message
CyberCastle (cybercastle) wrote :
Revision history for this message
Corona (stefaniefauconnier) wrote :

Does anyone know if this patch can be applied to kernels 2.6.35 and if it is going to be included in one of the following ubuntu kernels for Maverick?

Revision history for this message
Corona (stefaniefauconnier) wrote :

BTW, thanks for the patch, CyberCastle!

Revision history for this message
Corona (stefaniefauconnier) wrote :

I can confirm that CyberCastle's patches work, I hope they will land in Maverick.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
bruno pennec (bruno-pennec) wrote :

Same problem for me, but 2.6.36-RC2 in ppa resolves the SDHC bug on ricoh reader.

Revision history for this message
Tomás Gutiérrez (tomas-gutierrez) wrote :

Sorry for the ignorance, but can someone please explain to me how to apply the patch to an 10.04 system (Dell E5410).

Thanks in advance!

Revision history for this message
Brian (x-brian) wrote :

Maverick 2.6.36-RC8 fixed this for me on my Dell E6410 64-bit:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc8-maverick/

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

A kernel (2.6.35-28.49) is in maverick-proposed now which should fix the problem for some ricoh card readers, but not for 1180:e822, please install it and check if it's fixed and report here please.

For ricoh card readers with id 1180:e822, please install kernel at http://people.canonical.com/~herton/lp730820/ and check if the problem is fixed with it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ballock (ballock) wrote :

I have tested 1180:e822 with maverick-proposed kernel and it works.

Is this going to be backported to Lucid?

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

@Boleslaw - a backport to lucid requires a bit more of work, there is more patches to be applied for 2.6.32, also it will need a tester to validaded the backport once the kernel reaches proposed updates. May be for lucid users affected is better to just use linux-lts-backport packages from kernel-ppa (https://launchpad.net/~kernel-ppa/+archive/ppa).

Revision history for this message
mangelasakis (mangelasakis) wrote :

I have a sony vaio laptop which has card reader with the code 1180: e822 and 1180: e230 is not working. I have ubuntu 11.04 amd64 and I've done all the updates. There is no solution;

Revision history for this message
mangelasakis (mangelasakis) wrote :

this problem still exist on ubuntu 12.04 amd64.

penalvch (penalvch)
tags: added: maverick
Revision history for this message
penalvch (penalvch) wrote :

Andrea Ratto, thank you for reporting this and helping make Ubuntu better. 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? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

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

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

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Eshwar Andhavarapu (eshwar.andhavarapu) wrote :

The card worked just fine for me until I installed Precise. Then it shows up in lspci but no errors really in dmesg. But in disk utility it doesn't show up and it doesn't mount obviously.

Revision history for this message
penalvch (penalvch) wrote :

Eshwar Andhavarapu, please execute the following at the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
Anton (feenstra) wrote :

As Eshwar writes, running 12.04 (precise), inserting an SD card gives exactly no response. No desktop icon, nothing mounts.
Also, I see no activity in /var/log upon inserting.
The device *does* show up on the PCI bus:
86:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 25)
I'm running the ubuntu-bug linux as indicated in #19 now.

Revision history for this message
penalvch (penalvch) wrote :

Anton, please execute the following at the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
madbiologist (me-again) wrote :

This bug was fixed as noted above, but the Ricoh 1180:e822 has another bug which was fixed in the 3.8 kernel - see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=812089e01b9f65f90fc8fc670d8cce72a0e01fbb

Ubuntu 14.04 "Trusty Tahr" is based on the 3.13 kernel.

Changed in linux (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
penalvch (penalvch)
no longer affects: linux (Fedora)
no longer affects: linux (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
affects: linux → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.