Re: [3/5] 2.6.21-rc4: known regressions (v2)

From: Maxim
Date: Fri Mar 23 2007 - 15:08:17 EST


On Friday 23 March 2007 20:50:22 Adrian Bunk wrote:

> Subject : suspend to disk hangs
> References : http://lkml.org/lkml/2007/3/16/126
> Submitter : Maxim Levitsky <maximlevitsky@xxxxxxxxx>
> Caused-By : Rafael J. Wysocki <rjw@xxxxxxx>
> commit e3c7db621bed4afb8e231cb005057f2feb5db557
> commit ed746e3b18f4df18afa3763155972c5835f284c5
> commit 259130526c267550bc365d3015917d90667732f1
> Status : unknown
>
>

Hello,
It is fixed

The problem is that now cpu_up/cpu_down is called with tasks frozen,
and this can lead to deadlock if some driver that registered cpu up/down notifier, sleeps,

On my system it froze in two places, one in XFS due to freezable workqueues, and in
microcode update driver that ask the "frozen" userspace for firmware.

Fix for XFS is already in mainline, and Rafael J. Wysocki. already posted a patch that fixes microcode issue,
I will test it.

But I feel that there are more drivers that can deadlock system in same way, on my system S3/S4 works perfect :-)
Even the weird hang i had disappeared.

Big thanks to Rafael J. Wysocki.


Best regards,
Maxim Levitsky
-
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/