You are not logged in.

#1 2005-09-02 18:48:44

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

CPU frequency adjust with Sempron 2200?

Which modules do I use for frequency adjust with a Sempron processor for socket A? Neither powernow-k7 nor powernow-k8 seem to work, both give "no such device" errors when I try to modprobe them.

Offline

#2 2005-09-02 19:08:42

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: CPU frequency adjust with Sempron 2200?

My laptop has an Mobile AMD Sempron 2800+ CPU (check my sig smile ), and I'm using the powernow-k8 module for it.

This is from my /var/log/messages.log:

Sep  2 20:25:54 ailen powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.3)
Sep  2 20:25:54 ailen powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x8 (1350 mV)
Sep  2 20:25:54 ailen powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x13 (1075 mV)

And this is how I set it up (copied from my kernel's config):

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
CONFIG_X86_POWERNOW_K8=y
CONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_X86_SPEEDSTEP_LIB is not set

Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#3 2005-09-02 19:46:16

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: CPU frequency adjust with Sempron 2200?

you also need to modprobe a governer to use... I use "ondemand".

For the record, cpufrequtils is in [community] which is just a nicer way of echoing values to sysfs.

In my rc.local I start up with "cpufreq-set -g ondemand -d 1.125Ghz -u 3GHz"

Offline

#4 2005-09-02 20:08:39

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: CPU frequency adjust with Sempron 2200?

Karma XXL wrote:

My laptop has an Mobile AMD Sempron 2800+ CPU (check my sig smile ), and I'm using the powernow-k8 module for it.

That's a socket 754 chip, not socket A. It uses the Paris core; mine uses the Thoroughbred core. And nope, powernow-k7 doesn't work either:

[root@localhost ~]# modprobe cpufreq-ondemand
[root@localhost ~]# modprobe powernow-k7
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.12-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k7.ko): No such device

Offline

#5 2005-09-02 21:22:00

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: CPU frequency adjust with Sempron 2200?

are you running a desktop machine, or a laptop? the desktop chips don't have cpu frequency scaling, it's a laptop feature. i get the same error you describe on my Athlon XP 3000+ desktop.

Offline

#6 2005-09-02 21:48:45

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: CPU frequency adjust with Sempron 2200?

Desktop. :x Worked on my last desktop, which used a Celeron D 2.6 GHz... But that box needed it more, what with the higher clockspeed.

Offline

Board footer

Powered by FluxBB