Re: Investigating SD card failures

From: Pierre Ossman
Date: Fri Jul 27 2007 - 10:30:50 EST


On Fri, 27 Jul 2007 07:50:26 +0200
Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi Pierre,
>
> I have a 1GB SanDisk SD card here which linux does not recognize.
> Looking at the MMC debug output, I see the MMC core repeatedly
> issues CMD55/CMD41 commands (which all succeed!) then stops
> after 100 times. In sd_ops.c the code checks for a bit to get set.
> My question is, what exactly is this bit supposed to indicate?
>

That the card has initialized. Try extending the time that loop runs and see if the card powers up.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/