[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2013-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742

Zhang Rui  changed:

   What|Removed |Added

   Assignee|acpi_b...@kernel-bugs.osdl. |rui.zh...@intel.com
   |org |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2013-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742

Zhang Rui  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DOCUMENTED

--- Comment #20 from Zhang Rui  ---
Method (_PSR, 0, NotSerialized)
{
If (POWS)
{
Return (One)
}
Else
{
If (LLess (MDCH, 0x0B))
{
Or (0x11, PTHR, PTHR)
Notify (\_PR.P001, 0x80)
Sleep (0x0A)
Notify (\_PR.P002, 0x80)
}

Return (Zero)
}
}

AFAICS, this is a BIOS problem to me.
the PTHR is not set properly when AC is reconnected, and this results in
Method (_PPC, 0, NotSerialized)
{
If (LEqual (And (\PTHR, 0x01), 0x01))
{
Return (Subtract (SizeOf (SPSS), 0x01))
}
Else
{
Return (0x00)
}
}
the _PPC method returns an non-zero value that limits the cpu frequency.

Bug closed as there is nothing from OS side.
Rogério Brito,
please use processor.ignore_ppc=1 to workaround this issue. BTW, surely I can
modidy the DSDT table to fix the AML code, but this is not preferred as you
need to rebuild your kernel every time when you want to use a new kernel
released. :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2013-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Rogério Brito  changed:

   What|Removed |Added

 Status|CLOSED  |REOPENED
 Resolution|INSUFFICIENT_DATA   |




--- Comment #19 from Rogério Brito   2013-05-16 05:02:24 ---
Hi.

This problem still exists with kernel 3.10.0-031000rc1-generic, which I took
from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-rc1-saucy/

Please let me know if further data is needed and I will do my best to provide
it.


Thanks in advance, Rogério Brito.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2012-05-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Zhang Rui  changed:

   What|Removed |Added

 Status|NEEDINFO|CLOSED
 Resolution||INSUFFICIENT_DATA




--- Comment #18 from Zhang Rui   2012-05-24 07:57:50 ---
bug closed as there is no response from the bug reporter.
please feel free to reopen it if the problem still exists in the latest
upstream kernel.

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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2012-01-17 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Zhang Rui  changed:

   What|Removed |Added

 CC||rui.zh...@intel.com




--- Comment #17 from Zhang Rui   2012-01-18 05:06:39 ---
It's great that the kernel bugzilla is back.

Can you please verify if the problem still exists in the latest upstream
kernel?

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

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #16 from Rogério Brito   2011-04-29 07:03:32 ---
Hi again.

(In reply to comment #13)
> OK. I can live with that in my boot loader, thank you. Are there any
> unintended side-effects?
(...)
> I will just test the kernel parameter and post back what I find, so
> that you can be informed.

Just keeping up with my promise, I have tested this, and I think that it works
perfectly well. Actually, perhaps not 100% well, but I have yet to see if that
is the parameter or if that is some other instability here, since I observed
the following:

I booted with processor.ignore_ppc=1, unplugged the power, plugged the power
and started compiling a new kernel. Then, I left the computer for some minutes.
After I returned it was turned off.

That may have been a fluke, though. I will try with one of the stable series
kernels and give feedback.


Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #15 from Rogério Brito   2011-04-28 11:42:22 ---
Hi, Thomas and others.

On Thu, Apr 28, 2011 at 06:57,   wrote:
>> I'll leave for holidays for 3 weeks. You can workaround the issue with:
>> processor.ignore_ppc=1 boot parameter.
>
> OK. I can live with that in my boot loader, thank you. Are there any
> unintended side-effects?

Just for the record, passing that option seems to work well so far and
I am so happy that after almost 4 years this notebook is now not
restricted to being operated as a desktop only.


Thank you so very much so far,
Rogério Brito.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #14 from Rogério Brito   2011-04-28 09:59:51 ---
Created an attachment (id=55782)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=55782)
Tarball with the ACPI tables

Here is the tarball with the requested ACPI tables.

They apparently didn't come with my e-mail. I hope that everything is right
now.

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #13 from Rogério Brito   2011-04-28 09:57:30 ---
Hi, Thomas.

On Thu, Apr 28, 2011 at 05:58,  Thomas Renninger wrote:
> --- Comment #12 from Thomas Renninger   2011-04-28 08:57:58 ---
> Argh, the _PPC function is in a dynamically loaded SSDT which the older
> acpidump does not dump. Can you either compile and run the latest acpidump:
> ftp://kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools/acpidump

No problems. Sure I can compile from that. Anything that you wish.

> copy away and attach the exported tables from here, please:
> /sys/firmware/acpi/tables/dynamic/*

I am attaching here a (small, 850 bytes) tarball with the tables. Does
that mean that the compilation of acpidump above is unnecessary?

> Do you use the original power adapter/battery?

Everything here is original, stock, except the BIOS that was asked to
be upgraded, of course. But this issue was seen since I first acquired
this notebook.

> There were several reports already where this happens when:
>  - some ThinkPads if running on AC with battery unplugged (confirmed by Lenovo
>    that this is intended).
>  - 60W instead of 90W AC adapter
> and similar...

OK. The notebook here is a Itautec N8320 (actually, a rebranded MSI
PR200). Let me just check the AC adapter specs... OK, I'm back. Here
it says that it generates (output, direct current) 19V with 3.42A,
which would make that 19*3.42 = 64.98 W, or, in market-speak, 65W,
right?

> I'll leave for holidays for 3 weeks. You can workaround the issue with:
> processor.ignore_ppc=1
> boot parameter.

OK. I can live with that in my boot loader, thank you. Are there any
unintended side-effects?

> If I have some time again, I can have another look why the BIOS
> is requesting the limit, ping in 4 weeks or so if things get stuck.

OK, no problems.

> I reduce prio of this. Such _PPC/frequency limit issues mostly boil down to be
> a BIOS issue and the kernel typically behaves correctly.

Thank you very much for the workaround. I'm not really sure if we
should cripple the kernel just because we have some defective BIOS,
unless that can be summarized to a blacklist entry.

OTOH, since you are an expert on ACPI, perhaps the other bug (11717)
would benefit from your knowledge, as I am seeing some really weird
behaviour of this notebook. I even put a video on my homepage showing
how it works:

http://www.ime.usp.br/~rbrito/linux/itautec-n8320-sleep-problems.webm

I will just test the kernel parameter and post back what I find, so
that you can be informed.


Thank you very much for the reply, Thomas.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Thomas Renninger  changed:

   What|Removed |Added

   Priority|P1  |P5
   Severity|normal  |low




--- Comment #12 from Thomas Renninger   2011-04-28 08:57:58 ---
Argh, the _PPC function is in a dynamically loaded SSDT which the older
acpidump does not dump. Can you either compile and run the latest acpidump:
ftp://kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools/acpidump
or
copy away and attach the exported tables from here, please:
/sys/firmware/acpi/tables/dynamic/*

Do you use the original power adapter/battery?
There were several reports already where this happens when:
  - some ThinkPads if running on AC with battery unplugged (confirmed by Lenovo
that this is intended).
  - 60W instead of 90W AC adapter
and similar...

I'll leave for holidays for 3 weeks. You can workaround the issue with:
processor.ignore_ppc=1
boot parameter. If I have some time again, I can have another look why the BIOS
is requesting the limit, ping in 4 weeks or so if things get stuck.
I reduce prio of this. Such _PPC/frequency limit issues mostly boil down to be
a BIOS issue and the kernel typically behaves correctly.

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

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #11 from Rogério Brito   2011-04-28 05:54:35 ---
Hi.

I said this in bug 11717, but that's valid here as well:

> Oh, BTW, I still have this Windows Vista partition here (which I want to get 
> rid of, since it is mostly useless to me, as I have not used DOS/Windows in 
> the last 17 years and I don't see any value in that, aside of 
> reverse-engineering it to make Linux work out of the box).

> What all this means is that I am willing to install some 
> development/debugging tools under Windows so that I can provide dumps, logs, 
> etc. to get the Linux kernel to work even with quiky hardware (which is, 
> unfortuately, not unheard of).

> Unfortunately, Intel's http://biosbits.org/ (which, among other things, 
> claims to be able to set the BIOS parameters to sane defaults before booting 
> a kernel) says that my Core 2 Duo system is "unknown", which means that we 
> have one fewer tool at our disposal.

> Do you happen to have any contacts with (or are one of the) people from that 
> project? I am willing to run many experiments here to get things straight on 
> this system.

> Please, note how many times I have used something like "I am willing to" in 
> the paragraphs above.

I hope that his helps in fixing (or, at least, working around) this bug.


Thanks,
Rogério Brito.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #10 from Rogério Brito   2011-04-28 05:43:39 ---
Hi, just a reminder, I am ready to test things here, and am willing to play the
guinea pig role. :-)


Thanks in advance,
Rogério Brito.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Rogério Brito  changed:

   What|Removed |Added

 CC||rbr...@ime.usp.br




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #9 from Rogério Brito   2011-04-22 09:27:16 ---
Created an attachment (id=54992)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=54992)
Compressed dmesg after replugging the AC adapter

It seems that the interesting stuff happens at around 160s, especially at
163.75s or so, but you people surely know better than I do what are the crucial
points.

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #8 from Rogério Brito   2011-04-22 09:25:23 ---
Created an attachment (id=54982)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=54982)
Compressed dmesg from before unplugging the AC adapter

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742





--- Comment #7 from Rogério Brito   2011-04-22 09:20:24 ---
Created an attachment (id=54972)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=54972)
Output from acpidump

Please, note that there was an error (warning?) message sent to stderr saying
that there was a checksum mismatch in one of the sections.

I included it in the file, but I don't know if you just wanted the "pristine"
acpidump or not.

I am trying to err on the side of excess here.

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Thomas Renninger  changed:

   What|Removed |Added

 CC||tr...@suse.de
  Component|cpufreq |BIOS
 AssignedTo|cpuf...@vger.kernel.org |acpi_b...@kernel-bugs.osdl.
   ||org
Product|Power Management|ACPI




--- Comment #5 from Thomas Renninger   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:80

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 0x >/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   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 0x >/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 watching the assignee of the bug.
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 33742] Unable to raise CPU frequency of notebook after AC adapter disconnect and reconnect

2011-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33742


Thomas Renninger  changed:

   What|Removed |Added

 CC||tr...@suse.de
  Component|cpufreq |BIOS
 AssignedTo|cpuf...@vger.kernel.org |acpi_b...@kernel-bugs.osdl.
   ||org
Product|Power Management|ACPI




--- Comment #5 from Thomas Renninger   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:80

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 0x >/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.

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

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla