SD card reader does not work on Thinkpad X220

Bug #787606 reported by vilmos
56
This bug affects 12 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The SD card reader doesn't work on my new Lenovo Thinkpad X220. When I insert a card, the following debug messages appear in dmesg:
[ 1206.280720] mmc0: Timeout waiting for hardware interrupt.
[ 1206.280732] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1206.280742] sdhci: Sys addr: 0x00000000 | Version: 0x00000502
[ 1206.280751] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 1206.280759] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1206.280767] sdhci: Present: 0x01f70001 | Host ctl: 0x00000001
[ 1206.280775] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 1206.280783] sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 1206.280791] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 1206.280798] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[ 1206.280806] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1206.280814] sdhci: Caps: 0x21e8c8b2 | Caps_1: 0x00008073
[ 1206.280822] sdhci: Cmd: 0x00000102 | Max curr: 0x00000040
[ 1206.280825] sdhci: ===========================================
[ 1206.632840] mmc0: error -110 whilst initialising SD card

It's a built-in Ricoh SD reader (from lspci -v):
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04) (prog-if 01)
        Subsystem: Lenovo Device 21da
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d1400000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Power Management version 3
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [800] Advanced Error Reporting
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci

It doesn't matter if the card is locked or not. I tested it with a Kingmax 8GB class 10 SDHC card. This happens on an up to date Natty amd64 install, kernel version is 2.6.38.8.22.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: vili 1413 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xd2520000 irq 44'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:14f1506e,17aa21da,00100000 HDA:80862805,80860101,00100000'
   Controls : 20
   Simple ctrls : 8
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue May 24 16:52:42 2011
HibernationDevice: RESUME=UUID=c7615e11-99d2-4781-95b4-d1357ec0f79e
HotplugNewDevices:

HotplugNewMounts:

InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: LENOVO 42872SG
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=e6b1a4fc-84e9-46d6-b7e5-bbba5504b2fc ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
SourcePackage: linux
Symptom: storage
UdevMonitorLog:
 monitor will print the received events for:
 UDEV - the event which udev sends out after rule processing
UdisksMonitorLog: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/28/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET41WW (1.11 )
dmi.board.asset.tag: Not Available
dmi.board.name: 42872SG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET41WW(1.11):bd03/28/2011:svnLENOVO:pn42872SG:pvrThinkPadX220:rvnLENOVO:rn42872SG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 42872SG
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO

Revision history for this message
vilmos (vilmos) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
vilmos (vilmos) wrote :

I just upgrade to linux-image-2.6.39-0-generic from kernel-ppa because of other issues, and the SD card reader problem still persists.

Revision history for this message
vilmos (vilmos) wrote :

This seems to be a duplicate of #717435.

Revision history for this message
Oscar Niemi (oscar-niemi) wrote :

Same problem with my X220 and 3.2.0-32-generic but i get error "mmc0: error -5 whilst initialising SD card" instead.

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

Other bug subscribers

Remote bug watches

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