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

Alan Stern
2008-02-20T16:43:46Z

On Tue, 19 Feb 2008 bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10030
>
>
>
>
>
> ------- Comment #14 from rjw@sisk.pl 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