You are not logged in.

#1 2011-09-03 06:05:50

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

SD card does not work ThinkPad X220 [Solved]

I have a thinkpad X220 with linux 3.0.4-1. I can not get the SD reader to work properly.

$ lspci -ks 0d:00.0
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
	Subsystem: Lenovo Device 21da
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci-pci
$ lsmod|grep sdhci
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73353  1 sdhci

I have 3 SD cards to test with:
ScanDisk Ultra II 4GB (SDHC)
Panasonic 2GB card
Canon 32MB card

http://www.thinkwiki.org/wiki/SD_Card_slot seems to indicate that everything should be supported out of the box but it does not seem that way.
I was able to get the 2GB card to work this morning but now (after trying the 4GB card I think) none of the cards work. when I plug in the 4GB card I get the folowing from dmesg:

[92419.294915] mmc0: error -84 whilst initialising SD card
[92419.374462] mmc0: error -84 whilst initialising SD card
[92429.355014] mmc0: Timeout waiting for hardware interrupt.
[92429.355025] sdhci: =========== REGISTER DUMP (mmc0)===========
[92429.355036] sdhci: Sys addr: 0x00000000 | Version:  0x00000502
[92429.355045] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[92429.355053] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[92429.355061] sdhci: Present:  0x01f70001 | Host ctl: 0x00000005
[92429.355070] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
[92429.355078] sdhci: Wake-up:  0x00000000 | Clock:    0x00000000
[92429.355085] sdhci: Timeout:  0x00000009 | Int stat: 0x00000000
[92429.355094] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[92429.355102] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[92429.355110] sdhci: Caps:     0x21e8c8b2 | Caps_1:   0x00008073
[92429.355119] sdhci: Cmd:      0x00000102 | Max curr: 0x00000040
[92429.355125] sdhci: Host ctl2: 0x00000000
[92429.355128] sdhci: ===========================================
[92429.518698] mmc0: error -84 whilst initialising SD card
[92429.605517] mmc0: error -84 whilst initialising SD card
[92440.354183] mmc0: error -84 whilst initialising SD card
[92440.441284] mmc0: error -84 whilst initialising SD card
[92440.520034] mmc0: error -84 whilst initialising SD card
[92440.599892] mmc0: error -84 whilst initialising SD card
[92440.683048] mmc0: error -84 whilst initialising SD card
[92440.769923] mmc0: error -84 whilst initialising SD card

How can I make this work? has anyone else gotten this slot to work?
Thanks

Last edited by jesseFrey (2011-11-16 17:18:11)

Offline

#2 2011-09-03 15:54:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: SD card does not work ThinkPad X220 [Solved]

Perhaps you're  trying an sdhc card (4GB) in a non-compatible card reader.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2011-09-03 16:21:01

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

Definitely not the case. I just tried to format the 32MB card with disk utility and linux crashed there is something else wrong
I think the reader should support SDHC cards though. I don't see why a modern laptop would not

Offline

#4 2011-09-04 00:25:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: SD card does not work ThinkPad X220 [Solved]

Some manufacturers have produced 4 GB SD cards that conform to neither the SD2.0/SDHC spec nor existing SD devices.

Definitely require an sdhc reader for sdhc cards of 4GB.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-09-09 08:11:20

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: SD card does not work ThinkPad X220 [Solved]

I'm in the same boat: I tried both a 64GB (SDXC) and 16GB (SDHC) and neither
worked, complaining of "mmcblk0: error -110 sending read/write command
response 0x0 card status 0x400b00". There's nothing wrong with either card as
they both work in my two other Linux computers. I'm running linux 3.0.4-1 on a
Lenovo ThinkPad x220 (like you) and am entirely up-to-date.


Registed Linux User 483618

Offline

#6 2011-09-09 13:28:01

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: SD card does not work ThinkPad X220 [Solved]

I was never able to get an SD card to read in a dell 700m.  With different kernels I could get the card mounted and start copying the files before the module would crash.  Other times I couldn't get the card to mount.  I haven't tried on the x220 I have.  FWIW, I got a usb/SD adapter which works every time.

Offline

#7 2011-09-09 14:55:07

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

That sounds like the same issue I have. My 4G card, which I use most, plugs into USB so I don't really need the reader to work but I have it so I would like it to function. Have you tried submitting a bug report? I have not.

Offline

#8 2011-09-09 15:14:10

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: SD card does not work ThinkPad X220 [Solved]

Looks like there's a possible fix coming in version 3.1 of the kernel if you drill down into this long thread:

https://lkml.org/lkml/2011/7/11/381

and it appears that Greg has already added it to the 2.6.39.4 long term support kernel:

http://lwn.net/Articles/454028/

Offline

#9 2011-09-09 16:28:39

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

Nice, I will try again after I install linux 3.1

Offline

#10 2011-11-10 21:49:27

hendry
Member
From: Singapore
Registered: 2009-09-08
Posts: 157
Website

Re: SD card does not work ThinkPad X220 [Solved]

I'm running Arch with 3.1 and I have the same problem I believe: http://natalian.org/archives/2011/11/10/Thinkpad_X220/

Offline

#11 2011-11-10 22:58:54

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: SD card does not work ThinkPad X220 [Solved]

re: hdd - mSATA, nice  /jealous/

re: fan - odd.  Mine runs cool and I've never heard the fan.  The temperature right now is 47C   You're sure all your core are scaling?

re: battery - Hmm powertop works for me.  I'm using version 1.13.  I get around 5hr on my 6 cell.  I bet once you get your fan to stop, your battery will last longer.

re: UPS - I've noticed odd travel routes for packages as well.  I asked UPS about this and they said they show tracking information for both the item and its paper work.

Offline

#12 2011-11-10 23:39:54

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

I upgraded to linux 3.1-4 and it seems to work with my 2GB card but not the 4GB card. still very flaky though

Offline

#13 2011-11-11 00:44:06

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: SD card does not work ThinkPad X220 [Solved]

A Kodak 512MB SD card is working fine on my X220.  Don't have any others to test at my present location.

If you have problems, you might try creating a polkit-1 file and add yourself to the 'disk' group.
https://bbs.archlinux.org/viewtopic.php … 0#p1014060

Offline

#14 2011-11-11 01:12:40

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

David Batson wrote:

If you have problems, you might try creating a polkit-1 file and add yourself to the 'disk' group.
https://bbs.archlinux.org/viewtopic.php … 0#p1014060

This is not the problem, I have the correct permissions, things just don't work.
I think my 2GB card might work fine now just as long as the 4G card has not been plugged in. which is not a great situation.

Offline

#15 2011-11-16 17:17:52

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Re: SD card does not work ThinkPad X220 [Solved]

I upgraded to linux 3.3.1-1 and all of my cards work fine.

Offline

Board footer

Powered by FluxBB