LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.24-rc6: ricoh_mmc woes
@ 2008-01-05 20:28 Harald Dunkel
  2008-01-09 12:48 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Harald Dunkel @ 2008-01-05 20:28 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.24-rc6: ricoh_mmc woes
  2008-01-05 20:28 2.6.24-rc6: ricoh_mmc woes Harald Dunkel
@ 2008-01-09 12:48 ` Pierre Ossman
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2008-01-09 12:48 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-kernel

On Sat, 05 Jan 2008 21:28:50 +0100
Harald Dunkel <harald.dunkel@t-online.de> wrote:

> 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
-- 
     -- Pierre Ossman

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-09 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-05 20:28 2.6.24-rc6: ricoh_mmc woes Harald Dunkel
2008-01-09 12:48 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).