cpufreq scaling_grovernor only saved for CPU0 on SMP following suspend/resume.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
powernowd (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I have a Dell Inspiron 9400 with a Core 2 Duo (2 GHz). When I suspend and then resume it, the second core frequency scaling is reset.
Here's a test case. Start with cpu0 for comparison:
$ cd /sys/devices/
$ cat scaling_governor
ondemand
[suspend and resume now]
$ cat scaling_governor
ondemand
Now reboot (or restart powernowd!) and try again with cpu1:
$ cd /sys/devices/
$ cat scaling_governor
ondemand
[suspend and resume now]
$ cat scaling_governor
cat: scaling_governor: No such file or directory
$ cd ../cpufreq
$ cat scaling_governor
performance
So the cpu1 directory remains, but the cpufreq directory completely disappears, and is recreated over resume with new, default settings. The "hackish" solution is to restart powernowd after resume, but I guess the real solution lies in the kernel.
Changed in linux-source-2.6.20: | |
assignee: | nobody → timg-tpi |
Changed in linux-source-2.6.20: | |
assignee: | timg-tpi → nobody |
importance: | Undecided → Medium |
Thanks for your bug report. With which version of Ubuntu and the kernel did you notice this? Thanks in advance.