Re: 2.6.30: hibernation/swsusp lockup due to acpi-cpufreq

Rafael J. Wysocki
2009-06-16T00:16:22Z

On Tuesday 16 June 2009, Johannes Stezenbach wrote:
> Hi,
>
> on my aging Thinkpad T42p resume from hibernation
> fails in 2.6.30. There is a backtrace on suspend prior
> to writing out the disk image, but I cannot capture
> it due to lack of a serial port on the T42p. On
> resume the machine is dead after reading the image
> from disk.
>
> I've bisected this to:
>
> commit 01599fca6758d2cd133e78f87426fc851c9ea725
> Author: Andrew Morton <akpm@linux-foundation.org>
> Date: Mon Apr 13 10:27:49 2009 -0700
>
> cpufreq: use smp_call_function_[single|many]() in acpi-cpufreq.c
>
> I see in git log that this commit is known broken, but the
> resume on my machine is still broken in 2.6.30.
>
> If I disable CONFIG_X86_ACPI_CPUFREQ suspend/resume works in 2.6.30.

Thanks a lot for bisecting this!

Is it the reason for the enabling of interrupts during cpufreq_suspend()?

/me wonders

Is there anything we can do to fix this quickly?

Rafael