Re: SDHCI regression since 2.6.39

Chris Ball
2011-09-13T17:12:08Z

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?

If it is running, and not helping, can I persuade you to try a full
bisection? 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.

Thanks!

- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child