Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PowerNow! problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Wed Apr 07, 2004 11:26 am    Post subject: PowerNow! problem Reply with quote

Hello,

I want to enable PowerNow! on my pavilion notebook and found a deamon called powernowd in portage.
Code:

bash-2.05b# /etc/init.d/powernowd start
 * Starting powernowd...
powernowd: Couldn't open file /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
/sbin/runscript.sh: line 529: 10982 Speicherzugriffsfehler  /usr/sbin/powernowd -q ${POWERNOWD_OPTS}

And in fact there is no cpufreq/cpuinfo_max_freq in /sys/devices/system/cpu/cpu0/ . cpufreq is compiled into my kernel (2.6.4-gentoo) and the powernow-k7 module is loading during boot.

"Speicherzugriffsfehler" means something like "memory allocation error".

Thanks,

Kai
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Thu Apr 22, 2004 8:08 pm    Post subject: Re: PowerNow! problem Reply with quote

amigafan wrote:
I want to enable PowerNow! on my pavilion notebook and found a deamon called powernowd in portage.


You need kernel support. Assert that
Code:
 Power management options (ACPI, APM)  --->

Code:
 CPU Frequency scaling  --->     

Code:
<M> AMD Mobile K6-2/K6-3 PowerNow!
<M> AMD Mobile Athlon/Duron PowerNow!
<M> AMD Opteron/Athlon64 PowerNow!

are at least set to <M>. Use 2.6.6-rc2-bk1 or later kernel for best results. Then take a look if there's content in /sys/devices/system/cpu/cpu0/cpufreq/
If not, take a look at

Code:
dmesg | grep powernow
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Thu Apr 22, 2004 8:39 pm    Post subject: Reply with quote

Yes, I had this already but my bios seems to be buggy, because it doesn't find valid pst-tables. The result is that /sys/devices/system/cpu/cpufreq isn't created.

Found a patch for powernow-k7.ko and now its working.
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Fri Apr 23, 2004 7:03 am    Post subject: Reply with quote

amigafan wrote:
Yes, I had this already but my bios seems to be buggy, because it doesn't find valid pst-tables. The result is that /sys/devices/system/cpu/cpufreq isn't created.

Found a patch for powernow-k7.ko and now its working.


If I may ask: what patch?
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Fri Apr 23, 2004 10:12 am    Post subject: Reply with quote

I'm sorry:
http://consultmatt.co.uk/nx9005/powernow.php

This one works fine for my pavilion ze4511ea, too.

brodo wrote:
amigafan wrote:
Yes, I had this already but my bios seems to be buggy, because it doesn't find valid pst-tables. The result is that /sys/devices/system/cpu/cpufreq isn't created.

Found a patch for powernow-k7.ko and now its working.


If I may ask: what patch?
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Fri Apr 23, 2004 11:42 am    Post subject: Reply with quote

amigafan wrote:
I'm sorry:
http://consultmatt.co.uk/nx9005/powernow.php

This one works fine for my pavilion ze4511ea, too.


But it is quite risky -- I wouldn't do it. Better try out whether the ACPI perflib support in 2.6.6-rc2-bk1 works.
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Fri Apr 23, 2004 12:46 pm    Post subject: Reply with quote

Why do you think its risky? Can you give some more information?

brodo wrote:
amigafan wrote:
I'm sorry:
http://consultmatt.co.uk/nx9005/powernow.php

This one works fine for my pavilion ze4511ea, too.


But it is quite risky -- I wouldn't do it. Better try out whether the ACPI perflib support in 2.6.6-rc2-bk1 works.
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Sun Apr 25, 2004 6:58 pm    Post subject: Reply with quote

amigafan wrote:
Why do you think its risky? Can you give some more information?

brodo wrote:
amigafan wrote:
I'm sorry:
http://consultmatt.co.uk/nx9005/powernow.php

This one works fine for my pavilion ze4511ea, too.


But it is quite risky -- I wouldn't do it. Better try out whether the ACPI perflib support in 2.6.6-rc2-bk1 works.


You assume the same frequency/voltage steps which are valid for a different CPU to work also on your system. However, the steps might be different, and you might either run it at an undefined frequency OR with a too low voltage (=>unstable) OR with a too high voltage => can burn through, I fear. I haven't heard such a report yet; but I wouldn't bet money it doesn't happen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum