You are not logged in.

#1 2011-09-12 11:45:47

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

[Solved] What cpufreq driver should I use?

I've got a C2Q Q9550, overclocked to 3.4GHz (from stock 2.83GHz) on an Asus P5K-Premium/WiFi-AP board. acpi_cpufreq = FATAL: Error inserting acpi_cpufreq (/lib/modules/3.0-ARCH/kernel/drivers/cpufreq/acpi-cpufreq.ko.gz): No such device. None of the others from the wiki seem to apply to my machine, and I don't want to try them in case something goes wrong. Frequency scaling works fine in Windows 7.

Last edited by biltong (2011-09-26 17:30:20)

Offline

#2 2011-09-12 13:23:32

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [Solved] What cpufreq driver should I use?

I don't think you can scale frequency on an overclocked CPU. Are you sure you changed CPU freq in win 7?

Offline

#3 2011-09-12 13:25:47

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

Yes I'm sure. Windows does it automatically, when it's not under load it typically drops to about 2GHz and when load picks up it adjusts for that, eventually hitting 3.4.

I'll quickly reboot with stock clocks and see if it lets me at least LOAD the module. I find it strange that it doesn't even load the module with this OC.

EDIT: Same error with stock clocks.

Last edited by biltong (2011-09-12 13:31:02)

Offline

#4 2011-09-14 15:49:40

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

Bump.

Offline

#5 2011-09-14 16:11:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [Solved] What cpufreq driver should I use?

Could you post the contents of /proc/cpuinfo  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2011-09-14 16:19:04

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [Solved] What cpufreq driver should I use?

Hmm... I have a core i5 overclocked at 3.2ghz and I've had no problem using it with acpi_cpufreq. It doesn't report 3.2ghz though with cpufreq-info but rather 2.67ghz (default) but I recall benchmarking it vs stock speed back when I installed cpufrequtils and verifying that even though it doesn't report 3.2ghz it is using it when maxed.

But as you stated now you have the same problem with stock builds and that put's the problem in an entirely different light. Sorry, no idea why acpi_cpufreq won't work with your cpu, interesting problem.

Offline

#7 2011-09-14 16:24:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [Solved] What cpufreq driver should I use?

Two other things,  Check you BIOS settings to ensure that Speedstep is enabled for your processors.  I know you asserted that Window works, but take a look none-the-less.

Are there any interesting messages regarding Speedstep, or processor states, or clocking in your system logs generated during boot?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2011-09-14 16:40:49

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [Solved] What cpufreq driver should I use?

It won't hurt your machine to test the modules out.  Just modprobe each one and see what it says.  It won't be permanent.


I laugh, yet the joke is on me

Offline

#9 2011-09-14 16:59:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [Solved] What cpufreq driver should I use?

Grinch wrote:

...3.2ghz ....

Personal pet peeve:   Heinrich Hertz is a man's name.  SI prefix for giga is G.   So, please, it is 'GHz'.  Even worse is when someone says mhz.  To me, that is still disrespectful to Mr Hertz, and represents a really, really, slow clock (1 milliHertz)

I'll get off my stump now tongue


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2011-09-14 17:09:04

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved] What cpufreq driver should I use?

That's Dr. Hertz. wink


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#11 2011-09-14 17:21:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [Solved] What cpufreq driver should I use?

fsckd wrote:

That's Dr. Hertz. wink

Oops!


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2011-09-14 18:30:34

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [Solved] What cpufreq driver should I use?

Heh, ok I'll try to keep that in mind smile

Offline

#13 2011-09-15 11:54:49

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

I checked Speedstep is enabled in the bios.

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping	: 10
cpu MHz		: 3403.799
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 6810.93
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping	: 10
cpu MHz		: 3403.799
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 6809.60
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping	: 10
cpu MHz		: 3403.799
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 6810.63
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping	: 10
cpu MHz		: 3403.799
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 6810.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

Something I noticed there, this chip is supposed to have 12MB cache, and unless it's 6+6 shared between two cores some of it isn't being detected or intel lied.

