You are not logged in.

#1 2008-05-18 17:32:33

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Problems with CpuFreq ... It doesn't recognize my proc

Hi everybody.

I'm a gentoo user new to the world of archlinux...

Until know i love everything in this distro. Its quick, and very customizable, wich makes me happy because i can have a customizable system like gentoo without compiling three days.

So, the problem is: My proc its an AMD, and it seems like the kernel doesnt recognize it for cpu frequency scaling. Its a laptop, so this is a big problem if i cant get it working.

I follow this guide: http://wiki.archlinux.org/index.php/Cpufrequtils

And here are the errors:

modprobe acpi-cpufreq

[root@antares ~]# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.24-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

cpufreq-info

[root@antares ~]# cpufreq-info 
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU

What could be ?

Thanks for any help big_smile

Cheers! wink


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#2 2008-05-18 19:27:35

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: Problems with CpuFreq ... It doesn't recognize my proc

Did you load a module like "powernow-k8" (especially for AMD processors)?

Offline

#3 2008-05-18 20:09:43

Morra
Member
Registered: 2008-05-16
Posts: 39

Re: Problems with CpuFreq ... It doesn't recognize my proc

I'm using AMD X2 processor myself. I didn't need to install any extra packages (not even cpufrequtils) to get cpu scaling working. I just loaded modules powernow_k8 and cpufreq_ondemand.

Offline

#4 2008-05-18 22:12:25

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Re: Problems with CpuFreq ... It doesn't recognize my proc

Good... Thanks!! that did the thing.

I put powernow_k8, cpufreq_ondemand and cpufreq_powersave, without cpufrequtils and everything works perfect.

Now i have another doubt. How can i make default ONDEMAND? when the system startups its always on the "performance" scheme.

I'm not using cpufreqd... so, how its the thing ?

Thanks again!


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#5 2008-05-19 14:51:34

Morra
Member
Registered: 2008-05-16
Posts: 39

Re: Problems with CpuFreq ... It doesn't recognize my proc

I have added this line to /etc/rc.local:
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Now it will change the governor automatically on boot.

Check that the path is correct, it might be different on your computer. I have dual core processor so I have cpu0 and cpu1 listed. Fortunately cpu1 follows the instructions of cpu0 so I don't have to command them separately.

Offline

#6 2008-05-20 04:05:16

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Re: Problems with CpuFreq ... It doesn't recognize my proc

Thanks a lot Morra!!

Now everything its working great.

Very very thanks! big_smile


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#7 2008-05-20 19:36:07

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: Problems with CpuFreq ... It doesn't recognize my proc

It's not right way.  It need to edit /etc/conf.d/cpufreq and run cpufreq service. Really, it set cpu governor.

Offline

#8 2008-05-20 20:15:37

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Re: Problems with CpuFreq ... It doesn't recognize my proc

metal, i did that way first and don't work... Why ¿? no idea ... What do you suggest ?¿


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#9 2008-05-20 20:43:23

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Problems with CpuFreq ... It doesn't recognize my proc

That way works, but I find it useless having the ondemand governor.

Feel free to have few services and modules up in a simple way big_smile


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#10 2008-05-20 20:49:13

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Re: Problems with CpuFreq ... It doesn't recognize my proc

big_smile Thanks! ... And, well i like the ondemand because i feel that my laptop doesn't get to hot... wink


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#11 2008-05-22 19:26:59

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: Problems with CpuFreq ... It doesn't recognize my proc

alexertech wrote:

metal, i did that way first and don't work... Why ¿? no idea ... What do you suggest ?¿

I did so and it works! smile I use conservative, but I thinks, there is no difference. Did you enable cpufreq in your rc.conf?

Offline

#12 2008-05-22 23:10:15

alexertech
Member
From: Mérida, Venezuela
Registered: 2008-05-18
Posts: 23
Website

Re: Problems with CpuFreq ... It doesn't recognize my proc

Yes, and don't take the ondemand sad


"Any question has two points of view: the wrong one and ours."
www.alexertech.com

Offline

#13 2008-05-23 08:42:36

Gert
Member
Registered: 2008-01-30
Posts: 28

Re: Problems with CpuFreq ... It doesn't recognize my proc

Being on a dual core my solution is to add those lines to /etc/rc.local
(with cpufrequtils)

cpufreq-set -c 0 -g ondemand
cpufreq-set -c 1 -g ondemand

Love will tear us apart

Offline

Board footer

Powered by FluxBB