You are not logged in.

#1 2007-11-03 19:52:49

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Cpufrequency scaling howto configure?

I have Pentium III (Coppermine)
steping 6
598.419 Mhz
2586 Kb

/etc/rc.d/cpufreq start gives:
whrong unknown or unhandled CPU?

Offline

#2 2007-11-03 20:28:26

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Cpufrequency scaling howto configure?

You should load the related module first, then start the service.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-11-03 21:08:38

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Cpufrequency scaling howto configure?

I think I need speedstep-smi.
So i type:
modprobe -a sppedstep-smi
And
Error inserting: no such device

???

Offline

#4 2007-11-03 21:47:14

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Cpufrequency scaling howto configure?

Try the acpi-cpufreq module... I'm not sure if it'll work for a PIII, but it's worth a shot.


thayer williams ~ cinderwick.ca

Offline

#5 2007-11-03 22:09:31

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Cpufrequency scaling howto configure?

Same error sad

Offline

#6 2007-11-03 22:20:02

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Cpufrequency scaling howto configure?

ProzacR wrote:

I think I need speedstep-smi.
So i type:
modprobe -a sppedstep-smi
And
Error inserting: no such device

???

[stijn@lysithea ~]$ find /lib/modules/2.6.23-ARCH/ -name speedstep*
/lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-lib.ko
/lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko
/lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-ich.ko
/lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko

Check your typing? And for just one module the -a is redundant, just modprobe/insmod is fine.

Last edited by B (2007-11-03 22:25:02)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2007-11-03 22:29:04

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Cpufrequency scaling howto configure?

Have you tried speedstep_ich?

