* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-24 18:16 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-24 18:16 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-03-24 11:16 -------
Created an attachment (id=10932)
--> (http://bugzilla.kernel.org/attachment.cgi?id=10932&action=view)
dmesg.log with debug output
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-24 18:18 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-24 18:18 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-03-24 11:18 -------
Created an attachment (id=10933)
--> (http://bugzilla.kernel.org/attachment.cgi?id=10933&action=view)
kernel configuration I used for 2.26.21-rc3 to reproduce the problem
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-24 23:48 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-24 23:48 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
dsd@gentoo.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kernel@gentoo.org
------- Additional Comments From dsd@gentoo.org 2007-03-24 16:48 -------
This is a 2.6.19 regression (2.6.18 was OK) which has been reproduced as of
2.6.21-rc3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-29 13:04 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-29 13:04 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-03-29 06:04 -------
Okay. I tracked down the problem with git. Here is what is the submission that
causes the problem:
solaris linux-git # git bisect good
0916bd3ebb7cefdd0f432e8491abe24f4b5a101e is first bad commit
commit 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e
Author: Dave Jones <davej@redhat.com>
Date: Wed Nov 22 20:42:01 2006 -0500
[PATCH] Correct bound checking from the value returned from _PPC method.
processor_perflib.c::acpi_processor_ppc_notifier() check if the value
returned by the processor's _PPC method is 0 and return failed if so.
This is wrong since 0 indicate that the bios think the processor can go
to the highest frequency. This patch for example fix the HP NX 6125 to
allow its highest frequency to be available.
Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
:040000 040000 d6696bf57e1a08b39e051bcf22c838723ccdf0bf
a67b7741e5163c598cb3663c7997dc663516695e M drivers
Maybe someone can look into it.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-29 14:57 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-29 14:57 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-03-29 07:57 -------
I google a bit and found that this regression is already known and a patch has
been proposed:
http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg04484.html
Don't know whether this is just a workaround or a fix. I do not know anything
about kernel hacking...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-29 15:38 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-29 15:38 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-03-29 08:38 -------
I already suspected that exact issue which is why I asked you to test
gentoo-sources-2.6.19-r6 on the downstream bug, as that patch was merged into
2.6.19.3. So although it appears to be the same commit at fault, it must be a
different issue.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [Bug 8255] Frequency Scaling not working properly using powernow-k7
[not found] <200703291304.l2TD4Dd6016401@fire-2.osdl.org>
@ 2007-03-29 15:43 ` Daniel Drake
0 siblings, 0 replies; 43+ messages in thread
From: Daniel Drake @ 2007-03-29 15:43 UTC (permalink / raw)
To: Dave Jones; +Cc: bugme-daemon, linux list, linux-acpi, Ingo Molnar
Dave,
bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=8255
> Okay. I tracked down the problem with git. Here is what is the submission that
> causes the problem:
>
> solaris linux-git # git bisect good
> 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e is first bad commit
> commit 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e
> Author: Dave Jones <davej@redhat.com>
> Date: Wed Nov 22 20:42:01 2006 -0500
>
> [PATCH] Correct bound checking from the value returned from _PPC method.
The above commit seems to be the culprit behind this 2.6.19 regression,
which is still present as of 2.6.21-rc3 (so it's not the earlier issue
found by Ingo). Any ideas?
Thanks,
Daniel
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-03-29 15:43 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-03-29 15:43 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-03-29 08:43 -------
Dave,
bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=8255
> Okay. I tracked down the problem with git. Here is what is the submission that
> causes the problem:
>
> solaris linux-git # git bisect good
> 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e is first bad commit
> commit 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e
> Author: Dave Jones <davej@redhat.com>
> Date: Wed Nov 22 20:42:01 2006 -0500
>
> [PATCH] Correct bound checking from the value returned from _PPC method.
The above commit seems to be the culprit behind this 2.6.19 regression,
which is still present as of 2.6.21-rc3 (so it's not the earlier issue
found by Ingo). Any ideas?
Thanks,
Daniel
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-01 21:41 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-01 21:41 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-01 14:41 -------
After analyzing the log, my guess is that there is a bug in some acpi piece of
source of powernow-k7. Here is what I found out:
from dmesg.log:
-------------snip--------------
powernow-k7: acpi: P0: 950 MHz 24000 mW 125 uS control 009c418d SGTC 10000
powernow-k7: FID: 0xd (9.5x [1266MHz]) VID: 0xc (1.400V)
powernow-k7: acpi: P1: 750 MHz 16337 mW 125 uS control 009c41c9 SGTC 10000
powernow-k7: FID: 0x9 (7.5x [1000MHz]) VID: 0xe (1.300V)
powernow-k7: acpi: P2: 700 MHz 15248 mW 125 uS control 009c41c8 SGTC 10000
powernow-k7: FID: 0x8 (7.0x [933MHz]) VID: 0xe (1.300V)
powernow-k7: acpi: P3: 600 MHz 12084 mW 125 uS control 009c4226 SGTC 10000
powernow-k7: FID: 0x6 (6.0x [800MHz]) VID: 0x11 (1.250V)
powernow-k7: acpi: P4: 500 MHz 9280 mW 125 uS control 009c4264 SGTC 10000
powernow-k7: FID: 0x4 (5.0x [666MHz]) VID: 0x13 (1.200V)
-------------snap--------------
As you can see, acpi detects the states available with my cpu are,
500,600,700,750, and 950MHz. But the correct values are 666,800,933,1000, and
1266MHz, as shown in the lines stating values FID and VID.
If one devides the corresponding values of FID by the ones detected by acpi, e.g
666/500, this always yields 1.33. Could this be somehow related to the FSB
frequency?
powernow-k7: FSB: 133MHz
Furthermore, ' # cat /proc/acpi/processor/CPU0/performance' give the following
output, regardless whether I use a 2.6.18 (before applying the above mentioned
patch) or later:
state count: 5
active state: P0
states:
*P0: 950 MHz, 24000 mW, 125 uS
P1: 750 MHz, 16337 mW, 125 uS
P2: 700 MHz, 15248 mW, 125 uS
P3: 600 MHz, 12084 mW, 125 uS
P4: 500 MHz, 9280 mW, 125 uS
If I change the active state to P4 and back to P0, the cpu never speeds up to
1267MHz any more but stays at a around 1000MHz. Exact speed depends on the
kernel version:
2.6.18: 1000MHz
2.6.21: 950MHz
1000MHz is a valid speed according to FID table, which is set because it is
close to the invalid 950MHz.
After applying the patch, the cpufreq_verify_within_limits call in
processor_perflib.c is executed and, thus, I suspect that the frequency is
compared to the table obtained by acpi, where this is a valid frequency.
Any comments?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-11 14:52 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-11 14:52 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-11 07:52 -------
This bug seems not to be of much interest...
I would love to look myself but I am really a noob. Could at least someone give
me a hint, which piece of code is responsible to set these:
state count: 5
active state: P0
states:
*P0: 950 MHz, 24000 mW, 125 uS
P1: 750 MHz, 16337 mW, 125 uS
P2: 700 MHz, 15248 mW, 125 uS
P3: 600 MHz, 12084 mW, 125 uS
P4: 500 MHz, 9280 mW, 125 uS
Thanks.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 1:52 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 1:52 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-04-26 18:52 -------
Created an attachment (id=11279)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11279&action=view)
diagnostic patch
I'm not knowledgeable about any of this stuff, but here's an attempt to further
clarify what's going on: Please apply this patch and attach new dmesg output.
I think one important part of the issue is that powernow-k7 can't look up the
frequency tables on it's own (possibly broken BIOS), so it falls back on ACPI.
Also, sometimes the ACPI developers find acpidump output useful. You can emerge
pmtools to get this utility - I suggest you attach the output here.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 11:12 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 11:12 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-27 04:12 -------
Okay, here comes the new dmesg output after applying the patch to the
2.6.21-gentoo kernel source. I enabled acpi debugging and added cpufreq.debug=7
to my kernel parameters.
Output of acpidump to be attached as well.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 11:13 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 11:13 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-27 04:13 -------
Created an attachment (id=11284)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11284&action=view)
dmesg output after applying Daniel's patch
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 11:14 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 11:14 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-27 04:14 -------
Created an attachment (id=11285)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11285&action=view)
Output of acpidump
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 11:52 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 11:52 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
bugzilla.20.dsurawicz@spamgourmet.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11284|0 |1
is obsolete| |
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-27 04:52 -------
(From update of attachment 11284)
truncated output
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 11:53 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 11:53 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-27 04:53 -------
Created an attachment (id=11286)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11286&action=view)
dmesg output after applying Daniel's patch
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-27 13:11 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-27 13:11 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
dsd@gentoo.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11279|0 |1
is obsolete| |
------- Additional Comments From dsd@gentoo.org 2007-04-27 06:11 -------
Created an attachment (id=11287)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11287&action=view)
new patch
It does look like your BIOS is broken. Before we go further, please check if
updates are available.
If not, try applying this patch. It may get things back on their feet, by
ignoring the broken field in the BIOS.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-28 9:40 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-28 9:40 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-04-28 02:40 -------
I checked the availability of a bios update. Unfortunately, I am running the
newest revision and since my laptop is not brand new any more, there won't be
any. Bios is from Jan 2003...
So I will try with your patch. Should I apply this one additionally to the
previous one or instead of it?
Thanks for your efforts so far. Hope that this is fixed soon.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-04-28 13:56 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-04-28 13:56 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-04-28 06:56 -------
apply it instead of the first one
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 9:09 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 9:09 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-01 02:09 -------
Created an attachment (id=11357)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11357&action=view)
dmesg output after applying 2nd patch
The patch did not solve the problem, it even got worse. CPU just running with
800MHz now. Available frequencies in the log are looking quite weird. There is
the slowest frequency 633MHz and then other entries state 800MHz.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 17:33 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 17:33 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-01 10:33 -------
OK, your BIOS is broken so we shouldn't go further down that route.
I'll hopefully find some time to dig into why acpi_perflib isn't obeying the
133mhz FSB value. I suspect this may be another BIOS bug on your system...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 20:11 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 20:11 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-01 13:11 -------
Created an attachment (id=11364)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11364&action=view)
modified DSDT
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 20:12 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 20:12 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-01 13:12 -------
Created an attachment (id=11365)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11365&action=view)
DSDT ASL diff
for reference
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 20:20 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 20:20 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-01 13:20 -------
(the above diff is accidentally reversed)
Dustin,
First reverse the above patches so that you're working from clean kernel sources.
I have generated a custom ACPI BIOS for you. The one stored in the system has
those incorrect frequencies.
Download the modified DSDT and compile it with:
# iasl -tc DSDT.dsl
You'll then get a "DSDT.hex" file in the same directory.
Now in the kernel config, enable CONFIG_ACPI_CUSTOM_DSDT and provide the path to
the .hex file
Then recompile the kernel, boot into the new one, and see if things have improved.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 20:56 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 20:56 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-01 13:56 -------
Managed to compile the DSDT.dsl file. But I can't find any
CONFIG_ACPI_CUSTOM_DSDT in menuconfig (2.6.21-gentoo). grepping for it in the
.config gives no match either...
Can I just add it to the .config file and f yes where?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 21:21 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 21:21 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-01 14:21 -------
Never mind. Found how to get the option :)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-01 22:27 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-01 22:27 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-01 15:27 -------
Created an attachment (id=11366)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11366&action=view)
dmesg output after using fixed DSDT
Bingo! This seems to have fixed it. I attach dmesg output in case there is
still something suspicious.
Thank you so much, Daniel, for your effort!!!
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 0:31 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 0:31 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
dsd@gentoo.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11287|0 |1
is obsolete| |
------- Additional Comments From dsd@gentoo.org 2007-05-01 17:31 -------
Created an attachment (id=11367)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11367&action=view)
new patch
Please now apply this patch to a clean kernel (no custom DSDT, no previous
patches applied) and see what happens...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 10:43 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 10:43 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-02 03:43 -------
Patch works. CPU runs at highest frequency now.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 15:18 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 15:18 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-02 08:18 -------
Thanks. Can I see dmesg output from using it?
The modified DSDT I gave you didn't quite work correctly. If you look in the logs:
freq-table: table entry 0: 1266768 kHz, 3085 index
[...]
cpufreq-core: setting new policy for CPU 0: 666720 - 1266768 kHz
freq-table: request for verification of policy (666720 - 1266768 kHz) for cpu 0
freq-table: verification lead to (666720 - 1266768 kHz) for cpu 0
freq-table: request for verification of policy (666720 - 1266000 kHz) for cpu 0
freq-table: verification lead to (666720 - 1266000 kHz) for cpu 0
cpufreq-core: new min and max freqs are 666720 - 1266000 kHz
[...]
performance: setting to 1266000 kHz because of event 1
cpufreq-core: target for CPU 0: 1266000 kHz, relation 1
freq-table: request for target 1266000 kHz (relation: 1) for cpu 0
freq-table: target is 1 (1000080 kHz, 3593)
In other words, it's not actually reaching the maximum frequency due to rounding
between mhz/khz values.
I'm pretty sure the last patch I posted has the same bug. If so, please apply
the updated version I'll post in a few mins.
Also, there's something else going on here.
From the logs:
Detected 1333.446 MHz processor.
and:
userspace: managing cpu 0 started (666720 - 1266000 kHz, currently 1333440 kHz)
And I suspect /proc/cpuinfo will reflect that if you don't build cpufreq support.
That aside, I don't think that's a new issue (I think 2.6.18 also behaved the
same way for you), so if we can get it going at 1266mhz again I think this bug
is fixed (and you're welcome to file a new bug for the 1333mhz issue).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 15:26 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 15:26 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
dsd@gentoo.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11367|0 |1
is obsolete| |
------- Additional Comments From dsd@gentoo.org 2007-05-02 08:26 -------
Created an attachment (id=11373)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11373&action=view)
hopefully final patch
This should fix the rounding problem (but not the 1333mhz one). It replaces all
previous patches/DSDTs. Please post dmesg output from using this patch.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 18:41 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 18:41 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-02 11:41 -------
Created an attachment (id=11376)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11376&action=view)
dmesg output
You are correct, Daniel. I applied now your latest patch and the frequency
table should now be correct.
Concerning the discrepancy between 'detected 1333.446MHz processor' and max
frequency of 1266768MHz: Could this be related with my broken BIOS and do I
then need to correct the DSDT or is this a more general prob? In the latter
case, I would file another bug.
BR,
Dustin
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 21:04 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 21:04 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-02 14:04 -------
I recompiled the patched kernel without frequency scaling and, of course, the
CPU is then running at 1333MHz. Should I file a seperate bug?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 21:55 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 21:55 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-02 14:55 -------
Here's how it works for you at the moment:
powernow-k7 can't find any of the powernow performances tables that match your
CPU. Instead, it falls back on the performance tables in the ACPI BIOS (DSDT) to
figure out the available frequencies.
It turns out that those tables aren't much good either. Taking the first entry:
Package (0x06)
{
0x03B6,
0x5DC0,
0x7D,
0x7D,
0x009C418D,
0x018D
},
The first value (0x03B6) is 950 in decimal, and this represents the CPU
frequency for this performance state.
The FID and VID of the performance state are encoded in the 5th value
(0x009C418D). The FID can be looked up in a table in the powernow-k7 driver to
deduce a multiplier, 9.5 in this case. Multiply 9.5 by the FSB and you get the
frequency.
So, it looks like your ACPI tables were written for a system with a 100mhz FSB
(9.5 * 100 = 950, which is consistent with the first value). However, your FSB
is 133mhz.
We have been working on the earlier assumptions that the multiplier encoded by
the FID code is correct, whereas the frequency (in the first field) is
incorrect. e.g. we decided that "9.5 * 133 = 1266mhz" is the right calculation.
This isn't an unfair assumption to make, and this is how the powernow driver
works anyway (uses ACPI-supplied-multiplier * fsb, not ACPI-supplied-frequency)
but the reality is that it looks like both the FID(multiplier) *and* frequency
values in the ACPI performance state tables are wrong. To reach maximum
frequency there would have to be a performance state with a FID that encodes a
multiplier of 10.0 (10 * 133 = 1333mhz).
At this point we're beyond the level where this could be fixed in the kernel
(since all of the data sources are wrong!). If you know what the allowed
frequencies were *supposed* to be, I could help provide a new DSDT. Or, we could
even just add another performance state with a 10.0 multiplier. However I'm not
sure how safe it is to mess with stuff like this...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 22:09 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 22:09 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-02 15:09 -------
I understood what you mean. I am using an AMD1500+ processor, not sure whether
it is a mobile one. Is it possible to get the needed information for it so that
I can use a corrected DSDT locally? I could open my laptop to see the exact
label of it if this helps.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 22:43 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 22:43 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-02 15:43 -------
One comment: If write a value smaller than f_max to
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq and want to revert
afterwards to f_max, the CPU freq will not be set to the correct value due to
kHz/MHz rounding issue.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-02 22:55 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-02 22:55 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-05-02 15:55 -------
I'm not sure what you mean. Can you expand on that, perhaps with annotated debug
logs?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-05-05 14:56 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-05-05 14:56 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From bugzilla.20.dsurawicz@spamgourmet.com 2007-05-05 07:56 -------
I am quite busy right now and on vacation the next three weeks. After I am back,
I will give you the desired information.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-06-09 11:46 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-06-09 11:46 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
cimmo@libero.it changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cimmo@libero.it
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-06-09 12:56 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-06-09 12:56 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From cimmo@libero.it 2007-06-09 06:00 -------
Hi,
I have the same problem here with an asus L3D notebook that previously has an
Athlon XP-M 2000+ that was 1600 Mhz and was recognized perfectly.
Now there is an Athlon XP-M 2400+ that has 1800 Mhz and when kernel is started
is recognized well after powernow recognized it as min and max = 1473 Mhz.
I've tried latest ubuntu gutsy snapshot that has kernel 2.6.22-6 that in theory
has 2.6.22rc2 but I'm not quite sure, so I don't know if it has this patch
included or not.
Can be my problem related? I attach dmesg.
Thanx
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-06-09 12:57 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-06-09 12:57 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From cimmo@libero.it 2007-06-09 06:01 -------
Created an attachment (id=11719)
--> (http://bugzilla.kernel.org/attachment.cgi?id=11719&action=view)
dmesg from ubuntu gutsy daily 9 june 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
@ 2007-06-09 15:08 bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-06-09 15:08 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
------- Additional Comments From dsd@gentoo.org 2007-06-09 08:12 -------
Please reproduce this on an unpatched 2.6.22-rc4 kernel. Compile it with cpufreq
debugging support enabled and boot with cpufreq.debug=3 then attach new logs if
the bug still exists.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [Bug 8255] Frequency Scaling not working properly using powernow-k7
[not found] <bug-8255-3570@http.bugzilla.kernel.org/>
@ 2007-06-29 23:15 ` bugme-daemon
0 siblings, 0 replies; 43+ messages in thread
From: bugme-daemon @ 2007-06-29 23:15 UTC (permalink / raw)
To: cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=8255
dsd@gentoo.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution| |CODE_FIX
------- Comment #41 from dsd@gentoo.org 2007-06-29 16:19 -------
marking fixed as this patch is upstream. If there are still issues, please open
a new bug with the requested info and put me on CC.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 43+ messages in thread
end of thread, other threads:[~2007-06-29 23:15 UTC | newest]
Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200703291304.l2TD4Dd6016401@fire-2.osdl.org>
2007-03-29 15:43 ` [Bug 8255] Frequency Scaling not working properly using powernow-k7 Daniel Drake
[not found] <bug-8255-3570@http.bugzilla.kernel.org/>
2007-06-29 23:15 ` bugme-daemon
2007-06-09 15:08 bugme-daemon
-- strict thread matches above, loose matches on Subject: below --
2007-06-09 12:57 bugme-daemon
2007-06-09 12:56 bugme-daemon
2007-06-09 11:46 bugme-daemon
2007-05-05 14:56 bugme-daemon
2007-05-02 22:55 bugme-daemon
2007-05-02 22:43 bugme-daemon
2007-05-02 22:09 bugme-daemon
2007-05-02 21:55 bugme-daemon
2007-05-02 21:04 bugme-daemon
2007-05-02 18:41 bugme-daemon
2007-05-02 15:26 bugme-daemon
2007-05-02 15:18 bugme-daemon
2007-05-02 10:43 bugme-daemon
2007-05-02 0:31 bugme-daemon
2007-05-01 22:27 bugme-daemon
2007-05-01 21:21 bugme-daemon
2007-05-01 20:56 bugme-daemon
2007-05-01 20:20 bugme-daemon
2007-05-01 20:12 bugme-daemon
2007-05-01 20:11 bugme-daemon
2007-05-01 17:33 bugme-daemon
2007-05-01 9:09 bugme-daemon
2007-04-28 13:56 bugme-daemon
2007-04-28 9:40 bugme-daemon
2007-04-27 13:11 bugme-daemon
2007-04-27 11:53 bugme-daemon
2007-04-27 11:52 bugme-daemon
2007-04-27 11:14 bugme-daemon
2007-04-27 11:13 bugme-daemon
2007-04-27 11:12 bugme-daemon
2007-04-27 1:52 bugme-daemon
2007-04-11 14:52 bugme-daemon
2007-04-01 21:41 bugme-daemon
2007-03-29 15:43 bugme-daemon
2007-03-29 15:38 bugme-daemon
2007-03-29 14:57 bugme-daemon
2007-03-29 13:04 bugme-daemon
2007-03-24 23:48 bugme-daemon
2007-03-24 18:18 bugme-daemon
2007-03-24 18:16 bugme-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.