Ricoh SD card reader does not work, loading mmc_block and inserting makes kernel go BOOM

Bug #88992 reported by Daniel Holbach
92
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Hardy
Fix Released
Undecided
Unassigned
Intrepid
Fix Released
High
Unassigned
linux-source-2.6.20 (Ubuntu)
Invalid
Medium
Unassigned
Hardy
Invalid
Undecided
Unassigned
Intrepid
Invalid
Medium
Unassigned
linux-source-2.6.22 (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
Intrepid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

02:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)
        Subsystem: IBM Thinkpad X40
        Flags: bus master, medium devsel, latency 64, IRQ 17
        Memory at d0221000 (32-bit, non-prefetchable) [size=256]

The device does not work, modprobing mmc_block and inserting an MMC card makes the kernel crash. This is a regression from Edgy.

Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in linux-source-2.6.20:
importance: Undecided → Medium
Revision history for this message
Daniel Holbach (dholbach) wrote :

Linux lovegood 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in linux-source-2.6.20:
assignee: nobody → phillip-lougher
status: Unconfirmed → In Progress
Revision history for this message
Daniel Holbach (dholbach) wrote :

2.6.20-10-generic is somewhat of an improvement: it does not crash any more, but does not make the SD card reader work either.

Revision history for this message
Darren Albers (dalbers) wrote :

I think I am having a similar issue, attached is a segment of my /var/log/messages when I inserted the card.

The card is a Texas Instruments.

Revision history for this message
Markus (markus-schmaus) wrote :

I have a thinkpad X40, too. The card reader used to work with edgy, but now it doesn't work anymore. So this is a regression.

Revision history for this message
Markus (markus-schmaus) wrote :

I just rebooted my laptop after some upgrades and now everything is working again. Whoever fixed this, Thank You.

Changed in linux-source-2.6.20:
assignee: phillip-lougher → ubuntu-kernel-team
status: In Progress → Confirmed
Revision history for this message
professordes (d-a-johnston) wrote :

My IBM X40 doesn't see anything when an SD card is inserted with the release 2.6.20-15 Feisty kernel
(but doesn't crash)

lspci ->02:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)
lsmod ->sdhci
              mmc_core

tail /var/log/messages -> nothing shows up...

Revision history for this message
Patrik Wallström (pawal) wrote :

Using 2.6.20-15-generic on my Thinkpad X40 the SD card reader works the first time I use it. The following times it gives me this error:

[303662.876000] mmc0: Got data interrupt even though no data operation was in progress.
[303662.876000] sdhci: ============== REGISTER DUMP ==============
[303662.876000] sdhci: Sys addr: 0x365ab000 | Version: 0x00000200
[303662.876000] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[303662.876000] sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[303662.876000] sdhci: Present: 0x01ff0000 | Host ctl: 0x00000002
[303662.876000] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[303662.876000] sdhci: Wake-up: 0x00000000 | Clock: 0x00000107
[303662.876000] sdhci: Timeout: 0x00000009 | Int stat: 0x00000003
[303662.876000] sdhci: Int enab: 0x00ff00fb | Sig enab: 0x00ff00fb
[303662.876000] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[303662.876000] sdhci: Caps: 0x018021a1 | Max curr: 0x00000040
[303662.876000] sdhci: ===========================================
[303662.876000] mmcblk0: error 2 transferring data
[303662.876000] end_request: I/O error, dev mmcblk0, sector 0

Using:
02:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)

Revision history for this message
Urs (urs-ak) wrote :

I have a Fujitsu-Siemens V3205 with R5C822, and Ubuntu 7.04.
Card reader doesn't work.

Revision history for this message
Henrik Brink (henrikbrink) wrote :

I can confirm that nothing happens when I insert a SD card in a Lenovo v100 on kernel:

$ uname -r
2.6.20-16-generic,

and Ricoh hardware:

$ lspci | grep Ricoh
0a:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
0a:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
0a:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
0a:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
0a:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05).

