cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: cpufreq@vger.kernel.org
Subject: [Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect
Date: Fri, 22 Apr 2011 09:17:27 GMT	[thread overview]
Message-ID: <201104220917.p3M9HRsb005158@demeter1.kernel.org> (raw)
In-Reply-To: <bug-33742-12968@https.bugzilla.kernel.org/>

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


Thomas Renninger <trenn@suse.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trenn@suse.de
          Component|cpufreq                     |BIOS
         AssignedTo|cpufreq@vger.kernel.org     |acpi_bios@kernel-bugs.osdl.
                   |                            |org
            Product|Power Management            |ACPI




--- Comment #5 from Thomas Renninger <trenn@suse.de>  2011-04-21 10:13:12 ---
> and the problems that I am seeing date back from at least version 2.6.24, from
> what I can remember.
Most likely a BIOS, _PPC issue, yes it is:
before:
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit:2001000
after:
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit:800000

That means _PPC does not return 0 anymore and BIOS tells the OS to limit the
frequency. This is an ACPI problem, cpufreq subsystem bevhaves fine (at least
this was always the case with similar bug reports recently).
-> Re-assign to ACPI component.

> Please attach dmesg output including an AC unplug/replug cycle.
Best boot with log_buf_len=16777216
before you do the unplug/replug cycle copy this into a file, make it executable
and follow instructions:
==============
#!/bin/bash

echo 0xFFFFFFFF >/sys/module/acpi/parameters/debug_layer
echo 0xF >/sys/module/acpi/parameters/debug_level
echo 7 >/sys/module/cpufreq/parameters/debug
logger "Before unplug"
echo "It's time to unplug ..."
sleep 5
logger "AC got unplugged"
echo "It's time to re-plug"
sleep 5
echo 0x0 >/sys/module/acpi/parameters/debug_layer
echo 0 >/sys/module/cpufreq/parameters/debug
==============
and then attach whole dmesg and also acpidump output.

Hm, before you should check for a BIOS upgrade and whether you find related
BIOS settings.

--- Comment #6 from Rogério Brito <rbrito@ime.usp.br>  2011-04-22 09:17:19 ---
Hi, Rafael, Thomas.

Thank you for your answers. Here comes my follow up.

(In reply to comment #5)
> That means _PPC does not return 0 anymore and BIOS tells the OS to limit the
> frequency. This is an ACPI problem, cpufreq subsystem bevhaves fine (at least
> this was always the case with similar bug reports recently).
> -> Re-assign to ACPI component.

OK, sorry for assigning that to the wrong component. It is not always obvious
where to file some bugs.

> > Please attach dmesg output including an AC unplug/replug cycle.
> Best boot with log_buf_len=16777216
> before you do the unplug/replug cycle copy this into a file, make it executable
> and follow instructions:
> ==============
> #!/bin/bash
> 
> echo 0xFFFFFFFF >/sys/module/acpi/parameters/debug_layer
> echo 0xF >/sys/module/acpi/parameters/debug_level
> echo 7 >/sys/module/cpufreq/parameters/debug
> logger "Before unplug"
> echo "It's time to unplug ..."
> sleep 5
> logger "AC got unplugged"
> echo "It's time to re-plug"
> sleep 5
> echo 0x0 >/sys/module/acpi/parameters/debug_layer
> echo 0 >/sys/module/cpufreq/parameters/debug
> ==============

OK. I did all that. As the logs are very big, I am including them compressed
here. Please let me know if that's not what you want.

> Hm, before you should check for a BIOS upgrade and whether you find related
> BIOS settings.

Unfortunately, I first tried to find the most recent BIOS update from the
manufacturer (it's dated from 2010, IIRC) and, then, after flashing and
noticing that it wasn't working, I filed the bug.

I don't quite expect any updated version of the BIOS from MSI. Would there be
any way to circumvent the buggy BIOS? If not in a clean and generic way,
perhaps passing the kernel any extra option?


Thanks,

Rogério Brito.

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

      parent reply	other threads:[~2011-04-22  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-33742-12968@https.bugzilla.kernel.org/>
2011-04-20 19:15 ` [Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect bugzilla-daemon
2011-04-22  9:17 ` bugzilla-daemon [this message]

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=201104220917.p3M9HRsb005158@demeter1.kernel.org \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=cpufreq@vger.kernel.org \
    /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