config X86_SPEEDSTEP_ICH
        tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"
        select CPU_FREQ_TABLE
        help
          This adds the CPUFreq driver for certain mobile Intel Pentium III
          (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all
          mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2,
          ICH3 or ICH4 southbridge.

          For details, take a look at <file:Documentation/cpu-freq/>.

          If in doubt, say N.

Offline

#8 2007-11-03 22:35:09

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Cpufrequency scaling howto configure?

Wrong typing only in post. Mistytpe gives other error i tested this.
I can load only speedstep-lib, but
/etc/rc.d/cpufreq start
gives wrong, unknown or unhandled CPU?

Offline

#9 2007-11-04 05:57:01

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Cpufrequency scaling howto configure?

I'm not sure the OS can control it on PIIIs, I think it is done in the BIOS at boot time, at least that is how it is on my Dell C600 and IBM T21, both Coppermine PIIIs.

I would love to be wrong though....

Last edited by elliott (2007-11-04 06:18:57)

Offline

#10 2007-11-04 12:26:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Cpufrequency scaling howto configure?

Does your CPU support frequency scaling? I thought not all P!!!'s did. I might be wrong though. Did it work on Windows/other Linux distros?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2007-11-09 10:29:34

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Cpufrequency scaling howto configure?

Well, I will eat my words in reference to my T21...I hadn't tried too hard when I said that, only had the thing a couple days. Now I have it happily scaling between 700 and 850mhz depending on demand with the speedstep-lib, speedstep-smi and cpufreq-userspace modules loaded and using powernowd to control it.

The C600 still cannot scale except for at boot time.

Offline

#12 2008-02-11 20:37:48

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cpufrequency scaling howto configure?

I'm using an IBM Thinkpad A22m with a Pentium III Coppermine and I have the same problem. The only cpufreq module I can load is speedstep-lib and that is not enough to get the daemon working. Is there a list of exactly which Pentium III CPUs work with cpufreq and which ones don't?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#13 2008-02-11 22:26:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Cpufrequency scaling howto configure?

ProzacR wrote:

I have Pentium III (Coppermine)
steping 6
598.419 Mhz
2586 Kb

/etc/rc.d/cpufreq start gives:
whrong unknown or unhandled CPU?

I have an old Compaq Presario laptop with a 650MHz PIII; same error. I could not get it to work no matter what.

Offline

#14 2008-02-24 15:29:27

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Cpufrequency scaling howto configure?

Hi all,

I was just surfing through the forum and found this thread.  I have a Thinkpad T21 with Pentium III Coppermine.  I tried what elliott suggested and didn't have luck with powernowd but found that cpudyn seems to work.  Put speedstep_lib, speedstep_smi, and cpufreq_userspace in MODULES in /etc/rc.conf and cpudyn in DAEMONS.  Now, according to conky my cpu is scaling between 800 and 650 MHz. I'm liking Arch for my Thinkpad better and better all the time!!

Update:  Since setting up this cpu scaling, my laptop is running much cooler.  It's well worth it.

Last edited by bgc1954 (2008-02-25 15:56:05)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#15 2008-03-04 21:01:16

s0lar
Member
Registered: 2005-05-19
Posts: 56

Re: Cpufrequency scaling howto configure?

bgc1954 wrote:

Hi all,

I was just surfing through the forum and found this thread.  I have a Thinkpad T21 with Pentium III Coppermine.  I tried what elliott suggested and didn't have luck with powernowd but found that cpudyn seems to work.  Put speedstep_lib, speedstep_smi, and cpufreq_userspace in MODULES in /etc/rc.conf and cpudyn in DAEMONS.  Now, according to conky my cpu is scaling between 800 and 650 MHz. I'm liking Arch for my Thinkpad better and better all the time!!

Update:  Since setting up this cpu scaling, my laptop is running much cooler.  It's well worth it.

Thank you!

This also works for my Compaq Evo n400c.

Offline

#16 2008-03-04 22:49:49

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cpufrequency scaling howto configure?

Thanks bgc1954. I didn't know about the module cpufreq_userspace.

On my a22m, I cannot load speedstep_smi (it says no such device) but I can load speedstep_lib and cpufreq_userspace. If I load just those two... I cannot start cpudyn (it just says [FAIL]) but I can start cpufreq and it says this:

Setting cpufreq governing rules , cpu 0wrong, unknown or unhandled [DONE]

Does this mean the daemon is running but it's just not doing anything? I assume the "wrong unknown or unhandled" wouldn't be there if everything were working perfectly.

Someone told me frequency scaling doesn't work on Intel 440BX chipsets, but the thinkpad T21 and A22m both use that chipset... so is there anything else that I should try? Thanks.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#17 2008-03-05 16:20:10

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Cpufrequency scaling howto configure?

It must be that the a22 and t21 do have different chipsets.  If you do as root:

modprobe speedstep_smi

and you get FATAL: Error inserting blah...blah...No such device, then your chipset isn't the same as mine.  The way they built the thinkpads there are often different versions of the same model ie. mine is a t21 type 2647 so I think there are lots of variables there.  The available modules are in /lib/modules/2.6.24-ARCH/x86/kernel/cpu/cpufreq.  I suppose you could also try speedstep_ich or speedstep_centrino.  Can't hurt anything as they will just give you the "FATAL: Error" message if they won't load.  This is just one of the reasons that laptops are so much fun in Linux.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#18 2008-03-07 22:34:40

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cpufrequency scaling howto configure?

bgc1954 wrote:

It must be that the a22 and t21 do have different chipsets.  If you do as root:

modprobe speedstep_smi

and you get FATAL: Error inserting blah...blah...No such device, then your chipset isn't the same as mine.  The way they built the thinkpads there are often different versions of the same model ie. mine is a t21 type 2647 so I think there are lots of variables there.  The available modules are in /lib/modules/2.6.24-ARCH/x86/kernel/cpu/cpufreq.  I suppose you could also try speedstep_ich or speedstep_centrino.  Can't hurt anything as they will just give you the "FATAL: Error" message if they won't load.  This is just one of the reasons that laptops are so much fun in Linux.

*sigh* I tried modprobing every module in that directory - even the ones I knew wouldn't work - and the only one that doesn't fail due to "No such device" is speedstep_lib. Does that mean there's no way I can scale my frequency until these modules get updated to include more chipsets?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#19 2008-06-02 19:02:37

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cpufrequency scaling howto configure?

Aha! I seem to have found a way. I tried everything short of recompiling the kernel and nothing I found on other sites worked. But one day I noticed freq_table showed up in lsmod. So I thought maybe removing that and only loading it AFTER speedstep-lib would make it work.

[root@connors-laptop linux-2.6.25-ARCH]# rmmod freq-table
[root@connors-laptop linux-2.6.25-ARCH]# modprobe speedstep-lib relaxed_check=1
[root@connors-laptop linux-2.6.25-ARCH]# modprobe speedstep-smi
[root@connors-laptop linux-2.6.25-ARCH]# modprobe freq_table
[root@connors-laptop linux-2.6.25-ARCH]#

That is the first time speedstep-smi has ever loaded on my laptop without an error message.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#20 2008-06-02 20:01:38

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: Cpufrequency scaling howto configure?

I setup speed stepping according to the wiki and all seems to be well except... it only switches between 800 MHz and 2.50 GHz. I saw 1.20GHz once or twice, but it keeps switching from 800 MHz to 2.50 GHz within a few seconds constantly. I'll only see other ones like 1.60 rarely. And if I'm doing anything, such as typing, the icon for the scaling constantly flashes between 800 Mhz and 2.50 GHz every single second, perhaps even faster. Is this normal?

Last edited by violagirl23 (2008-06-02 20:02:42)


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#21 2010-01-09 08:21:55

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Re: Cpufrequency scaling howto configure?

Arise thread, thread arise! wink

I had some luck using specific module options when simply loading the module wouldn't work. Specifically,

speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1

works, but I imagine this may differ depending on the hardware and I don't know how to figure out the specific port/etc.

Offline

#22 2010-01-09 11:48:24

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Cpufrequency scaling howto configure?

I hope you have better things to do than just bumping threads... I don't think after more than a year the OP (who's banned, btw) will still bother to check this thread.

http://wiki.archlinux.org/index.php/For … Bumping.27

Please don't wink


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB