Table des matières

Dell D630, cpufreq, and suspend to ram

Symptoms

Suspend to ram doesn't work out of the box on a D630. In fact, one core doesn't resume correctly, acpi-cpufreq doesn't recognise it any more.

In dmesg:

Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4788.05 BogoMIPS (lpj=23940273)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz stepping 0a
ACPI Error (psloop-0136): Found unknown opcode FE at AML address ffffc200000227ca offset 3, ignoring [20070126]
ACPI Error (psloop-0136): Found unknown opcode 1F at AML address ffffc200000227cd offset 6, ignoring [20070126]
ACPI Error (psloop-0136): Found unknown opcode 2 at AML address ffffc200000227d4 offset D, ignoring [20070126]
ACPI Error (psloop-0136): Found unknown opcode C2 at AML address ffffc200000227d6 offset F, ignoring [20070126]
nssearch-0336 [00] ns_search_and_enter   : Found bad character(s) in name, repaired: [E***]
ACPI Error (psargs-0355): [E] Namespace lookup failure, AE_NOT_FOUND
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PCT] (Node ffff81007fe283f0), AE_NOT_FOUND
ACPI Exception (processor_perflib-0170): AE_NOT_FOUND, Evaluating _PCT [20070126]
CPU1 is up

Workaround

Here's a quick and ugly workaround (I hope someone will correct the bug):

Download http://gnugen.epfl.ch/~fasnacht/downloads/code/D630 and save it as /etc/hibernate/scriptlets.d/D630.

Do a chmod +x /etc/hibernate/scriptlets.d/D630

Append this line to /etc/hibernate/ram.conf:

EnableD630CpufreqFix On

Hibernate should work then!

Laurent Fasnacht 2007/11/20 16:52

~~DISCUSSION~~