In dmesg I could not find anything with Ricoh in it, but if I grep for sdhci, this shows up:

$ dmesg | grep sdhci
[ 21.552000] sdhci: Secure Digital Host Controller Interface driver
[ 21.552000] sdhci: Copyright(c) Pierre Ossman
[ 21.552000] sdhci: SDHCI controller found at 0000:0a:01.1 [1180:0822] (rev 19).

Can I give you any more information? It looks like it should work, and maybe I just need to mount it manually, but I dont know where to look.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

I have a Dell Inspiron 6400 and the Card reader is not working.

lspci
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

dmesg
[29628.600000] mmcblk0: error 2 transferring data
[29628.600000] end_request: I/O error, dev mmcblk0, sector 1935352
[29628.600000] mmc0: Got data interrupt even though no data operation was in progress.
[29628.600000] sdhci: ============== REGISTER DUMP ==============
[29628.600000] sdhci: Sys addr: 0x1d67f000 | Version: 0x00000200
[29628.600000] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[29628.600000] sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[29628.600000] sdhci: Present: 0x01ff0000 | Host ctl: 0x00000002
[29628.600000] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[29628.600000] sdhci: Wake-up: 0x00000000 | Clock: 0x00000107
[29628.600000] sdhci: Timeout: 0x00000008 | Int stat: 0x00000003
[29628.600000] sdhci: Int enab: 0x00ff00fb | Sig enab: 0x00ff00fb
[29628.600000] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[29628.600000] sdhci: Caps: 0x01e021a1 | Max curr: 0x00000040
[29628.600000] sdhci: ===========================================

2.6.20-16-generic

On dapper work very well

Revision history for this message
raul.martinez (raul-martinez) wrote :

Same problem with ubuntu feisty

~$ uname -r
2.6.20-16-generic
raul@raulinspirom:~$ lspci | grep Ricoh
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

raul@raulinspirom:~$ dmesg | grep sdhci
[ 21.176000] sdhci: Secure Digital Host Controller Interface driver
[ 21.176000] sdhci: Copyright(c) Pierre Ossman
[ 21.176000] sdhci: SDHCI controller found at 0000:03:01.1 [1180:0822] (rev 19)

With Ubuntu Edgy was working very well even with Feisty but with older kernel versions, I dont know It was not working but need to read a card and I saw this problem, I think the importance of this bug is "High" and not "medium" couse soo many people need to use their readers now when memory cards is a common use and optical storages is passing to obsolecense.

Revision history for this message
JonPayne (jppaynesr-deactivatedaccount) wrote :

I can confirm that on a Dell 1505n with Feisty pre-installed;
A Sandisk SD card works in the multi card reader slot.
A Fujifilm XD card does NOT work.
"Works" means it mounts and opens automatically.

Revision history for this message
ַPavel Antokolsky aka Zigmar (zigmar) wrote :

I confirm: on Dell Inspiron 6400 with 7.04 fresh installed SD card works ok, but XD doesn't.

Revision history for this message
carlo (carlo-margio) wrote :

I can confirm the same problem on a Dell Inspiron 9400. SD works but xD does not. I have the same version hardware card reader and software as raul (above).

$ uname -r
 2.6.20-16-generic

$ lspci | grep Ricoh
 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
 03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
 03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

$ dmesg | grep sdhci
[ 14.520000] sdhci: Secure Digital Host Controller Interface driver
[ 14.520000] sdhci: Copyright(c) Pierre Ossman
[ 14.572000] sdhci: SDHCI controller found at 0000:03:01.1 [1180:0822] (rev 19)

Revision history for this message
Michael (mike984) wrote :

I can confirm this has not been fixed in Gutsy either...

uname -a
Linux ws2 2.6.22-11-generic #1 SMP Fri Sep 7 05:07:05 GMT 2007 i686 GNU/Linux

