[Lenovo X220] can't read specified SD card.

Bug #886109 reported by TienFu Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have tried many SD card on my X220 system, there's one card I can't read.
The image of card(apacer_2g_sdcard.jpeg) is attached.

Kernel log on card insertion:
[ 76.027101] mmc0: error -110 whilst initialising SD card
Kernel log while card removal:
[ 85.167263] mmc0: Card removed during transfer!
[ 85.167272] mmc0: Resetting controller.
[ 85.187221] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
[ 85.187231] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 85.187240] sdhci: Sys addr: 0x00000000 | Version: 0x00000502
[ 85.187248] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 85.187256] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 85.187264] sdhci: Present: 0x01f00001 | Host ctl: 0x00000000
[ 85.187272] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 85.187280] sdhci: Wake-up: 0x00000000 | Clock: 0x00003707
[ 85.187288] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 85.187296] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[ 85.187303] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 85.187311] sdhci: Caps: 0x21e8c8b2 | Caps_1: 0x00008073
[ 85.187319] sdhci: Cmd: 0x00000102 | Max curr: 0x00000040
[ 85.187322] sdhci: ===========================================
----------------------------------

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-12-generic 2.6.38-12.51
ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
Uname: Linux 2.6.38-12-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: ctf 2103 F.... pulseaudio
 /dev/snd/pcmC0D0p: ctf 2103 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf2620000 irq 49'
   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 [off]
CheckboxSubmission: c2591d4423b4645306379e0f9bc8a1c5
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Fri Nov 4 21:28:03 2011
HibernationDevice: RESUME=UUID=86fe5e3e-4a6f-4f20-a260-6253399e2cf8
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
MachineType: LENOVO 4286CTO
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-12-generic root=/dev/mapper/harddisk-root2 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-12-generic N/A
 linux-backports-modules-2.6.38-12-generic N/A
 linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET46WW (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4286CTO
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:bvr8DET46WW(1.16):bd05/18/2011:svnLENOVO:pn4286CTO:pvrThinkPadX220:rvnLENOVO:rn4286CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4286CTO
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO

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

sudo lspci -xxx -d 1180:e822
0d:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
00: 80 11 22 e8 06 00 10 00 07 01 80 08 10 00 00 00
10: 00 00 50 f1 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 60 61 82 01 00 00 00 00 00 00 00 00
50: 05 78 80 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 11 78 00 00 00 00 00 00
70: 01 00 00 00 00 00 00 00 01 80 03 fe 00 c0 00 48
80: 10 00 01 00 c0 ff 90 05 10 28 09 00 11 ec 07 01
90: 42 00 11 10 00 00 00 00 c0 03 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
b0: 04 00 00 00 00 00 00 00 00 00 00 00 a0 00 00 00
c0: 00 30 00 00 00 00 00 00 00 00 00 87 00 98 00 00
d0: 00 00 00 00 20 40 00 40 33 00 00 00 20 00 11 d9
e0: b2 32 e8 21 73 80 00 00 40 00 00 00 00 00 00 00
f0: 30 00 fe 00 00 00 00 00 18 00 00 02 00 00 02 00

Revision history for this message
TienFu Chen (ctf) wrote :

-Before the solution on comment #2
ctf@natty64:~$ sudo lspci -xxx -d 1180:e823
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
00: 80 11 23 e8 06 00 10 00 04 01 80 08 10 00 80 00
10: 00 00 50 f1 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 60 61 82 01 00 00 00 00 00 00 00 00
50: 05 78 80 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 11 78 00 00 00 00 00 00
70: 01 00 00 00 00 00 00 00 01 80 03 fe 00 c0 00 48
80: 10 00 01 00 c0 ff 90 05 10 28 09 00 11 ec 07 01
90: 42 00 11 10 00 00 00 00 c0 03 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
b0: 04 00 00 00 00 00 00 00 00 00 00 00 a0 00 00 00
c0: 00 30 00 00 00 00 00 00 00 00 00 87 00 98 00 00
d0: 00 00 00 00 20 40 00 00 33 00 00 00 20 00 11 d9
e0: b2 c8 e8 21 73 80 00 00 40 00 00 00 00 00 00 00
f0: 30 00 fe 00 00 00 00 00 18 00 00 02 00 00 02 00

-After the solution on comment #2
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 07)
00: 80 11 22 e8 06 00 10 00 07 01 80 08 10 00 80 00
10: 00 00 50 f1 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 60 61 82 01 00 00 00 00 00 00 00 00
50: 05 78 80 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 11 78 00 00 00 00 00 00
70: 01 00 00 00 00 00 00 00 01 80 03 fe 00 c0 00 48
80: 10 00 01 00 c0 ff 90 05 10 28 09 00 11 ec 07 01
90: 42 00 11 10 00 00 00 00 c0 03 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 da 21
b0: 04 00 00 00 00 00 00 00 00 00 00 00 a0 00 00 00
c0: 00 30 00 00 00 00 00 00 00 00 00 87 00 98 00 00
d0: 00 00 00 00 20 40 00 40 33 00 00 00 20 00 11 d9
e0: b2 32 e8 21 73 80 00 00 40 00 00 00 00 00 00 00
f0: 30 00 fe 00 00 00 00 00 18 00 00 02 00 00 02 00

Revision history for this message
TienFu Chen (ctf) wrote :

After suspend, the solution in comment #2 has to be applied again to read the card.b

description: updated
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.