Re: can't resume from ACPI S3 with TICK_ONESHOT

From: Borislav Petkov
Date: Wed Jan 05 2011 - 07:10:18 EST


On Tue, Jan 04, 2011 at 06:45:39PM -0700, James C. Georgas wrote:
> If I enable CONFIG_NO_HZ or CONFIG_HIGH_RES_TIMERS, then I can't resume
> from the ACPI S3 state (AKA suspend to RAM). The fan starts up, and the
> power LED stops blinking and comes back on, but then the fan spins down
> again, the screen stays off, and the system is unresponsive to input. I
> have to power down by holding the power button for four seconds.
>
> The only thing I can see that both options have in common is that they
> both enable CONFIG_TICK_ONESHOT.
>
> Here are my kernel config and dmesg. This config has CONFIG_NO_HZ set. I
> get the same result with it unset, and CONFIG_HIGH_RES_TIMERS set
> instead.

Can you try booting with "nohpet" on the kernel command line?

..

> Linux version 2.6.36.2-s2ram (root@Tachyon) (gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) ) #7 PREEMPT Tue Jan 4 17:43:43 MST 2011

Is that a vanilla kernel from kernel.org or is it a gentoo one with some
patches ontop?

More questions:

Can you try the freshly released 2.6.37 to see whether you see different
results with it.

Also, are you running the latest BIOS from your chipset vendor? Can you
send dmidecode and "lspci -v" output too?

How exactly do you suspend to RAM? Using pm-suspend from pm-utils?

That should be it for now.

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
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/