Skip to contentSkip to conversation

2.6.24-rc6: ricoh_mmc woes

DISCUSSION Harald Dunkel 2 participants 2 messages Jan 5, 2008 – Jan 9, 2008

lore
Share & tools
lore
#0 lore raw

Hi folks,

I've got a problem with a Ricoh mmc reader. As soon as I insert a sd card I get tons of I/O errors. syslog says:

Jan  5 21:19:12 daffy kernel: ricoh-mmc: Ricoh MMC Controller disabling driver
Jan  5 21:19:12 daffy kernel: ricoh-mmc: Copyright(c) Philip Langdale
Jan  5 21:19:12 daffy kernel: ricoh-mmc: Ricoh MMC controller found at 0000:03:01.2 [1180:0843] (rev 12)
Jan  5 21:19:12 daffy kernel: ricoh-mmc: Controller is now disabled.
Jan  5 21:19:25 daffy kernel: mmc0: new high speed SD card at address 1234
Jan  5 21:19:25 daffy kernel: mmcblk0: mmc0:1234 SD01G 995328KiB
Jan  5 21:19:25 daffy kernel:  mmcblk0:<3>mmcblk0: error -84 transferring data
Jan  5 21:19:25 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0
Jan  5 21:19:25 daffy kernel: printk: 32 messages suppressed.
Jan  5 21:19:25 daffy kernel: Buffer I/O error on device mmcblk0, logical block 0
Jan  5 21:19:25 daffy kernel: mmcblk0: error -84 transferring data
Jan  5 21:19:25 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0
Jan  5 21:19:25 daffy kernel: Buffer I/O error on device mmcblk0, logical block 0
Jan  5 21:19:25 daffy kernel: mmcblk0: error -84 transferring data
Jan  5 21:19:25 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0
Jan  5 21:19:25 daffy kernel: Buffer I/O error on device mmcblk0, logical block 0
Jan  5 21:19:25 daffy kernel: mmcblk0: error -84 transferring data
Jan  5 21:19:25 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0
Jan  5 21:19:25 daffy kernel: Buffer I/O error on device mmcblk0, logical block 0
Jan  5 21:19:26 daffy kernel: mmcblk0: error -84 transferring data
Jan  5 21:19:26 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0
Jan  5 21:19:26 daffy kernel: Buffer I/O error on device mmcblk0, logical block 0
Jan  5 21:19:26 daffy kernel: ldm_validate_partition_table(): Disk read failed.
Jan  5 21:19:26 daffy kernel: mmcblk0: error -84 transferring data
Jan  5 21:19:26 daffy kernel: end_request: I/O error, dev mmcblk0, sector 0

:
:

The ricoh_mmc disabler module is installed as a module. udev loads it at boot time. But AFAICS I get the same errors if ricoh_mmc is removed.

lspci says

# lspci | grep -i ricoh
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 (rev 05)
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
# lspci -n | grep 03:01
03:01.0 0c00: 1180:0832 (rev 05)
03:01.1 0805: 1180:0822 (rev 22)
03:01.2 0880: 1180:0843 (rev 12)
03:01.3 0880: 1180:0592 (rev 12)
03:01.4 0880: 1180:0852 (rev ff)

Of course the SD card works fine in another PC.

Any idea how to track this down? Please mail

Regards

Harri

#1 lore raw
Quoted 5 lines · On Sat, 05 Jan 2008 21:28:50 +0100 Harald Dunkel <[email protected]>…

Hi folks,

I've got a problem with a Ricoh mmc reader. As soon as I insert a sd card I get tons of I/O errors. syslog says:

You're getting some kind of bus transfer error. Did this work with 2.6.23?

Please enable CONFIG_MMC_DEBUG and include a copy of the output of dmesg.

Rgds

Signature · 5 lines
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org