All of lore.kernel.org
 help / color / mirror / Atom feed
* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-24 22:14 Muskat Nuss
  0 siblings, 0 replies; 13+ messages in thread
From: Muskat Nuss @ 2007-05-24 22:14 UTC (permalink / raw)
  To: cpufreq

Distribution: Ubuntu x86_64 Newest Stable release
Hardware: Laptop Fujistu-Siemens Amilo Pa 1510
Problem: so the driver correctly detects the two available
frequencies (800 & 1600 MHz), any governor will always use the lowest
one.
Well in Suse 10.2 i rebuild the kernel with the powernowd module for AMD
64
with powernow! @ this time the cpu always ran on 1.6 GHz but I wasn able
to
change the Frequency to 800 MHz. 
Now I'm stack I can switch between 800 and 800MHz, whatever i do!

I thought I'm not the only guy with that problem... but how do i fix
this problem?
already ran a bios update to 1.07 newest version for my Notebook.
All modules a loaded and running. Powernow-k8, powernowd, also the
userspace governor
and the cpufreq module! 

greetz muskatnuss. /*sry for wrong posting if done > new to this scene*/

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-25  5:09 Patrick Oberdorfer
  2007-05-25 15:19 ` Langsdorf, Mark
  0 siblings, 1 reply; 13+ messages in thread
From: Patrick Oberdorfer @ 2007-05-25  5:09 UTC (permalink / raw)
  To: cpufreq

dmesg | grep power

[   54.273858] powernow-k8: Found 2 AMD Turion(tm) 64 X2 Mobile Technology TL-52 processors (version 2.00.00)
[   54.273973] powernow-k8:     0 : fid 0x8 (1600 MHz), vid 0x13
[   54.273978] powernow-k8:     1 : fid 0x0 (800 MHz), vid 0x1e

so for me it looks like i got no errors.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

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

* RE: Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-25  5:09 Patrick Oberdorfer
@ 2007-05-25 15:19 ` Langsdorf, Mark
  0 siblings, 0 replies; 13+ messages in thread
From: Langsdorf, Mark @ 2007-05-25 15:19 UTC (permalink / raw)
  To: Patrick Oberdorfer, cpufreq

> dmesg | grep power
> 
> [   54.273858] powernow-k8: Found 2 AMD Turion(tm) 64 X2 
> Mobile Technology TL-52 processors (version 2.00.00)
> [   54.273973] powernow-k8:     0 : fid 0x8 (1600 MHz), vid 0x13
> [   54.273978] powernow-k8:     1 : fid 0x0 (800 MHz), vid 0x1e
> 
> so for me it looks like i got no errors.

And no matter what you do, it won't change frequencies?
That's very odd.

Did you get anything different if you pass cpufreq.debug=2
as a kernel command line parameter?

-Mark Langsdorf
Operating System Research Center
AMD

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-25 20:22 Muskat Nuss
  0 siblings, 0 replies; 13+ messages in thread
From: Muskat Nuss @ 2007-05-25 20:22 UTC (permalink / raw)
  To: cpufreq

So now i rebuild my kernel with cpufrequency dubugging module!
i added the cpufreq.debug=2 kernel command line parameter.
Rebooted my system .... but for now it wont boot anymore.
At booting screen my notebook got freezed @ 1 percent loading.
what now? or anything could my new kernel be wrong?
if so is there anyway to add the cmd line cpufreq.debug=2 without 
rebuilding the kernel? 

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-25 20:41 Muskat Nuss
  0 siblings, 0 replies; 13+ messages in thread
From: Muskat Nuss @ 2007-05-25 20:41 UTC (permalink / raw)
  To: cpufreq

