Re: [Bug 10030] Suspend doesn't work when SD card is inserted

From: Alan Stern
Date: Wed Feb 20 2008 - 11:43:49 EST


On Tue, 19 Feb 2008 bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10030
>
>
>
>
>
> ------- Comment #14 from rjw@xxxxxxx 2008-02-19 15:23 -------
> Thanks a lot for the debugging work!
>
> First, the patch triggers, which means that the problem discovered by Alan is
> troubling us. [Alan, do you have an idea how to fix that cleanly?]

I suggest we ask the maintainer for the MMC subsystem.

Pierre, you can find the details in the bugzilla entry. Briefly,
there's a pathway in the MMC core suspend routine (if the driver
doesn't implement a resume hook) which could lead to the host being
removed during a system suspend. This is an illegal operation and it
will deadlock.

Do you have a suggestion for a way to fix it?

Alan Stern

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