Skip to contentSkip to conversation

2.6.24 not recognizing 2G MMC card?

DISCUSSION J. Bruce Fields 3 participants 7 messages May 21, 2008 – May 28, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

2008/5/21 J. Bruce Fields <[email protected]>:

Quoted 14 lines

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.

Quoted 7 lines

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.

Hi,

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

Signature · 1 line
Tom Spink
#2 lore raw
Quoted 19 lines · Tom Spink

2008/5/21 J. Bruce Fields <[email protected]>:

Quoted 18 lines

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.

Quoted 7 lines
Quoted 3 lines

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

--b.

Hi,

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

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

--b.

#3 lore raw

2008/5/22 J. Bruce Fields <[email protected]>:

Quoted 24 lines · Tom Spink
Quoted 23 lines

2008/5/21 J. Bruce Fields <[email protected]>:

Quoted 21 lines

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.

Quoted 9 lines
Quoted 3 lines

Hi,

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

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

--b.

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,

Signature · 1 line
Tom Spink
#4 lore raw
Quoted 29 lines · Tom Spink

2008/5/22 J. Bruce Fields <[email protected]>:

Quoted 28 lines · Tom Spink
Quoted 26 lines

2008/5/21 J. Bruce Fields <[email protected]>:

Quoted 14 lines

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.

Quoted 7 lines

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.

Hi,

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

Quoted 8 lines
Quoted 5 lines
root@pig:/home/bfields# lsmod | grep ricoh
ricoh_mmc               4352  0

--b.

So does the MMC card work on other card readers, i.e. it's not damaged?

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 fit physically in the slot.

Quoted 3 lines

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?

It doesn't trigger any dmesg output at all.

--b.

#5 lore raw

2008/5/22 J. Bruce Fields <[email protected]>:

Quoted 41 lines · Tom Spink
Quoted 29 lines

2008/5/22 J. Bruce Fields <[email protected]>:

Quoted 28 lines · Tom Spink
Quoted 26 lines

2008/5/21 J. Bruce Fields <[email protected]>:

Quoted 14 lines

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.

Quoted 7 lines

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.

Hi,

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

Quoted 8 lines
Quoted 5 lines
root@pig:/home/bfields# lsmod | grep ricoh
ricoh_mmc               4352  0

--b.

So does the MMC card work on other card readers, i.e. it's not damaged?

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

Quoted 8 lines

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 fit physically in the slot.

Hmm. It is worth a check, given your next response...

Quoted 6 lines
Quoted 4 lines

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?

It doesn't trigger any dmesg output at all.

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 output.

Quoted 3 lines

--b.

Signature · 1 line
Tom Spink
#6 lore raw
In reply to J. Bruce Fields
Quoted 11 lines · On Wed, 21 May 2008 13:21:04 -0400 "J. Bruce Fields" <[email protected]>…

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.

Do you have any other MMC cards that work? Ricoh doesn't something silly when it comes to MMC cards that fouls things up.

Quoted 3 lines

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

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=882c49164d72c45f37d7fa1bb3de7c31cf1a5fab

Rgds

Signature · 4 lines
     -- Pierre Ossman

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