All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery.
@ 2010-11-20 19:55 bugzilla-daemon
  2010-11-21 17:06 ` [Bug 23412] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-11-20 19:55 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412

           Summary: Only the lowest CPU frequency available on laptop
                    working from battery.
           Product: Power Management
           Version: 2.5
    Kernel Version: 2.6.30+
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: cpufreq
        AssignedTo: cpufreq@vger.kernel.org
        ReportedBy: v_2e@ukr.net
        Regression: Yes


Hello!
  I use a laptop with Mobile AMD Sempron processor and I've been experiencing
the following problem since kernel version 2.6.30:

  When I work from AC power adapter, everything is fine - the whole set of
frequencies for my processor are avalable (namely, 800 MHz, 1600MHz, 1800MHz,
2000MHz and 2200MHz).
  When I unplug the AC adapter, the CPU switches to 800MHz mode and I cannot
make it use any of the higher frequencies. I know for sure that this worked
fine with kernel v.2.6.29.
  This is very inconvenient - to use the lowest available frequency every time
I work from the battery. I have reported this bug to Gentoo Bugzilla at first.
Here is the link:

  http://bugs.gentoo.org/show_bug.cgi?id=328395

  There are some details on this story on that page.

I hope the bug (if it is one) will be fixed soon.
Thanks.

Vladimir.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
@ 2010-11-21 17:06 ` bugzilla-daemon
  2010-11-21 17:07 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-11-21 17:06 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Thomas Renninger <trenn@suse.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trenn@suse.de




--- Comment #1 from Thomas Renninger <trenn@suse.de>  2010-11-21 17:06:05 ---
Please check your BIOS for an option like "powersave", "powersave on battery"
or somehow related to this.
If you do not find it read up the BIOS manual, possibly do a BIOS upgrade first
if you really do not find anything.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
  2010-11-21 17:06 ` [Bug 23412] " bugzilla-daemon
@ 2010-11-21 17:07 ` bugzilla-daemon
  2010-11-21 21:36 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-11-21 17:07 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Thomas Renninger <trenn@suse.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from Thomas Renninger <trenn@suse.de>  2010-11-21 17:07:49 ---
I close this one invalid already, as this is most probably a BIOS issue, this
even sounds intended.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
  2010-11-21 17:06 ` [Bug 23412] " bugzilla-daemon
  2010-11-21 17:07 ` bugzilla-daemon