I did try the other modules and the only one that seemed to load but did nothing was the p4-clockmod module. That said I should rather use acpi-cpufreq in dmesg.

A quick OT question: I have a setting in my BIOS that goes something along the lines of Plug 'n Play OS. I haven't been brave enough to try it yet, especially with windows lurking on my machine (I'm a gamer big_smile). Will it do anything beneficial in arch? AFAIK it just lets the OS handle assigning IRQs and the like instead of the BIOS doing it.

I guess I should also mention I've an Asus P5K-WiFi+.

Last edited by biltong (2011-09-15 11:57:16)

Offline

#14 2011-09-15 15:37:59

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

I just had a look at my DSDT and it seems mine's got one error in it and several warnings and remarks, I'm gonna try sort those out and make a new kernel to see if that works. Unless kernel.org is down again since I don't have the source.

Offline

#15 2011-09-15 15:45:06

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: [Solved] What cpufreq driver should I use?

You could use this source (found with google):

"http://sunsite.rwth-aachen.de:3080/ftp/pub/mirror/ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.bz2"
"http://sunsite.rwth-aachen.de:3080/ftp/pub/mirror/ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.gz"

Last edited by Radioactiveman (2011-09-15 15:47:01)

Offline

#16 2011-09-26 17:08:55

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

Bump: I haven't done anything with the kernel yet but I updated my BIOS today and still I have the same problem. Motherboard specific?

EDIT: I figured it out. My multiplier was set to 8.5x because of my overclock, and for some obscure reason that makes the SpeedStep option invisible. Setting the multi to auto showed it again and allowed me to enable it. Only problem now is that my overclock is gone sad At least it is in linux, lemme check windows quick.

EDIT 2: Okay, overclock's still there in windows. Weird. I supposed I'll mark this as solved.

Last edited by biltong (2011-09-26 17:29:12)

Offline

#17 2011-09-27 23:01:56

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [Solved] What cpufreq driver should I use?

Weird, as I stated, my machine is overclocked and I've had no problems with speedstep/cpufreq (other than it not reporting the correct frequency). Sounds like a bios thing? Next time I reboot I'll take a lok at my bios settings to see if anything pops up.

Offline

#18 2011-09-29 07:32:40

biltong
Member
From: South Africa
Registered: 2011-09-01
Posts: 118

Re: [Solved] What cpufreq driver should I use?

It works fine now in that acpi_cpufreq loads and I can load governors, but I can only choose between 2.83GHz (stock) and 2GHz and it doesn't do it automatically. I've also discovered that PCIE ASPM doesn't work on my motherboard on Arch because my DSDT doesn't implement a method apparently:

[    0.417100]  pci0000:00: Requesting ACPI _OSC control (0x1d)
[    0.417102]  pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
[    0.417103] ACPI _OSC control for PCIe not granted, disabling ASPM

Edit: Oh and the manual in this thing is the first one I've seen that has linux in it XD the driver CD even has drivers for linux the wireless and sound big_smile

Last edited by biltong (2011-09-29 07:33:58)

Offline

#19 2011-09-29 21:44:00

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [Solved] What cpufreq driver should I use?

Hmm... what do you mean with only being able to choose between 2.83GHz and 2GHz, won't the acpi_cpufreq load unless it's set to one of these speeds?

I went into my bios and speedstep was active (not suprising) and the overclocking was that 'cpu base frequency' was upped to 160 (from default 133) which gives me my current speed of 3.2GHz (default 2.67GHz). I couldn't see any other changes made from default setting although I can't be sure because as I recall I used the built-in OC-Genie option on my motherboard when I overclocked which automatically tested the best speed my cpu could be overclocked at and yet be stable and set it to that.

Anyway, as I've stated I have no problem with acpi_cpufreq and it correctly steps up and down based upon cpu load. However, cpufreq_info returns the wrong cpu frequence (it never goes above 2.67GHz) but I have benchmarked it with and without overclocking and it does indeed run overclocked despite what the cpufreq_info says.

Offline

Board footer

Powered by FluxBB