cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz <arekm@maven.pl>
To: trenn@suse.de
Cc: cpufreq@lists.linux.org.uk, "Beglin, Brad R" <brad.beglin@gatech.edu>
Subject: Re: bug? acpi p-state + ondemand keeps dropping max freq
Date: Tue, 8 Jul 2008 12:57:50 +0200	[thread overview]
Message-ID: <200807081257.51313.arekm@maven.pl> (raw)
In-Reply-To: <1213366888.16101.226.camel@queen.suse.de>

On Friday 13 June 2008, Thomas Renninger wrote:
> On Tue, 2008-06-10 at 18:40 -0400, Beglin, Brad R wrote:
> > >I am also unable to change my max scaling frequency on my Thinkpad T61.
> > >Interestingly enough, I can change the frequency as long as the new
> > > value is less than 1.2 GHz.  If I try to set the new max frequency
> > > higher than that, the max scaling frequency file reverts to 1.2GHz. 
> > > Here is in example:
> >
> > Well, I did a lot more research, and it seems, at least in my case and
> > probably others, that this is a long-time know bug, as detailed here:
> >
> > http://bugzilla.kernel.org/show_bug.cgi?id=7060
> > http://lkml.org/lkml/2007/1/16/120
> > http://www.thinkwiki.org/wiki/Problem_with_CPU_frequency_scaling
> > http://forums.lenovo.com/lnv/board/message?board.id=T_Series_Thinkpads&th
> >read.id=7420
>
> Be careful, these reports have different causes.
> E.g.:
> ---
> If the battery pack is removed and the laptop is powered by AC only, the
> CPU downclocks to the lowest multiplier and remains locked in low speed
> ---
> Might be a BIOS bug (or even intended?).
>
> > However, I can report, as outlined in the Thinkwiki.org article, that
> > adding
> > "processor.ignore_ppc=1" to the kernel boot parameters fixed the
> > problem for me
> > (with kernel 2.6.25-r4).
> >
> > I hope this helps the others who are having the same problem. mp.
>
> Arkadiusz has provided some interesting debug results.
> He and some others reported cpufreq limitation to the lowest freq on
> some boots. I am pretty sure this is not a BIOS issue as _PPC is always
> 0 there.
>
> Beglin: If you could compile CPU_FREQ_DEBUG in and boot with
> cpufreq.debug=7. If you run into this issue and grep for:
> dmesg |grep -i ppc
> you probably see the same issue than Arkadiusz which probably is not a
> BIOS but a kernel error.
>
> Arkadiusz: If you run into this again can you check whether you have:
> cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias
> set (if yes, this should only be set when working on battery?).

Was zero there afail. (I did the test some time ago after seeing this mail but 
forgot to reply 8-)

> Another idea:
> Maybe increasing
> /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
> helps?

Didn't help. I was trying to various values there.

>
> Strange seem to be the duplicate messages and duplicate tries to set the
> same freq over and over again.
>
> Also there seem some frequencies tried to be set which should not exist:
> 152342 kHz, 57142 kHz, 0 kHz

>    Thomas

-- 
Arkadiusz Mi≈õkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq

  reply	other threads:[~2008-07-08 10:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 22:40 bug? acpi p-state + ondemand keeps dropping max freq Beglin, Brad R
2008-06-13 14:21 ` Thomas Renninger
2008-07-08 10:57   ` Arkadiusz Miskiewicz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-10 21:45 Beglin, Brad R
     [not found] <20080606140846.GA9580@ucw.cz>
2008-06-07 21:39 ` Pavel Machek
2008-06-07 21:54   ` Arjan van de Ven
2008-06-07 23:36     ` Holger Macht
2008-06-09 16:39     ` Kok, Auke
2008-06-16 10:42     ` Pavel Machek
2008-06-16 14:43       ` Arjan van de Ven
2008-06-17  8:44         ` Pavel Machek
2008-07-05 19:49         ` Björn Steinbrink
2008-07-05 20:04           ` Björn Steinbrink
2008-06-17 18:15       ` Len Brown
2008-06-05 22:30 Kok, Auke
2008-06-06  4:13 ` Henrique de Moraes Holschuh
2008-06-06 16:34   ` Kok, Auke
2008-06-06 19:47     ` Henrique de Moraes Holschuh
2008-06-07  2:46 ` Len Brown
2008-06-07 23:22 ` Björn Steinbrink

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807081257.51313.arekm@maven.pl \
    --to=arekm@maven.pl \
    --cc=brad.beglin@gatech.edu \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=trenn@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox