View Full Version : using Cool'n Quiet
siefried12
25th August 2004, 02:32 PM
I got Cool'n quiet finally.
When I used fedora core2 i386, that was not a problem, but I couldn't use it in fedora core2 x86_64.
I had to compile kernel to change Process Type( into AMD64 ). Then cpuspeed started automatically in i386. It worked well.
In x86_64, I couldn't find Cpuspeed, so I used Cpudyn and Cpufreqd. Both didn't work.
I found that Cpuspeed is in Kernel-utils.
I downloaded kernel-utils-2.4-12.1.142.x86_64.rpm, is in Developement category.
I see Cpuspeed again and it works well.
Bana
4th September 2004, 04:20 AM
Hmm how can we tell if Cool'n'Quiet is working at the moment? Does it require a kernel rebuild? All that dmesg tells me is CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 08
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
John Veysey
29th September 2004, 04:34 PM
Hi,
So far I have the cool part of CnQ working.
I had success with cpudyn (http://mnm.uib.es/~gallir/cpudyn/ or simply yum install cpudyn if using dag's repository).
I later settled on powernowd (http://www.deater.net/john/powernowd.html), as it supports all three athlon 64 cpu states.
I monitor the cpu state with gkrellm2 and its cpufreq plugin: http://iacs.epfl.ch/~winkelma/gkrellm2-cpufreq/
Works nicely as a monitor, although you can't use it to actually toggle the cpu speed. As a plus, you get to see the associated cool temperatures (< 30 C @ idle) :)
You can also monitor the cpu speed using: "cat /proc/cpuinfo", and looking at the cpu speed in MHz.
Does anybody have the "quiet/" part working? I tried to use the lmsensors fancontrol and pwmconfig, to do pwm fan slowdown, but couldn't get anywhere. The cvs version of pwmconfig does run nicely on FC2, but can't seem to change the fan speeds on an Asus K8V-X mobo. I'll be trying to use bios control / qfan next, which might work ... ?
John
John Veysey
29th September 2004, 04:37 PM
Sorry, realized I didn't entirely answer the question.
(1) Yes, a kernel rebuild is required. The cpudyn website and http://web.ics.purdue.edu/~nino/Linux/cpudyn.html talk you through the necessary options. It was painless for me, even though I'm usually loathe to rebuild kernels.
FYI, The binaries are all 64 bit.
John
Dog-One
30th September 2004, 04:54 AM
I got Cool'n quiet finally.
When I used fedora core2 i386, that was not a problem, but I couldn't use it in fedora core2 x86_64.
I had to compile kernel to change Process Type( into AMD64 ). Then cpuspeed started automatically in i386. It worked well.
In x86_64, I couldn't find Cpuspeed, so I used Cpudyn and Cpufreqd. Both didn't work.
I found that Cpuspeed is in Kernel-utils.
I downloaded kernel-utils-2.4-12.1.142.x86_64.rpm, is in Developement category.
I see Cpuspeed again and it works well.
What kernel version are you using?
The 2.6.8-1.521 for x86_64 doesn't have powernow-k8 source. Under the i386 tree it does.
Dog-One
30th September 2004, 05:56 PM
As you were. I see the Makefile references the i386 code.
So, I recompiled the kernel and all the modules are there, but when I load powernow-k8 is says:
FATAL: Error inserting powernow_k8 (/lib/modules/2.6.8-1.521new/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko): No such device
Does that mean I have to have a AMD64 Mobile processor?
What am I missing here?
helle
11th February 2005, 01:35 PM
have you already solved you problem?
cause now its mine to.
im using kernel Linux 2.6.10-1.741_FC3/x86_64, but dmesg says nothing about k8-powernow :(
Nord
11th February 2005, 02:22 PM
I have simple idea... Could you tell me whether QnQ technology is enabled in your BIOS? To my mind, on Asus A8V it's disabled by default. :rolleyes:
multiboot
11th February 2005, 05:14 PM
I have to admit that I don't use the Cool and Quiet, I disabled it in the system setup/ BIOS.
Dog-One
11th February 2005, 05:48 PM
have you already solved you problem?
cause now its mine to.
im using kernel Linux 2.6.10-1.741_FC3/x86_64, but dmesg says nothing about k8-powernow :(I finally got a handle on the problem. Here are some relevant threads: CnQ and Fan Control
HTH
helle
11th February 2005, 08:35 PM
thanks a lot
cool n quiet works now. i have now only 1000Mhz ;)
but i cant get my fans running. if i start 'pwmconfig' i get this error:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
is this normal on an A8V?
macemoneta
11th February 2005, 09:39 PM
thanks a lot
cool n quiet works now. i have now only 1000Mhz ;)
but i cant get my fans running. if i start 'pwmconfig' i get this error:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
is this normal on an A8V?
You probably need to patch the pwmconfig script, as I described in this post (http://www.fedoraforum.org/forum/showpost.php?p=161610&postcount=5) in the fan control thread pointed to by Dog-One.
helle
20th February 2005, 11:25 AM
You probably need to patch the pwmconfig script, as I described in this post (http://www.fedoraforum.org/forum/showpost.php?p=161610&postcount=5) in the fan control thread pointed to by Dog-One.
thx a lot. that solved the problem. but now i have the next problem:
if i execute the pwmconfig script it tells
Found the following fan sensors:
1-0290/fan1_input current speed: 0 ... skipping!
1-0290/fan2_input current speed: 0 ... skipping!
1-0290/fan3_input current speed: 0 ... skipping!
There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information.
the doc says me:
Fan Divisor Settings
--------------------
Fan Divisor Minimum RPM Maximum RPM
----------- ----------- -----------
1 5314 1350000
2 2657 675000 default on most chips
4 1328 337500
8 664 168750
16 332 84375 not supported on most chips
32 166 42187 ""
64 83 21093 ""
128 41 10546 ""
[...]
How to change fan divisors
--------------------------
Method 1: "echo x y z > /proc/sys/dev/sensors/...../fan_div"
where 'x y z' are the fan divisors for the three fans and '...'
is the sensor in question.
Method 2: Put an entry "set fanx_div y" in the appropriate section
of /etc/sensors.conf and rerun 'sensors -s'.
(x is the number of the fan 1-3 and y is the divisor).
my fans are 'Papst 120 mm GLL', int he BIOS the fan speed is always colored red cause they are to slow. so i have to change the 'fan divisors'
but Method 1 dont works cause there is no directory /proc/sys/dev/sensors/.
and method 2 dont works cause i dont know where the 'appropriate section' is. this file is realy huge!
thx a lot for your help
h
macemoneta
20th February 2005, 07:13 PM
Take a look in your "/sys/bus/i2c/devices" directory. In mine, I have a "2-0290" subdirectory that has the fans and divisors. To set the divisor, I would then:
echo -n "8"> /sys/bus/i2c/devices/2-0290/fan1_div
echo -n "8"> /sys/bus/i2c/devices/2-0290/fan2_div
If your fans are controllable, and recognized by lmsensors (which you've setup, right?), then you should have a similar configuration.
helle
21st February 2005, 05:19 AM
Take a look in your "/sys/bus/i2c/devices" directory. In mine, I have a "2-0290" subdirectory that has the fans and divisors. To set the divisor, I would then:
echo -n "8"> /sys/bus/i2c/devices/2-0290/fan1_div
echo -n "8"> /sys/bus/i2c/devices/2-0290/fan2_div
If your fans are controllable, and recognized by lmsensors (which you've setup, right?), then you should have a similar configuration.
yes
thanks macemoneta, now everything works perfectly.
as i have seen now, there is a error acuring while im boot. something with the k8-powernow
[root@h ~]# dmesg | grep powernow
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09e)
powernow-k8: 0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
powernow-k8: 1 : fid 0xa (1800 MHz), vid 0x6 (1400 mV)
powernow-k8: vid trans failed, vid 0x3, curr 0x4
powernow-k8: transition frequency failed
i dont know what he wants from me, cause everything works.
thx all for you support ;)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.