Comment 7 for bug 432706

Revision history for this message
Rex Wheeler (rex-wheeler) wrote :

I have a similar problem. I can't set the ondemand governer either through the command line or GUI since upgrading to Karmic. Here is the output of the above request from a boot to the previous kernel (it all works here):

tiger@seq:~$ uname -a
Linux seq 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux
tiger@seq:~$ echo "conservative" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative
tiger@seq:~$ echo "ondemand" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
tiger@seq:~$ echo "userspace" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
userspace
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
userspace
tiger@seq:~$ echo "powersave" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
tiger@seq:~$ echo "performance" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

Booting to kernel after Karmic upgrade (same machine):

tiger@seq:~$ uname -a
Linux seq 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

tiger@seq:~$ echo "conservative" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
tiger@seq:~$ echo "ondemand" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
tiger@seq:~$ echo "userspace" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
userspace
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
userspace
tiger@seq:~$ echo "powersave" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
tiger@seq:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
tiger@seq:~$ echo "performance" | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

It's a P4 Celeron:

tiger@seq:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Celeron(R) CPU 2.00GHz
stepping : 7
cpu MHz : 2000.000
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up pebs bts cid
bogomips : 4029.71
clflush size : 64
power management:

I get these in syslog:

Oct 30 13:51:30 seq kernel: [ 934.785094] conservative governor failed, too long transition latency of HW, fallback to performance governor
Oct 30 13:51:30 seq kernel: [ 934.886535] ondemand governor failed, too long transition latency of HW, fallback to performance governor