lspci |grep Ricoh
07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 (rev 05)
07:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:09.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
07:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
07:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

 dmesg |grep sdhci
[ 22.820000] sdhci: Secure Digital Host Controller Interface driver
[ 22.820000] sdhci: Copyright(c) Pierre Ossman
[ 22.820000] sdhci: SDHCI controller found at 0000:07:09.1 [1180:0822] (rev 22)

Revision history for this message
Vreixo Formoso (metalpain2002) wrote :

It works ok for me with SD cards, but MSPro cards don't work. I'm trying on a Lenovo 300 N100 with Edgy.

Revision history for this message
Richard (lawyerchu-gmail) wrote :

I confirm the card reader problem on Toshiba L40 laptop. I tried the memory stick card, but I have no sd card to try this.

I am using Ubuntu feisty with kernel of 2.6.20-16-generic.

Revision history for this message
Michael (mike984) wrote :

xD cards are still unreadable on Gutsy kernel 2.6.22-14-generic with all updates installed as of 10/15

Revision history for this message
_kai_ (gpayo) wrote :

Yes, I confirm that the xD card reader does not work on Linux kernel 2.6.22-14 on Kubuntu Gutsy (installed on 10/18)

My computer is a Samsung R70

Revision history for this message
Chris I-B (ve4cib) wrote :

Confirmed for me too. I'm running Gutsy 64 on an HP Pavillion dv6000-series laptop. I had the card reader working just fine under Edgy, but since upgrading it has ceased to work. I did not to a fresh install; I downloaded the alternate install CD and updated from it. A fresh install was (and still is) out of the question. Not having this card reader working is a royal pain in the arse for me, and I would definitely appreciate having it fixed ASAP.

Some additional information about my situation:

$uname -r
2.6.22-14-generic

$dmesg|grep sdhci
[ 36.338936] sdhci: Secure Digital Host Controller Interface driver
[ 36.338941] sdhci: Copyright(c) Pierre Ossman
[ 36.338998] sdhci: SDHCI controller found at 0000:07:05.1 [1180:0822] (rev 19)

$lspci|grep Ricoh
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

inserting an SD card into the slot and then running dmesg:
$dmesg
...
[116900.745924] sdricoh_cs: Ricoh PCMCIA Secure Digital Interface driver
[116900.745930] sdricoh_cs: Copyright(c) 2006 - 2007 Sascha Sommer
[117361.690252] mmcblk: probe of mmc0:9ffc failed with error -28
[117624.045262] mmcblk: probe of mmc0:9ffc failed with error -28
[117659.657365] mmcblk: probe of mmc0:9ffc failed with error -28
[117776.716474] mmcblk: probe of mmc0:9ffc failed with error -28
[117891.511390] mmcblk: probe of mmc0:9ffc failed with error -28
[117992.941659] mmcblk: probe of mmc0:9ffc failed with error -28
[118457.580530] mmcblk: probe of mmc0:9ffc failed with error -28
[118524.425230] mmcblk: probe of mmc0:9ffc failed with error -28
[118631.354893] mmcblk: probe of mmc0:9ffc failed with error -28
[118953.185714] mmcblk: probe of mmc0:9ffc failed with error -28
[118976.663150] mmcblk: probe of mmc0:9ffc failed with error -28

What's got me confused is this:
$ls /dev/mmc*
ls: /dev/mmc*: No such file or directory

Maybe my card reader is /dev/something else, but I honestly don't know what. I'll admit my knowledge of hardware/OS interaction is limited at best, but if you need more information please let me know (and possibly include what command I should run to provide you with that information) and I'll pass it along. You can contact me via e-mail at: ve4cib(at)gmai(dot)com

Revision history for this message
Chris I-B (ve4cib) wrote :

Correction: in my intro I stated that the card reader had worked under Edgy. My mistake. I meant to say Feisty. I didn't own this computer back in the days of Edgy. Not that that bit of minutia probably makes a lot of difference.

