Package: cpufrequtils
Version: 008-1
Followup-For: Bug #666499
I'm also seeing this on a Dell Studio XPS 8100
The first CPU gets the correct frequency settings on resume, but the
others don't.
On boot - set via /etc/default/cpufrequtils:
ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED=2133000
MIN_SPEED=0
# cpufreq-info | grep 'be within'
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
After a suspend-to-ram, then resume:
# cpufreq-info | grep 'be within'
current policy: frequency should be within 1.20 GHz and 2.13 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
current policy: frequency should be within 1.20 GHz and 2.80 GHz.
i.e. first CPU retains settings, others revert to boot-time defaults.
I don't know what code (kernel/userspace/BIOS) should be responsible for
restoring the CPU frequency settings after resume, but it's not working
on this system the Jessie kernel.
As a workaround I created this script as
/lib/systemd/system-sleep/cpufrequtilsrestart
#!/bin/sh
case $1 in
pre)
# Do nothing
exit 0
;;
post)
echo "Setting CPU frequency preferences following system resume"
systemctl restart cpufrequtils.service
;;
esac
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cpufrequtils depends on:
ii debconf [debconf-2.0] 1.5.55
ii libc6 2.19-13
ii libcpufreq0 008-1
ii lsb-base 4.1+Debian13+nmu1
cpufrequtils recommends no packages.
cpufrequtils suggests no packages.
-- debconf-show failed
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]