YES my system boots
.but it gives the message: command line "cpufreq.debug=2 kernel" 
is been ignored cause command is not known. 
so it boot without that cmd line

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-28 19:12 Muskat Nuss
  2007-05-29 17:51 ` Langsdorf, Mark
  0 siblings, 1 reply; 13+ messages in thread
From: Muskat Nuss @ 2007-05-28 19:12 UTC (permalink / raw)
  To: cpufreq

So, im sorry for my last mail...
don read your mail correctly.

but nowaday after reading many How-to's and tutorial's about compiling 
own kernel in ubuntu i managed my own kernel to work =)
so sorry again that i donot understand what you meant!

now my kernel got that module cpufreq debubugging within it!
now i got that output from dmesg | grep power
:
[   56.286434] powernow-k8: Found 2 AMD Turion(tm) 64 X2 Mobile
Technology TL-52 processors (version 2.00.00)
[   56.286449] powernow-k8:    0 : fid 0x8, vid 0x13
[   56.286455] powernow-k8:    1 : fid 0x0, vid 0x1e
[   56.286459] powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x13
[   56.286462] powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x1e
[   56.286467] powernow-k8: cpu0, init lo 0x1308, hi 0x1
[   56.286471] powernow-k8: policy current frequency 1600000 kHz
[   56.286475] powernow-k8: cpu_init done, current fid 0x8, vid 0x13
[   56.286520] powernow-k8: targ: cpu 0, 800000 kHz, min 800000, max
800000, relation 1
[   56.286524] powernow-k8: targ: curr fid 0x8, vid 0x13
[   56.286527] powernow-k8: cpu 0 transition to index 1
[   56.286530] powernow-k8: table matched fid 0x0, giving vid 0x1e
[   56.286533] powernow-k8: cpu 0, changing to fid 0x0, vid 0x1e
[   56.286539] powernow-k8: ph1 (cpu0): start, currfid 0x8, currvid
0x13, reqvid 0x1e, rvo 0x2
[   56.286543] powernow-k8: ph1 maxvid=0x11
[   56.286546] powernow-k8: ph1 complete, currfid 0x8, currvid 0x13
[   56.286549] powernow-k8: ph2 (cpu0): starting, currfid 0x8, currvid
0x13, reqfid 0x0
[   56.286554] powernow-k8: writing fid 0x0, lo 0x11300, hi 0x258
[   56.300255] powernow-k8: ph2 complete, currfid 0x0, currvid 0x13
[   56.300258] powernow-k8: ph3 (cpu0): starting, currfid 0x0, currvid
0x13
[   56.300262] powernow-k8: writing vid 0x1e, lo 0x11e00, hi 0x1
[   56.300265] powernow-k8: ph3 complete, currfid 0x0, currvid 0x1e
[   56.300269] powernow-k8: transitioned (cpu0): new fid 0x0, vid 0x1e
[   56.300275] powernow-k8: targ: cpu 0, 800000 kHz, min 800000, max
800000, relation 1
[   56.300278] powernow-k8: targ: curr fid 0x0, vid 0x1e
[   56.300281] powernow-k8: cpu 0 transition to index 1
[   56.300284] powernow-k8: table matched fid 0x0, giving vid 0x1e
[   56.300287] powernow-k8: target matches current values (fid 0x0, vid
0x1e)
[   59.119526] powernow-k8: targ: cpu 0, 800000 kHz, min 800000, max
800000, relation 1
[   59.119534] powernow-k8: targ: curr fid 0x0, vid 0x1e
[   59.119539] powernow-k8: cpu 0 transition to index 1
[   59.119542] powernow-k8: table matched fid 0x0, giving vid 0x1e
[   59.119545] powernow-k8: target matches current values (fid 0x0, vid
0x1e)

so far... looks like i can only get 800 MHz ...

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

* RE: Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-28 19:12 Muskat Nuss
@ 2007-05-29 17:51 ` Langsdorf, Mark
  2007-05-29 19:15   ` Muskat Nuss
  0 siblings, 1 reply; 13+ messages in thread
From: Langsdorf, Mark @ 2007-05-29 17:51 UTC (permalink / raw)
  To: muskatnuss, cpufreq

> now my kernel got that module cpufreq debubugging within it!
> now i got that output from dmesg | grep power
> :
> [   56.286434] powernow-k8: Found 2 AMD Turion(tm) 64 X2 Mobile
> Technology TL-52 processors (version 2.00.00)
> [   56.286449] powernow-k8:    0 : fid 0x8, vid 0x13
> [   56.286455] powernow-k8:    1 : fid 0x0, vid 0x1e
> [   56.286459] powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x13
> [   56.286462] powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x1e
> [   56.286467] powernow-k8: cpu0, init lo 0x1308, hi 0x1
> [   56.286471] powernow-k8: policy current frequency 1600000 kHz
> [   56.286475] powernow-k8: cpu_init done, current fid 0x8, vid 0x13
> [   56.286520] powernow-k8: targ: cpu 0, 800000 kHz, min 800000, max
> 800000, relation 1
> 
> so far... looks like i can only get 800 MHz ...

The processor says it supports 1600 MHz, and even starts in
that state.  Then it transitions to 800 MHz and I never see
another request for a higher frequency.

What are the values of the files in the
/sys/devices/system/cpu/cpu0/cpufreq
directory?

-Mark Langsdorf
Operating System Research Center
AMD

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-29 17:51 ` Langsdorf, Mark
@ 2007-05-29 19:15   ` Muskat Nuss
  2007-05-29 19:42     ` Langsdorf, Mark
  0 siblings, 1 reply; 13+ messages in thread
