<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 12/24/2010 05:59 AM, Steven Haigh wrote:
<blockquote cite="mid:4D1436A8.9030300@crc.id.au" type="cite">
<pre wrap="">Anyone have any ideas on this? :\
</pre>
</blockquote>
<br>
BIOS/platform issue<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; font-size:
medium;"><span class="Apple-style-span" style="font-family:
Verdana,sans-serif; font-size: 12px;"> </span></span>is a
common cause for the problem you are describing.<br>
<br>
First is to see what scaling frequency are offered and you can do so
by running... <br>
<br>
"cat
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies"
<br>
<br>
Next is to check what bios_limit the kernel sees and you can do so
by running... <br>
<br>
"cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit".<br>
<br>
If "bios limit" reports the highest available scaling frequency
while running plugged in and the lowest available scaling frequency
when unplugged as in running on battery it is not the culprit. <br>
<br>
Just run "watch -n1 "cat
/sys/devices/system/cpu/cpu*/cpufreq/bios_limit"" and
plug/unplug/plug on your laptop and the frequency should change from
highest to lowest to highest again.<br>
<br>
If it does not change frequency on battery or on AC or at specific
temp or with a specific AC adapter<span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; font-size:
medium;"><span class="Apple-style-span" style="font-family:
Verdana,sans-serif; font-size: 12px;"></span></span> you need to
upgraded your bios to the latest for your manufacturer and search
for SpeedStep, CPU frequency, P-state or power management related
options ( often there are some knobs there that need to be set to
"performance" ) in the bios and try changing it. <br>
<br>
If turning all the bios knobs from "power save" or similar to
"performance" or similar does not change the bios_limit you can
override it by adding <span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; font-size:
medium;"><span class="Apple-style-span" style="font-family:
Verdana,sans-serif; font-size: 12px;">"</span></span>processor.ignore_ppc=1"
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: Verdana,sans-serif;
font-size: 12px;"></span></span>to the kernel line in grub or
run "echo 1 > /sys/module/processor/parameters/ignore_ppc" to
tweak it during runtime however be aware that there must be a reason
why the vendor/OEM is limiting your frequency in the first place.<br>
<br>
If "bios_limit" is not the cause for this start by trying the latest
kernel versions for .35 .36 and .37 in koji and see if it's fixed in
any of them if not you will need to file a bug report and make sure
the <span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: 'Trebuchet
MS',Trebuchet,Verdana,arial,sans-serif;">kernel is compiled with
CPU_FREQ_DEBUG=y and you boot with "cpufreq.debug=7" or run "</span></span>echo
7 > /sys/module/cpufreq/parameters/debug"<span
class="Apple-style-span" style="border-collapse: separate; color:
rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
font-size: medium;"></span><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px; font-size:
medium;"><span class="Apple-style-span" style="font-family:
'Trebuchet MS',Trebuchet,Verdana,arial,sans-serif;"> to tweak it
during runtime and then attach "dmesg > dmesg.txt" along
with the output from "for x in
/sys/devices/system/cpu/cpu0/cpufreq/*;do echo $x;cat $x;done
&& for x in
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/*;do echo $x;cat
$x;done" to your report which should provide the maintainer with
sufficient info to start working on your report.<br>
<br>
Also take a look at various commands that come with the
cpufrequtils package like cpufreq-info etc..<br>
<br>
JBG<br>
<span class="Apple-converted-space"> </span></span></span>
</body>
</html>