public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.24 not recognizing 2G MMC card?
@ 2008-05-21 17:21 J. Bruce Fields
  2008-05-21 18:01 ` Tom Spink
  2008-05-28 13:42 ` Pierre Ossman
  0 siblings, 2 replies; 7+ messages in thread
From: J. Bruce Fields @ 2008-05-21 17:21 UTC (permalink / raw)
  To: drzeus-mmc; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-21 17:21 2.6.24 not recognizing 2G MMC card? J. Bruce Fields
@ 2008-05-21 18:01 ` Tom Spink
  2008-05-22  3:38   ` J. Bruce Fields
  2008-05-28 13:42 ` Pierre Ossman
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Spink @ 2008-05-21 18:01 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: drzeus-mmc, linux-kernel

2008/5/21 J. Bruce Fields <bfields@fieldses.org>:
> 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.

Hi,

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

-- 
Tom Spink

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-21 18:01 ` Tom Spink
@ 2008-05-22  3:38   ` J. Bruce Fields
  2008-05-22 18:10     ` Tom Spink
  0 siblings, 1 reply; 7+ messages in thread
From: J. Bruce Fields @ 2008-05-22  3:38 UTC (permalink / raw)
  To: Tom Spink; +Cc: drzeus-mmc, linux-kernel

On Wed, May 21, 2008 at 07:01:10PM +0100, Tom Spink wrote:
> 2008/5/21 J. Bruce Fields <bfields@fieldses.org>:
> > 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.
> 
> Hi,
> 
> What does: lsmod | grep ricoh, give you?  Anything?

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

--b.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-22  3:38   ` J. Bruce Fields
@ 2008-05-22 18:10     ` Tom Spink
  2008-05-22 18:22       ` J. Bruce Fields
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Spink @ 2008-05-22 18:10 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: drzeus-mmc, linux-kernel

2008/5/22 J. Bruce Fields <bfields@fieldses.org>:
> On Wed, May 21, 2008 at 07:01:10PM +0100, Tom Spink wrote:
>> 2008/5/21 J. Bruce Fields <bfields@fieldses.org>:
>> > 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.
>>
>> 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,
-- 
Tom Spink

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-22 18:10     ` Tom Spink
@ 2008-05-22 18:22       ` J. Bruce Fields
  2008-05-22 18:27         ` Tom Spink
  0 siblings, 1 reply; 7+ messages in thread
From: J. Bruce Fields @ 2008-05-22 18:22 UTC (permalink / raw)
  To: Tom Spink; +Cc: drzeus-mmc, linux-kernel

On Thu, May 22, 2008 at 07:10:22PM +0100, Tom Spink wrote:
> 2008/5/22 J. Bruce Fields <bfields@fieldses.org>:
> > On Wed, May 21, 2008 at 07:01:10PM +0100, Tom Spink wrote:
> >> 2008/5/21 J. Bruce Fields <bfields@fieldses.org>:
> >> > 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.
> >>
> >> Hi,
> >>
> >> What does: lsmod | grep ricoh, give you?  Anything?
> >
> > 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.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-22 18:22       ` J. Bruce Fields
@ 2008-05-22 18:27         ` Tom Spink
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Spink @ 2008-05-22 18:27 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: drzeus-mmc, linux-kernel

2008/5/22 J. Bruce Fields <bfields@fieldses.org>:
> On Thu, May 22, 2008 at 07:10:22PM +0100, Tom Spink wrote:
>> 2008/5/22 J. Bruce Fields <bfields@fieldses.org>:
>> > On Wed, May 21, 2008 at 07:01:10PM +0100, Tom Spink wrote:
>> >> 2008/5/21 J. Bruce Fields <bfields@fieldses.org>:
>> >> > 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.
>> >>
>> >> Hi,
>> >>
>> >> What does: lsmod | grep ricoh, give you?  Anything?
>> >
>> > 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.

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

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

>
> --b.
>

-- 
Tom Spink

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.24 not recognizing 2G MMC card?
  2008-05-21 17:21 2.6.24 not recognizing 2G MMC card? J. Bruce Fields
  2008-05-21 18:01 ` Tom Spink
@ 2008-05-28 13:42 ` Pierre Ossman
  1 sibling, 0 replies; 7+ messages in thread
From: Pierre Ossman @ 2008-05-28 13:42 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: linux-kernel

On Wed, 21 May 2008 13:21:04 -0400
"J. Bruce Fields" <bfields@fieldses.org> wrote:

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

> 
> 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
-- 
     -- Pierre Ossman

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-28 13:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21 17:21 2.6.24 not recognizing 2G MMC card? J. Bruce Fields
2008-05-21 18:01 ` Tom Spink
2008-05-22  3:38   ` J. Bruce Fields
2008-05-22 18:10     ` Tom Spink
2008-05-22 18:22       ` J. Bruce Fields
2008-05-22 18:27         ` Tom Spink
2008-05-28 13:42 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox