Re: tifm_7xx1: SD card is ignored

From: Pierre Ossman
Date: Wed May 21 2008 - 08:27:43 EST

On Wed, 7 May 2008 18:50:54 +0200
"Kim Hansen" <kimhanse@xxxxxxxxx> wrote:

> Now it just looks like it sometimes work and other times don't, on
> some kernels it works on 80% inserts and on other it only works on 5%.
> This means that the problem most likely has not been fixed between
> 2.6.24 and 2.6.25, it was just a coincidence that it worked on on and
> not the other the first few times I tested it.

I missed the start of this, but I assume it is just the one card that
exhibits this craziness?

> I have captured some logs now, there is logs of a successful insert
> and remove, and of an unsuccessful.
> Successful insert: 16:18:50 remove: 16:20:26
> Unsuccessful insert: 16:21:38 remove: 16:21:47
> The log can be found at:
> This is the part from the unsuccessful insert:


> sdhci [sdhci_irq()]: *** sdhci:slot0 got interrupt: 0x00000001
> mmc0: req done (CMD5): 0: ffffffff 00000000 00000000 00000000

What can I say, the card thinks it's an SDIO card. :)

The question is why. Might be some shoddy wiring between the card and
the controller that causes some unlucky misinterpretations. Might also
be that the card needs some increased delay to function correctly. Try


to mmc_rescan() in drivers/mmc/core/core.c. Put it right after


Attachment: signature.asc
Description: PGP signature