Re: 2.6.24 not recognizing 2G MMC card?

Previous thread: [PATCH 2.6.26-rc3] xfrm: Installing NULL encryption IPSec SAs fails by Martin Willi on Wednesday, May 21, 2008 - 9:55 am. (6 messages)

Next thread: linux-next: UML build error by Gabriel C on Wednesday, May 21, 2008 - 10:26 am. (3 messages)
From: J. Bruce Fields
Date: Wednesday, May 21, 2008 - 10:21 am

Please forgive a somewhat naive question--I'm not sure how to go about
debugging this kind of thing:

I have a Dell 1420n with card readers reported by lspci as:

03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)

I have a 512MB MicroSD card which seems to be recognized fine, but a 2GB
MMC card is not.

I'm using a stock Ubuntu 8.04 kernel, which reports itself as
2.6.24-16-generic.

Skimming through commits to drivers/mmc,
5ae70296c85f96a9969891d9de3410ebdf210b71 "mmc: Disabler for Ricoh MMC
controller", looks relevant, but seems to be included in 2.6.24.

Anything I should try?  Thanks in advance for any suggestions.

--b.
--

From: Tom Spink
Date: Wednesday, May 21, 2008 - 11:01 am

Hi,

What does: lsmod | grep ricoh, give you?  Anything?

-- 
Tom Spink
--

From: J. Bruce Fields
Date: Wednesday, May 21, 2008 - 8:38 pm

root@pig:/home/bfields# lsmod | grep ricoh
ricoh_mmc               4352  0 

--b.
--

From: Tom Spink
Date: Thursday, May 22, 2008 - 11:10 am

Hi,

So does the MMC card work on other card readers, i.e. it's not
damaged?  When you plug the card into the reader, can you check dmesg
and see if there's any relevant information in there, and post it
here?

Thanks,
-- 
Tom Spink
--

From: J. Bruce Fields
Date: Thursday, May 22, 2008 - 11:22 am

I use it in a Nokia 770, and it works there.

It needs an adapter for the laptop which it doesn't need for the 770;
googling around.... Something that looks like this:

	http://www.globemaster.com.tw/data/rs mmc adapter.jpg

So I suppose the adapter could be broken.  Seems unlikely,
though--doesn't look like it does anything more than make the card

It doesn't trigger any dmesg output at all.

--b.
--

From: Tom Spink
Date: Thursday, May 22, 2008 - 11:27 am

Interesting.  I'd expect to see something appearing about the card.
I'm afraid I'm not sure what to suggest next, if there's no debug

-- 
Tom Spink
--

From: Pierre Ossman
Date: Wednesday, May 28, 2008 - 6:42 am

On Wed, 21 May 2008 13:21:04 -0400

Do you have any other MMC cards that work? Ricoh doesn't something

If you have a newer controller, then the ricoh_mmc module won't be able
to do its magic. Try the following patch:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=882c49...

Rgds
-- 
     -- Pierre Ossman

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

Previous thread: [PATCH 2.6.26-rc3] xfrm: Installing NULL encryption IPSec SAs fails by Martin Willi on Wednesday, May 21, 2008 - 9:55 am. (6 messages)

Next thread: linux-next: UML build error by Gabriel C on Wednesday, May 21, 2008 - 10:26 am. (3 messages)