Revision history for this message
Chris I-B (ve4cib) wrote :

...and the serial-posting continues. I've managed to get the card reader to work by running the following commands:

$sudo modprobe -r sdhci
$sudo modprobe -r mmc_block
$sudo modprobe sdhci
$sudo modprobe mmc_block

After running those I popped a card into the slot and it mounted with no hassle.
Not sure if my problem is the same as anyone else's, but that fix may work for some of the rest of you.

Revision history for this message
Nils Braden (nils.nils) wrote :

$sudo modprobe -r sdhci
$sudo modprobe -r mmc_block
$sudo modprobe sdhci
$sudo modprobe mmc_block

doesnt change anything here, theres no sign that the notebook has noticed the card.

~$ uname -a
Linux ubook 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
~$ dmesg | grep sdhci
[ 12.744000] sdhci: Secure Digital Host Controller Interface driver
[ 12.744000] sdhci: Copyright(c) Pierre Ossman
[ 12.744000] sdhci: SDHCI controller found at 0000:03:01.1 [1180:0822] (rev 19)

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

Hi Daniel,

Can you try testing with the 2.6.24 kernel in Hardy and verify if this is still an issue in the newer kernel? Thanks.

Changed in linux:
importance: Undecided → Unknown
status: New → Incomplete
Revision history for this message
Court (campbco) wrote :

Same issue. I am using an olympus xd card and nothing happens.

$ uname -a
Linux HAL 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

$ lspci | grep -i ricoh
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

$ lsmod | egrep '(mmc|sd)'
mmc_block 13444 0
sdhci 18828 0
mmc_core 28420 2 mmc_block,sdhci
sd_mod 30336 3
scsi_mod 147084 5 sbp2,sg,sr_mod,sd_mod,libata

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

Hi Court,

Thanks for testing, but it appears you are still using the older 2.6.22-14 kernel. The Hardy Heron Alpha2 release should be coming out soon (around Dec 20) which will contain an updated kernel. Care to retest with the Alpha2 LiveCD when it is available? I'll be sure to update this report when Alpha2 is ready. Thanks!

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

Hardy Heron Alpha2 was recently released. It contains an updated version of the kernel. You can download and try the new Hardy Heron Alpha2 release from http://cdimage.ubuntu.com/releases/hardy/alpha-2/ . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. General information regarding the release can also be found here: http://www.ubuntu.com/testing/hardy/alpha2 . Thanks!

Revision history for this message
Court (campbco) wrote :

Leann,

I downloaded the Hardy Heron Alpha2 and still have the same issue.

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux

ubuntu@ubuntu:~$ lsmod | egrep '(mmc|sd)'
mmc_block 14980 0
sdhci 18820 0
mmc_core 51076 2 mmc_block,sdhci
ricoh_mmc 4352 0
sd_mod 30592 2
scsi_mod 151308 4 sg,sr_mod,sd_mod,libata

As you can see the ricoh_mmc module loaded and is working:

ubuntu@ubuntu:/sys/class/mmc_host/mmc0/device$ dmesg | grep ricoh
[ 107.920998] ricoh-mmc: Ricoh MMC Controller disabling driver
[ 107.921002] ricoh-mmc: Copyright(c) Philip Langdale
[ 107.921049] ricoh-mmc: Ricoh MMC controller found at 0000:03:01.2 [1180:0843] (rev 1)
[ 107.921062] ricoh-mmc: Controller is now disabled.

Later.

:frowning:

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

Thanks for testing. Per the kernel team's bug policy, can you please attach some additional information for the newer Hardy Alpha2 kernel:

* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

Please be sure to attach each file as a separate attachment. For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Revision history for this message
yegle (cnyegle) wrote : Re: [Bug 88992] Re: Ricoh SD card reader does not work, loading mmc_block and inserting makes kernel go BOOM

These are my log files:

kernel:2.6.24-2-generic