@ 2010-11-21 21:36 ` bugzilla-daemon
  2010-12-17 14:10 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-11-21 21:36 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Vladimir <v_2e@ukr.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #3 from Vladimir <v_2e@ukr.net>  2010-11-21 21:36:56 ---
Hello!
I'm not sure if it is a BIOS problem, since like I have already said above,
this works properly with 2.6.29 kernel (I double-checked it today). It fails
with newer kernels with the very same BIOS settings.
If two different kernels behave differently with exactly the SAME BIOS
settings, could it be the BIOS issue?

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-11-21 21:36 ` bugzilla-daemon
@ 2010-12-17 14:10 ` bugzilla-daemon
  2010-12-17 15:25 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-12-17 14:10 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412





--- Comment #4 from Thomas Renninger <trenn@suse.de>  2010-12-17 14:09:35 ---
This is because previous kernels did not read out the BIOS limit at
processor.ko load time which was wrong and got fixed.

The reason why the BIOS limits freq can be totally different, e.g. here:
https://bugzilla.kernel.org/show_bug.cgi?id=16362
It gets limited on ThinkPads if you work with a 65 Watts AC adapter without
battery.

Or you might want to read the last comments of vyncere in this bug (the bug is
about something else, but that was not clear at the beginning):
https://bugzilla.kernel.org/show_bug.cgi?id=19702

-------------------
Thank you very much Thomas for your hint. As you suggested me to check the BIOS
limit (which was 1.20 GHz in my case), this morning I set in my BIOS for all
modes (AC/DC Power + Battery) the "Performance" profile, instead of
"Power-saving" one.

Now the BIOS limit is 2.40GHz, and cpufreq manage to do his job, without any
patches (2.6.36).
-------------------

I looked at quite some "Bios limits my frequency" bugs and the kernel always
behaved correct. If your ACPI tables are not busted (and you should see this by
some obvious ACPI Error messages in dmesg), I suggest you look up your BIOS
setting, your mainboard manual or update the BIOS if it does not help.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-12-17 14:10 ` bugzilla-daemon
@ 2010-12-17 15:25 ` bugzilla-daemon
  2010-12-18  8:28 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-12-17 15:25 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412





--- Comment #5 from Thomas Renninger <trenn@suse.de>  2010-12-17 15:25:40 ---
> If your ACPI tables are not busted (and you should see this by some obvious
> ACPI Error messages in dmesg
Not really true, if there is a logical bug, but syntax, etc. in ACPI code is
correct you may not see an error message.
But ACPI interpreting works pretty well these days and chances that the limit
is wanted by the OEM for whatever reasons are high.

You can override the BIOS limit by the boot param:
processor.ignore_ppc=1
But instead of using this all day, you should better find out why the BIOS
vendor/OEM limits your frequency, there is certainly a reason for it.

Above helps (and this is hopefully what the bug is about) only if you see the
limit here:
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit

If your frequency is restricted/limited due to other reasons, please open a new
bug and state it in the description to avoid confusion and mix ups of several
problems in one bug.

Hmm, there were quite some people in CC of this bug. I'd be interested how much
get fixed by BIOS settings, etc.. I keep the bug open for a while, even I am
pretty sure most/all people seeing BIOS frequency limits is *not* due to a
kernel bug.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-12-17 15:25 ` bugzilla-daemon
@ 2010-12-18  8:28 ` bugzilla-daemon
  2010-12-20  9:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-12-18  8:28 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412





--- Comment #6 from Vladimir <v_2e@ukr.net>  2010-12-18 08:28:20 ---
(In reply to comment #5)
> Above helps (and this is hopefully what the bug is about) only if you see the
> limit here:
> /sys/devices/system/cpu/cpu0/cpufreq/bios_limit
> 
  Yes, this is my case. I also mentioned this file in my bugreport on Gentoo
Bugzilla (the link to that bugreport is in the first message of this thread). I
do not remember the older kernels (before 2.6.30) to provide this file. And
like I said before, this file does store the lowest possible CPU frequency with
AC adapter off.
  I have found a BIOS feature "Andvanced power management", but triggering it
has no effect. I don't really know what is this feature for. So, there is no
way to change this behaviour tweaking the BIOS settings.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-12-18  8:28 ` bugzilla-daemon
@ 2010-12-20  9:22 ` bugzilla-daemon
  2010-12-20  9:47 ` bugzilla-daemon
  2011-01-18  6:53 ` [Bug 23412] Only lowest frequency available DC, unless "processor.ignore_ppc=1" - Mobile AMD Sempron bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-12-20  9:22 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Thomas Renninger <trenn@suse.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P5
           Severity|normal                      |enhancement




--- Comment #7 from Thomas Renninger <trenn@suse.de>  2010-12-20 09:20:27 ---
> I have found a BIOS feature "Andvanced power management"
Sounds related.

> I don't really know what is this feature for
Yep, finding out why the BIOS sets the frequency limit can be cumbersome.

Still, it's not a kernel, but a BIOS/platform issue.
As said, all initial BIOS limits were ignored by the kernel for quite some time
and this got fixed. Have you looked for BIOS updates and their changelogs
already? If not, this would be the next step.

If this also does not help, please attach acpidump output (with the new BIOS!).
Be aware that this is very low prio bug, as it's very likely that the culprit
(most likely this is even intended) comes from the BIOS.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only the lowest CPU frequency available on laptop working from battery.
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-12-20  9:22 ` bugzilla-daemon
@ 2010-12-20  9:47 ` bugzilla-daemon
  2011-01-18  6:53 ` [Bug 23412] Only lowest frequency available DC, unless "processor.ignore_ppc=1" - Mobile AMD Sempron bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-12-20  9:47 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Thomas Renninger <trenn@suse.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P5
           Severity|normal                      |enhancement




--- Comment #7 from Thomas Renninger <trenn@suse.de>  2010-12-20 09:20:27 ---
> I have found a BIOS feature "Andvanced power management"
Sounds related.

