Re: SDHCI regression since 2.6.39

From: Jeremy Fitzhardinge
Date: Tue Sep 13 2011 - 14:43:33 EST


On 09/13/2011 10:12 AM, Chris Ball wrote:
> Hi Jeremy,
>
> On Tue, Sep 13 2011, Jeremy Fitzhardinge wrote:
>>> On Mon, Sep 12 2011, Jeremy Fitzhardinge wrote:
>>>> Since 2.6.39, the SD card slot in my Lenovo X220 has stopped working.
>>>> When I insert a card with current linux.git kernel (3.1-rc6), I get:
>>>>
>>>> [ 3891.745549] mmc0: new SDHC card at address b368
>>>> [ 3891.790704] mmcblk0: mmc0:b368 PNY 7.51 GiB
>>>> [ 3891.795568] mmc0: Got data interrupt 0x00200000 even though no data
>>>> operation was in progress.
>>> Please could you try reverting a3c7778f8153b9 "mmc: sdhci: R1B command
>>> handling + MMC_CAP_ERASE"? We've had one other similar report that
>>> bisected to this patch.
>> The revert was not entirely trivial (below), but I'm fairly sure I got
>> it right, and it didn't help.
> Thanks very much for doing that, sorry it didn't help.
>
> There's another related patch for your controller:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773524
>
> This was merged as 15bed0f2fa8e1d7db ("mmc: Added quirks for Ricoh
> 1180:e823 lower base clock frequency"). Perhaps you could check that
> this code is running for you?

Yes, that's already there.

> If it is running, and not helping, can I persuade you to try a full
> bisection?

OK, will do.

> I don't think we have other reports of this bug, and the
> only other person who has reported something like it wasn't a kernel
> hacker.

That's interesting; the X220 is a pretty common machine these days, I
think. I wonder if there's variations in the SD controller or something?

> Thanks!


J
--
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/