On 12/31/07, Leann Ogasawara <email address hidden> wrote:
>
> Thanks for testing. Per the kernel team's bug policy, can you please
> attach some additional information for the newer Hardy Alpha2 kernel:
>
> * cat /proc/version_signature > version.log
> * dmesg > dmesg.log
> * sudo lspci -vvnn > lspci-vvnn.log
>
> Please be sure to attach each file as a separate attachment. For more
> information regarding the kernel team bug policy, please refer to
> https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we
> appreciate your help and feedback.
>
> --
> Ricoh SD card reader does not work, loading mmc_block and inserting makes
> kernel go BOOM
> https://bugs.launchpad.net/bugs/88992
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Henrik Brink (henrikbrink) wrote :

I also still have the problem on Hardy alpha 2.

Revision history for this message
Henrik Brink (henrikbrink) wrote :
Revision history for this message
Henrik Brink (henrikbrink) wrote :
Revision history for this message
Henrik Brink (henrikbrink) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Unknown → Medium
status: Incomplete → Triaged
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

Are MS/xD integrated readers supported at all? I thought that only integrated MMC/SD/CF readers were supported by linux due to the proprietary nature of the others.

Revision history for this message
fly3rman (fly3rman) wrote :

My Cardreader on HP 6910p laptop doenst work too.
uname -a
Linux flybook 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

lsmod | egrep '(mmc|sd)'
mmc_block 14980 0
sdhci 19076 0
ricoh_mmc 4352 0
tifm_sd 12936 0
tifm_core 11012 2 tifm_7xx1,tifm_sd
mmc_core 51460 3 mmc_block,sdhci,tifm_sd
sd_mod 30720 6
scsi_mod 151436 6 usb_storage,sbp2,sr_mod,sg,sd_mod,libata
(ive played around a bit and tried everything ive found)

 lspci | grep -i ricoh
02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 03)
02:06.3 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 20)
02:06.4 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 10)

dmesg:
[ 7600.104070] ACPI: PCI interrupt for device 0000:02:06.3 disabled
[ 7611.204226] ricoh-mmc: Controller is now re-enabled.
[ 7613.823748] ricoh-mmc: Ricoh MMC Controller disabling driver
[ 7613.823753] ricoh-mmc: Copyright(c) Philip Langdale
[ 7613.823799] ricoh-mmc: Ricoh MMC controller found at 0000:02:06.4 [1180:0843] (rev 10)
[ 7613.823814] ricoh-mmc: Controller is now disabled.
[ 7616.508083] sdhci: Secure Digital Host Controller Interface driver
[ 7616.508088] sdhci: Copyright(c) Pierre Ossman
[ 7616.508131] sdhci: SDHCI controller found at 0000:02:06.3 [1180:0822] (rev 20)
[ 7616.508154] ACPI: PCI Interrupt 0000:02:06.3[B] -> GSI 19 (level, low) -> IRQ 19
[ 7616.508170] sdhci:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
[ 7616.508212] mmc0: SDHCI at 0xe4103000 irq 19 DMA
[ 8047.104995] ACPI: PCI interrupt for device 0000:02:06.3 disabled
[ 8052.349676] sdhci: Secure Digital Host Controller Interface driver
[ 8052.349681] sdhci: Copyright(c) Pierre Ossman
[ 8052.349720] sdhci: SDHCI controller found at 0000:02:06.3 [1180:0822] (rev 20)
[ 8052.349744] ACPI: PCI Interrupt 0000:02:06.3[B] -> GSI 19 (level, low) -> IRQ 19
[ 8052.349763] sdhci:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
[ 8052.349802] mmc0: SDHCI at 0xe4103000 irq 19 DMA

no success at all

Revision history for this message
levmatta (levmatta) wrote :

I have the same problem on Ubuntu Hardy 8.04 (final) 64bit, on a Dell Inspiron 1525.
uname -a:
Linux lemobile-pc 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux
lscpi (edited):
02:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
02:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
02:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
02:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

Hope I can help.

Revision history for this message
szabolcs (oszabolcs) wrote :

My card reader doesn't work too on Hp-Compaq nx6325 with Hardy.

Linux sin 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux

/var/log/messages
May 19 16:00:02 sin kernel: [ 397.972526] tifm_core: MMC/SD card detected in socket 0:1

dmesg
[ 397.972526] tifm_core: MMC/SD card detected in socket 0:1
[ 398.129701] mmc1: error -110 whilst initialising SD card

lspci
02:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller

lsmod
tifm_sd 12936 0
tifm_core 11012 2 tifm_sd,tifm_7xx1
sdhci 19076 0
mmc_core 51460 2 tifm_sd,sdhci
sd_mod 30720 3
scsi_mod 151436 4 sbp2,sg,sd_mod,libata

This was the first attempt to use my card reader since I use Hardy, but on Feisty it worked.

Revision history for this message
darkangel88 (tipat88) wrote :

Wow szabolcs, I got the exact same problem with my card reader, exact same specs and exact same error message....

In my case, using a normal 2 gb sd card doesn't provoke any problems.. but using my new 4 gb sdhc card brings this error...

The weird thing is that I was able to get it to work twice during my tests by inserting/ejecting the card repeatly... so I know it work at some point... unfortunatly, the other 99 % of the time, I get the same error as yours (mmc1: error -110 whilst initialising SD card)

Could anyone help us with this problem... this is really annoying !! Thanks !!

Revision history for this message
Alex (alexstrabala-deactivatedaccount) wrote :

lspci | grep ricoh -i
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

sudo modprobe -r sdhci
sudo modprobe -r mmc_block
sudo modprobe sdhci
sudo modprobe mmc_block

Then I insert the card into the reader. The reader device appears in Computer:/// but does not mount.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

SRU Justification:

Impact: Inserting MMC card make kernel go boom.

Patch Description: Use DECLARE_BITMAP() to correctly define a bitmap in a system independent manner.

Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=ba8b80cb426008f302098e0dbd447ae1dfbd80d9

TEST CASE: Insert an MMC block device when using a 64 bit kernel.

Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux:
assignee: ubuntu-kernel-team → timg-tpi
importance: Medium → High
milestone: none → ubuntu-8.04.1
status: Triaged → Fix Committed
Martin Pitt (pitti)
Changed in linux-source-2.6.20:
status: New → Invalid
status: Confirmed → Invalid
Changed in linux-source-2.6.22:
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in linux:
status: New → Fix Committed
Steve Langasek (vorlon)
Changed in linux:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Steve Langasek (vorlon) wrote :

the commits are shown for the hardy branch only, rolling back to 'triaged' for intrepid

Changed in linux:
status: Fix Committed → Triaged
Steve Langasek (vorlon)
Changed in linux:
milestone: none → ubuntu-8.04.1
Martin Pitt (pitti)
Changed in linux-source-2.6.22:
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates. The new kernel was tested extensively by many people, who reported back in other bug reports. Due to lack of feedback, this particular bug was not confirmed to be tested, though. Please report back here if the bug still occurs for you with the new kernel packages, then we will reopen this bug.

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
fly3rman (fly3rman) wrote :

device: hp 6910p, cardreader working in newest fedora!
uname -r
2.6.24-19-generic
lspci:
02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 03)
02:06.3 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 20)
02:06.4 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 10)
dmesg:
[ 28.308134] ricoh-mmc: Ricoh MMC controller found at 0000:02:06.4 [1180:0843] (rev 10)
[ 28.308148] ricoh-mmc: Controller is now disabled.
[ 28.308189] sdhci: SDHCI controller found at 0000:02:06.3 [1180:0822] (rev 20)
[ 28.308212] ACPI: PCI Interrupt 0000:02:06.3[B] -> GSI 19 (level, low) -> IRQ 19
[ 28.309128] sdhci:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
[ 28.309208] mmc0: SDHCI at 0xe4103000 irq 19 DMA