> I don't really know what is this feature for
Yep, finding out why the BIOS sets the frequency limit can be cumbersome.

Still, it's not a kernel, but a BIOS/platform issue.
As said, all initial BIOS limits were ignored by the kernel for quite some time
and this got fixed. Have you looked for BIOS updates and their changelogs
already? If not, this would be the next step.

If this also does not help, please attach acpidump output (with the new BIOS!).
Be aware that this is very low prio bug, as it's very likely that the culprit
(most likely this is even intended) comes from the BIOS.

--- Comment #8 from Vladimir <v_2e@ukr.net>  2010-12-20 09:46:30 ---
(In reply to comment #7)
> > I have found a BIOS feature "Andvanced power management"
> Sounds related.
  Well, I thik so too, but I tried to switch this option on/off several times,
and naven't noticed any changes in anything. This feature is also not
documented in the User's Manual for my laptop.

> Still, it's not a kernel, but a BIOS/platform issue.
  Yes. Now I'm sure this isn't a kernel issue.
  I tried to add the "processor.ignore_ppc=1" string to the kernel parameters
at startup, just like you suggested, and it really gave me access for all the
CPU frequencies, which is just great! Thank you for this tip! :)

> As said, all initial BIOS limits were ignored by the kernel for quite some time
> and this got fixed. Have you looked for BIOS updates and their changelogs
> already? If not, this would be the next step.
  Yes, I have looked for the BIOS updates, but there are no updates to fix this
strange behaviour.
  Moreover, I have been searching trough some fora these days and I see people
saying that MSI (my laptop vendor) knows about this problem and says that "this
is a company design policy of this model". This means they refuse to fix the
bug in their BIOS and release an update, I guess.
  There are also many Windows users who experience the same problem and they
found some software to tweak this on Windows too.

> If this also does not help, please attach acpidump output (with the new BIOS!).
> Be aware that this is very low prio bug, as it's very likely that the culprit
> (most likely this is even intended) comes from the BIOS.
  Well, now it certainly is BIOS to blame. Thus it seems to me this bug may be
closed already.  
  I think that now it is a question of spreading the information about
"processor.ignore_ppc" parameter. At least for operating systems using Linux as
their kernel.
  Oh, and by the way, I have found on some Debian-related forum that this
behaviour may be tweaked during run-time also by executing the following
command:
    echo 1 > /sys/module/processor/parameters/ignore_ppc

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 23412] Only lowest frequency available DC, unless  "processor.ignore_ppc=1" - Mobile AMD Sempron
  2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-12-20  9:47 ` bugzilla-daemon
@ 2011-01-18  6:53 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-01-18  6:53 UTC (permalink / raw)
  To: cpufreq

https://bugzilla.kernel.org/show_bug.cgi?id=23412


Len Brown <lenb@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |lenb@kernel.org
          Component|cpufreq                     |BIOS
         Resolution|                            |DOCUMENTED
         AssignedTo|cpufreq@vger.kernel.org     |acpi_bios@kernel-bugs.osdl.
                   |                            |org
            Product|Power Management            |ACPI
            Summary|Only the lowest CPU         |Only lowest frequency
                   |frequency available on      |available DC, unless
                   |laptop working from         |"processor.ignore_ppc=1" -
                   |battery.                    |Mobile AMD Sempron




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-18  6:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 19:55 [Bug 23412] New: Only the lowest CPU frequency available on laptop working from battery bugzilla-daemon
2010-11-21 17:06 ` [Bug 23412] " bugzilla-daemon
2010-11-21 17:07 ` bugzilla-daemon
2010-11-21 21:36 ` bugzilla-daemon
2010-12-17 14:10 ` bugzilla-daemon
2010-12-17 15:25 ` bugzilla-daemon
2010-12-18  8:28 ` bugzilla-daemon
2010-12-20  9:22 ` bugzilla-daemon
2010-12-20  9:47 ` bugzilla-daemon
2011-01-18  6:53 ` [Bug 23412] Only lowest frequency available DC, unless "processor.ignore_ppc=1" - Mobile AMD Sempron bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.