From: Muskat Nuss @ 2007-05-29 19:15 UTC (permalink / raw)
  To: cpufreq

my cpufreq directory says:

cpuinfo_cur_freq
800000

cpuinfo_max_freq
1600000

cpuinfo_min_freq
800000

scaling_cur_freq
800000

scaling_driver
powernow-k8

scaling_max_freq
800000

scaling_min_freq
800000

affected_cpus
0 1

so but i've already tried to change the scaling_max_freq to 1600000 but
nothing happens @ su mode.
if i add an line with 
echo 1600000 > /sys/devices...../cpufreq/scaling_max_freq
at booting before entering init 1 modus ... nothing happens or it says 
directory or file not found.

so im not able to change this file. 

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

* RE: Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-29 19:15   ` Muskat Nuss
@ 2007-05-29 19:42     ` Langsdorf, Mark
  2007-05-30  7:15       ` Thomas Renninger
  0 siblings, 1 reply; 13+ messages in thread
From: Langsdorf, Mark @ 2007-05-29 19:42 UTC (permalink / raw)
  To: muskatnuss, cpufreq

> my cpufreq directory says:
> 
> cpuinfo_cur_freq
> 800000
> 
> cpuinfo_max_freq
> 1600000
> 
> cpuinfo_min_freq
> 800000
> 
> scaling_cur_freq
> 800000
> 
> scaling_driver
> powernow-k8
> 
> scaling_max_freq
> 800000
> 
> scaling_min_freq
> 800000
> 
> affected_cpus
> 0 1
> 
> so but i've already tried to change the scaling_max_freq to 
> 1600000 but nothing happens @ su mode.
> if i add an line with 
> echo 1600000 > /sys/devices...../cpufreq/scaling_max_freq
> at booting before entering init 1 modus ... nothing happens 
> or it says directory or file not found.
> 
> so im not able to change this file. 

I'm not even sure how the scaling_max and the cpuinfo_max
can be different values.  Anyone else have any ideas?

By the way, what governor are you using?

-Mark Langsdorf
Operating System Research Center
AMD

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
@ 2007-05-29 22:48 Muskat Nuss
  0 siblings, 0 replies; 13+ messages in thread
From: Muskat Nuss @ 2007-05-29 22:48 UTC (permalink / raw)
  To: cpufreq

so today i tried out several governors!
i rebuild my kernel many times and tried a lot of combinations
i read in posts by searching the net for any solutions of my problem,
but none got my cpu change to 1600 MHz 
now im using performance, userspace and ondemand but none of them works.
i can change the governor @ any time but frequency wont change.

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

* RE: Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-29 19:42     ` Langsdorf, Mark
@ 2007-05-30  7:15       ` Thomas Renninger
  2007-05-30 16:42         ` Muskat Nuss
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Renninger @ 2007-05-30  7:15 UTC (permalink / raw)
  To: Langsdorf, Mark; +Cc: cpufreq, muskatnuss

On Tue, 2007-05-29 at 14:42 -0500, Langsdorf, Mark wrote:
> > my cpufreq directory says:
> > 
> > cpuinfo_max_freq
> > 1600000