device not showing up, no dmesg messages when inserting a card. tried to load timfs modules, nothing happend.
so bug still opened?

Revision history for this message
fly3rman (fly3rman) wrote :

sorry for second commentar:
after reboot inserting mmc_block does following:
[ 242.663656] irq 19: nobody cared (try booting with the "irqpoll" option)
[ 242.663667] Pid: 7798, comm: Xorg Not tainted 2.6.24-19-generic #1
[ 242.663669]
[ 242.663669] Call Trace:
[ 242.663671] <IRQ> [<ffffffff802800ae>] __report_bad_irq+0x1e/0x80
[ 242.663702] [<ffffffff802803bd>] note_interrupt+0x2ad/0x2e0
[ 242.663713] [<ffffffff80280f01>] handle_fasteoi_irq+0xa1/0x110
[ 242.663722] [<ffffffff8020ef6b>] do_IRQ+0x7b/0x100
[ 242.663732] [<ffffffff8020c891>] ret_from_intr+0x0/0xa
[ 242.663735] <EOI>
[ 242.663750] handlers:
[ 242.663751] [<ffffffff8823a940>] (yenta_interrupt+0x0/0xc0 [yenta_socket])
[ 242.663757] [<ffffffff8825ec60>] (sdhci_irq+0x0/0x6e0 [sdhci])
[ 242.663762] [<ffffffff880c8ef0>] (ata_interrupt+0x0/0x240 [libata])
[ 242.663776] Disabling IRQ #19
p.s.:
uname -ar
Linux flybook 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Steve Langasek (vorlon) wrote :

Hi fly3rman,

Given the description of what you see, it sounds like either you're experiencing a different bug, or this bug is partially fixed; the original bug report specified that the kernel locked up when a card was inserted, which doesn't seem to be what's happening to you.

I suggest opening a second bug report about this, so that we're able to use this bug report for tracking the kernel lockup regression.

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
Gabriel Rota (gabriel-rota) wrote :

I have tryed Alpha5 LiveCD AMD64 but cardreader don't work ... in this day later I try daily build LiveCD AMD64 080909 because on my Dell I6400 have applet (FastSwitchUser and gnome-power-manager) unstable, but new version is marked released ... tomorrow I make another report.

Tim Gardner (timg-tpi)
Changed in linux:
assignee: timg-tpi → nobody
status: Triaged → Fix Released
Revision history for this message
z3non (tom-uttenthaler) wrote :

I have tested this on a Asus Z53Sv (similar to F3Sv) with an Intrepid Alpha6 AMD64 LiveCD and I observed the same behaviour as Vreixo Formoso wrote on 2007-09-12 and Richard wrote on 2007-09-30:

* SD card works fine (shows up in kern.log, auto detection in KDE, read/write, unmount)
* Memory Stick Pro Duo does NOT work (not a single line in kern.log on insertion/ejection)

I do observe this behaviour since at least 2.6.18, including currently installed hardy generic (386) stock kernels, self compiled 2.6.24.3 distribution kernel and 2.6.26.5 vanilla kernel.

btw: I did not have the kernel go 'BOOM' (at least not in connection with any cardreader activities) as the original poster did, but due to lack of it I did not yet test it with a MMC card.

Revision history for this message
levmatta (levmatta) wrote :

I have updated to Intrepid and it still not working for my memory stick.
> uname -a
Linux lemobile-pc 2.6.27-4-generic #1 SMP Mon Sep 22 04:40:15 UTC 2008 x86_64 GNU/Linux
Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

I have tried now on jaunty on dell inspiron 6400 with same error.
I attach lspci -v,lspci -vn, dmesg.
Linux grota-laptop 2.6.28-6-generic #17-Ubuntu SMP Fri Jan 30 15:35:08 UTC 2009 x86_64 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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