Ricoh card reader in Lenovo x1 Carbon not working

Hi guys,

I have thinkpad x1 carbon gen 1 with Leap 42.1 on the board. I absolutely love new Leap. Everything works perfect just card reader is doing some issues.

Basically it doesn’t work.

It looks like card is not working, I can’t mount it. My camera works fine with the card. I also checked that card on other OS and works fine too.
Is this a bug? At least it looks like when I ask uncle google

Thanks in advance for any help/direction

lsblk

NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT                                                                                                                 
sda       8:0    0 167.7G  0 disk                                                                                                                            
├─sda1    8:1    0     2G  0 part [SWAP]                                                                                                                     
├─sda2    8:2    0    40G  0 part /boot/grub2/x86_64-efi                                                                                                     
└─sda3    8:3    0 125.7G  0 part /home                                                                                                                      
mmcblk0 179:0    0   7.4G  0 disk  

lspci | grep MMC

02:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 07)

fdisk -l

Disk /dev/sda: 167.7 GiB, 180045766656 bytes, 351651888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x75a36e3d

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1           2048   4208639   4206592     2G 82 Linux swap / Solaris
/dev/sda2  *     4208640  88100863  83892224    40G 83 Linux
/dev/sda3       88100864 351651839 263550976 125.7G 83 Linux

dmesg

 3174.887520] mmc0: new SDHC card at address e624
 3174.894749] mmcblk0: mmc0:e624 SD08G 7.40 GiB 
 3174.899315] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
 3174.957345] mmc0: tried to reset card
 3174.958355] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
 3174.958365] mmcblk0: retrying using single block read
 3174.959134] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
 3174.959140] blk_update_request: I/O error, dev mmcblk0, sector 0
 3174.959973] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
 3174.959985] blk_update_request: I/O error, dev mmcblk0, sector 1
 3174.960927] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
 3174.960938] blk_update_request: I/O error, dev mmcblk0, sector 2
 3174.961771] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
 3174.961781] blk_update_request: I/O error, dev mmcblk0, sector 3
 3174.962611] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
 3174.962622] blk_update_request: I/O error, dev mmcblk0, sector 4
 3174.963447] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
 3174.963458] blk_update_request: I/O error, dev mmcblk0, sector 5
 3174.964233] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
 3174.964239] blk_update_request: I/O error, dev mmcblk0, sector 6
 3174.965004] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
 3174.965008] blk_update_request: I/O error, dev mmcblk0, sector 7
 3174.965013] Buffer I/O error on dev mmcblk0, logical block 0, async page read
 3174.965939] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
 3174.965945] mmcblk0: retrying using single block read
 3174.966711] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
 3174.966716] blk_update_request: I/O error, dev mmcblk0, sector 0
 3174.967486] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
 3174.967490] blk_update_request: I/O error, dev mmcblk0, sector 1
 3174.968273] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
 3174.969047] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
 3174.969890] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
 3174.970665] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
 3174.971437] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
 3174.972227] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
 3174.972235] Buffer I/O error on dev mmcblk0, logical block 0, async page read
 3174.973110] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
 3174.973115] mmcblk0: retrying using single block read


Hi
What format is the SD card, exfat?

Lets just enhnce your lspci data via;


/sbin/lspci -nnk |grep  MMC

/sbin/lspci -nnk | grep MMC

02:00.0 System peripheral [0880]: Ricoh Co Ltd PCIe SDXC/MMC Host Controller [1180:e823] (rev 07)

It is SDHC card with FAT32 file system for Nikon D5000. I haven’t formatted card at all. I used it since the beginning with FAT32

I also tried, but it didn’t help

sudo modprobe mmc_core ricoh_mmc sdhci-pci sdhci mmc_block

Hi
AFAIK it should be using sdhci-pci with your PCI ID.

Just check again;


/sbin/lspci -nnk |grep  -A3 MMC

Can you transfer the data off (camera->usb->computer) and look at re-formatting in the camera?

I copied pics on my gf win8 machine. Next I inserted mmc card in to x1 carbon to format and suddenly card was discovered. Interesting…It looks like win8 is a cure for mmc fat32 card :slight_smile:

Thanks for all help