> > scaling_max_freq
> > 800000
> > 
> > so but i've already tried to change the scaling_max_freq to 
> > 1600000 but nothing happens @ su mode.
> > if i add an line with 
> > echo 1600000 > /sys/devices...../cpufreq/scaling_max_freq
> > at booting before entering init 1 modus ... nothing happens 
> > or it says directory or file not found.
Have you tried manually at some later stage, e.g. in init 3.
You may want to use:
cat /dev/zero >/dev/null
to set the processor under load and check:
scaling_cur_freq or /proc/cpuinfo for freq changes.
> > 
> > so im not able to change this file. 
> 
> I'm not even sure how the scaling_max and the cpuinfo_max
> can be different values.  Anyone else have any ideas?
This is when the frequency got limited. AFAIK for x86 there are only two
possibilities:
  - thermal (check "watch -n1 
    cat /proc/acpi/thermal_zone/*/{trip_points,temperature}")
    If the passive cooling trip point got exceeded passive cooling
    gets enabled (also stated in /proc/acpi/thermal_zone/*/state)
  - _PPC BIOS freq limitation
    Some BIOSes limit freq e.g. when working on battery.
    In some BIOSes this is configurable (-> check BIOS)
    There was a bug, that if booted with limited freq (e.g. on some
    BIOSes when booted on battery), you will never be able to reach
    max_freq again. This has been fixed in 2.6.22-rc1 or -rc2.

    If it's _PPC it could also be some other general ACPI breakage.

> By the way, what governor are you using?

Best is you try with ondemand governor, like that you can't forget
anything to set up in userspace.


   Thomas

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

* Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-30  7:15       ` Thomas Renninger
@ 2007-05-30 16:42         ` Muskat Nuss
  2007-05-30 17:05           ` Thomas Renninger
  0 siblings, 1 reply; 13+ messages in thread
From: Muskat Nuss @ 2007-05-30 16:42 UTC (permalink / raw)
  To: cpufreq

So i tried this commands after adding cat /dev/zero >/dev/null 
to my boot file.

cat /proc/acpi/thermal_zone/*/state
state:                   ok

cat /proc/acpi/thermal_zone/*/{trip_points,temperature}
critical (S5):           100 C
temperature:             51 C

so i already done an bios update to newest version 7.0c
and checked my bios but no "_PPC BIOS freq limitation"
anywhere

now i tried using only the ondemand governor.
so i got as default Performance, so i also tried 
ondemand .... Nothing happens to my cpu.

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

* Re: Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency!
  2007-05-30 16:42         ` Muskat Nuss
@ 2007-05-30 17:05           ` Thomas Renninger
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Renninger @ 2007-05-30 17:05 UTC (permalink / raw)
  To: muskatnuss; +Cc: cpufreq

On Wed, 2007-05-30 at 18:42 +0200, Muskat Nuss wrote:
> So i tried this commands after adding cat /dev/zero >/dev/null 
> to my boot file.
> 
> cat /proc/acpi/thermal_zone/*/state
> state:                   ok
> 
> cat /proc/acpi/thermal_zone/*/{trip_points,temperature}
> critical (S5):           100 C
> temperature:             51 C
> 
> so i already done an bios update to newest version 7.0c
> and checked my bios but no "_PPC BIOS freq limitation"
> anywhere
> 
> now i tried using only the ondemand governor.
> so i got as default Performance, so i also tried 
> ondemand .... Nothing happens to my cpu.

Hmm, it can't be the passive trip point, your BIOS doesn't declare one.
Only thing I could imagine is _PPC or some weird cpufreq bug.

Could you open a bug entry on bugzilla.kernel.org, put me into CC and
attach acpidump and dmesg output.

If you know how to compile the latest kernel, it would be great if you
could add CPU_FREQ_DEBUG=y and ACPI_DEBUG=y in the compile options and
boot with cpufreq.debug=7 and again post dmesg output after powernow-k8
got loaded and ondemand got activated for a short while.


   Thomas

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

end of thread, other threads:[~2007-05-30 17:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 20:22 Amd Turion TL-52 X2 on Amilo PA 1510> No way to change Frequency! Muskat Nuss
  -- strict thread matches above, loose matches on Subject: below --
2007-05-29 22:48 Muskat Nuss
2007-05-28 19:12 Muskat Nuss
2007-05-29 17:51 ` Langsdorf, Mark
2007-05-29 19:15   ` Muskat Nuss
2007-05-29 19:42     ` Langsdorf, Mark
2007-05-30  7:15       ` Thomas Renninger
2007-05-30 16:42         ` Muskat Nuss
2007-05-30 17:05           ` Thomas Renninger
2007-05-25 20:41 Muskat Nuss
2007-05-25  5:09 Patrick Oberdorfer
2007-05-25 15:19 ` Langsdorf, Mark
2007-05-24 22:14 Muskat Nuss

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.