View previous topic :: View next topic |
Author |
Message |
Olimaus Tux's lil' helper
Joined: 11 Feb 2003 Posts: 116 Location: Germany, Karlsruhe
|
Posted: Tue Jan 20, 2004 9:21 pm Post subject: amd_64 and cool 'n' quiet |
|
|
hi
is there a way to aktivate cool 'n' quiet on my gentoo box?
i have compiled it into the kernel, but i dont know, how to aktivate it.
is there a way? |
|
Back to top |
|
|
mb Guru
Joined: 25 Apr 2002 Posts: 355 Location: Hessen | .de
|
Posted: Wed Jan 21, 2004 9:31 am Post subject: |
|
|
hi olimaus,
if you have powernow-k8 support in kernel, you can use cpudyn (in portage) to switch between p-states..
hth,
#mb |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Wed Jan 21, 2004 11:12 am Post subject: |
|
|
Stupid question coming ...
Does this work for the Opterons? or just reg 64FX?? _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Wed Jan 21, 2004 11:32 am Post subject: |
|
|
It does, but u must unmask cpudyn and enable powernow in krenel and there u can select some "powersaving strategies" (i dont remember em now how they are called ) to change it as as user. u can then use cpudyn as daemon.
It can switch to differen modes dependent on ur cpu use. (u must edit conf.d/cpudyn to setup it) |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Wed Jan 21, 2004 1:58 pm Post subject: |
|
|
crazycat wrote: | It does, but u must unmask cpudyn and enable powernow in krenel and there u can select some "powersaving strategies" (i dont remember em now how they are called ) to change it as as user. u can then use cpudyn as daemon.
It can switch to differen modes dependent on ur cpu use. (u must edit conf.d/cpudyn to setup it) |
Thx for the info useful to know ... although I have never known opteron cpu's run so cool, even after a long stretch of compiling! _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
mark Tux's lil' helper
Joined: 04 Jun 2002 Posts: 119
|
Posted: Wed Jan 21, 2004 6:38 pm Post subject: |
|
|
crazycat wrote: | It does, but u must unmask cpudyn and enable powernow in krenel and there u can select some "powersaving strategies" (i dont remember em now how they are called ) to change it as as user. u can then use cpudyn as daemon.
It can switch to differen modes dependent on ur cpu use. (u must edit conf.d/cpudyn to setup it) |
My dmesg includes this
powernow-k8: version 1.00.08 - September 26, 2003
powernow-k8: multiprocessor systems not supported
So I dont think it works with opterons in smp configs at least
Mark _________________ Regards
Mark |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Thu Jan 22, 2004 4:41 am Post subject: |
|
|
Yeah , u are right ,it doesent work on opertron, i just thought about athlon 64. I read somewhere that opertron does not have theese pins for it because of too much hypertransport busses :>. Anyway , u can hack athlon xp to use powernow when u close some of l5 bridges.
http://www.cpuheat.wz.cz/html/AXP_multiplier/AXP_Multiplier.htm |
|
Back to top |
|
|
windex82 Apprentice
Joined: 05 Jun 2003 Posts: 181
|
Posted: Fri Jan 23, 2004 5:56 am Post subject: |
|
|
how can you tell if your speed is being throttled down or not?
Its running, no errors have ever been givin, and I know it is designed to be unnoticed but how do you find out if its working or not? |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Fri Jan 23, 2004 11:13 am Post subject: |
|
|
Well i dont use gentoo right now cause of some statistik software i am bound to, but i think there is a way to cat it somehow from proc . U can use google to find it:
" To set the frequency, do something like "echo 500 > /proc/powernow". Don't go lower than that, on my 1GHz Athlon, the machine will crash. To show current speed, use cat /proc/powernow " |
|
Back to top |
|
|
windex82 Apprentice
Joined: 05 Jun 2003 Posts: 181
|
Posted: Sat Jan 24, 2004 1:37 am Post subject: |
|
|
I always forget how much info is in /proc...
Busy:
Code: | root@insanity proc # tail -n 100 cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 4
model name : AMD Athlon(tm) 64 Processor 3200+
stepping : 8
cpu MHz : 1999.461
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 3964.92
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
|
Idle:
Code: |
root@insanity proc # tail -n 100 cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 4
model name : AMD Athlon(tm) 64 Processor 3200+
stepping : 8
cpu MHz : 799.784
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 1585.97
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
|
Works exellent, like I said before, cant even tell its there. |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Sun Jan 25, 2004 11:02 am Post subject: |
|
|
well i found out this:
change speed for example to 800Mhz:
echo "800000" > /proc/sys/cpu/0/speed
there are also speed-max and speed-min files in that dir witch show u the max and min speed. |
|
Back to top |
|
|
Olimaus Tux's lil' helper
Joined: 11 Feb 2003 Posts: 116 Location: Germany, Karlsruhe
|
Posted: Mon Feb 02, 2004 2:17 pm Post subject: |
|
|
got a problem here...
Code: |
powernow-k8: version 1.00.08 - September 26, 2003
powernow-k8: Found AMD Athlon 64 / Opteron processor supporting p-state transitions
powernow-k8: voltage stable time: 5 (units 20us)
powernow-k8: p states on battery: 0 - all available
powernow-k8: ramp voltage offset: 1
powernow-k8: isochronous relief time: 3
powernow-k8: maximum voltage step: 0
powernow-k8: pll lock time: 0x2
powernow-k8: maxfid: 0xc
powernow-k8: maxvid: 0x2
powernow-k8: numpstates: 0x3
powernow-k8: 0 : fid 0x0, vid 0xa
powernow-k8: 1 : fid 0xa, vid 0x6
powernow-k8: 2 : fid 0xc, vid 0x2
powernow-k8: BIOS error: maxvid exceeded with pstate 2
|
kernel config is set after the cpudyn faq
http://mnm.uib.es/~gallir/cpudyn/powersave.png
whats wrong with it?
gentoo_64, gentoo-dev-sources 2.6.1-r1 and msi k8t |
|
Back to top |
|
|
zk n00b
Joined: 04 Dec 2003 Posts: 18
|
Posted: Mon Feb 02, 2004 10:14 pm Post subject: |
|
|
I too have a MSI K8T and kernel 2.6.1-r1, but use 32bit gentoo. I get the same dmesg error. |
|
Back to top |
|
|
zendron Tux's lil' helper
Joined: 28 Jul 2002 Posts: 82
|
Posted: Tue Feb 03, 2004 10:45 am Post subject: |
|
|
count me too. Same board.
Just looked at the german msi site in the FAQ of the board and there is a entry dated from 02.02.2004, that said that there is a AMD64 limitation for cool'n quiet. Cool'n quiet is only usable with max 2 RAM modules. With putting in the 3rd cool'n quit would be disabled.
This let me thing noobish. I have only one 512MB DIMM, hmm did i put it in the wrong place so the bios things there are 3 DIMMs in.
/me muses** |
|
Back to top |
|
|
Olimaus Tux's lil' helper
Joined: 11 Feb 2003 Posts: 116 Location: Germany, Karlsruhe
|
Posted: Tue Feb 03, 2004 6:09 pm Post subject: |
|
|
i have dualboot and my cool and quiet works unter winxp.
so it couldn't be a bios problem or something with the board.
i have one dimm in the first mobo slot(512mb corsair). |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Wed Feb 04, 2004 2:15 am Post subject: |
|
|
Well, i have only userspace governor, cause i want to control freqs myself or with daemon, i also have proc/sys/cpu interface and u can use it easily to change freqs in a way i wrote it, and my default governor is userspace. I've got gigabyte k8v800 board and it works ok for me. You should try to experiment with kernel config - for example to change governor or so, maybe it will help. I also got newest bios for my board. Maybe a problem is that msi uses their own chip for cool&quiet stuff, have u tried to disable it? |
|
Back to top |
|
|
mb Guru
Joined: 25 Apr 2002 Posts: 355 Location: Hessen | .de
|
Posted: Wed Feb 04, 2004 9:51 am Post subject: |
|
|
Hi *,
Olimaus wrote: | got a problem here...
Code: |
powernow-k8: BIOS error: maxvid exceeded with pstate 2
|
|
same here... also latest bios from MSI.. maybe we should get in contact with the maintainer of this driver..
#mb |
|
Back to top |
|
|
zk n00b
Joined: 04 Dec 2003 Posts: 18
|
Posted: Wed Feb 04, 2004 10:39 pm Post subject: |
|
|
Olimaus wrote: | i have dualboot and my cool and quiet works unter winxp.
so it couldn't be a bios problem or something with the board.
i have one dimm in the first mobo slot(512mb corsair). |
Well, it sort of works under xp for me too. But it seems like MSI's definition of Cool'n'Quiet differs from the impression I got from AMD. MSI CoreCenter only adjusts the cpu fan according the cpu load, it does not change the cpu frequency, as I think it should be able to do. It really sucks that the mainboard doesn't support one of the greatest features of the Athlon64. |
|
Back to top |
|
|
zk n00b
Joined: 04 Dec 2003 Posts: 18
|
Posted: Wed Feb 04, 2004 10:42 pm Post subject: |
|
|
I posted the following on MSI's forum a few days ago, but not a single response so far.
Quote: | There seems to be some problem with the K8T and powernow-k8. I am using the latest BIOS (1.1) and kernel 2.6.1 with gentoo linux. My dmesg gives this output:
powernow-k8: version 1.00.08 - September 26, 2003
powernow-k8: Found AMD Athlon 64 / Opteron processor supporting p-state transitions
powernow-k8: voltage stable time: 5 (units 20us)
powernow-k8: p states on battery: 0 - all available
powernow-k8: ramp voltage offset: 1
powernow-k8: isochronous relief time: 3
powernow-k8: maximum voltage step: 0
powernow-k8: pll lock time: 0x2
powernow-k8: maxfid: 0xc
powernow-k8: maxvid: 0x2
powernow-k8: numpstates: 0x3
powernow-k8: 0 : fid 0x0, vid 0xa
powernow-k8: 1 : fid 0xa, vid 0x6
powernow-k8: 2 : fid 0xc, vid 0x2
powernow-k8: BIOS error: maxvid exceeded with pstate 2
I found this information at http://lists.suse.com/archive/suse-amd64/2003-Dec/0114.html
The BIOS needs to supply an usable PST table (many don't unfortunately),
but it is actually handled on linux by a kernel driver (powernow-k8) and cpufreqd.
When you have a working PST table it should just work out of the box on 9.0/AMD64.
It will only work on Athlon64 boxes, no Opteron or FX.
The BIOS also does some power management using C* states and SMM code and ACPI, but
these are not what Cool'n'Quiet refers to.
When the PST table is ok and you have the right CPU you should see a message like:
powernow-k8: version 1.00.08 - September 26, 2003
powernow-k8: Found AMD Athlon 64 / Opteron processor supporting p-state transitions
powernow-k8: voltage stable time: 5 (units 20us)
powernow-k8: p states on battery: 0 - all available
powernow-k8: ramp voltage offset: 2
powernow-k8: isochronous relief time: 3
powernow-k8: maximum voltage step: 0
powernow-k8: pll lock time: 0x2
powernow-k8: maxfid: 0xa
powernow-k8: maxvid: 0x0
powernow-k8: numpstates: 0x3
powernow-k8: 0 : fid 0x0, vid 0xa
powernow-k8: 1 : fid 0x8, vid 0x6
powernow-k8: 2 : fid 0xa, vid 0x2
powernow-k8: currfid 0xa, currvid 0x2
powernow-k8: cpu_init done, current fid 0xa, vid 0x2
Any suggestions about what I might have done wrong are welcome. My kernel is configured according to the cpudyn FAQ, http://mnm.uib.es/~gallir/cpudyn/powersave.png
Are there any known issues with this and/or maybe a new bios coming up? |
|
|
Back to top |
|
|
Olimaus Tux's lil' helper
Joined: 11 Feb 2003 Posts: 116 Location: Germany, Karlsruhe
|
Posted: Thu Feb 05, 2004 5:19 pm Post subject: |
|
|
zk wrote: | Olimaus wrote: | i have dualboot and my cool and quiet works unter winxp.
so it couldn't be a bios problem or something with the board.
i have one dimm in the first mobo slot(512mb corsair). |
Well, it sort of works under xp for me too. But it seems like MSI's definition of Cool'n'Quiet differs from the impression I got from AMD. MSI CoreCenter only adjusts the cpu fan according the cpu load, it does not change the cpu frequency, as I think it should be able to do. It really sucks that the mainboard doesn't support one of the greatest features of the Athlon64. |
thats not right. you have to use a driver from amd and after that you have to change your power options properties
here is a link in german, maybe it helps: http://www.msi-computer.de/dienste/features/coolquiet/index.php
i have 800 Mhz when there is no load on the cpu |
|
Back to top |
|
|
Gendal n00b
Joined: 25 Apr 2003 Posts: 18
|
Posted: Thu Feb 05, 2004 8:21 pm Post subject: |
|
|
This thread http://forum.msi.com.tw/thread.php?threadid=38998&sid=ddfe896056f7b456da92db5b4bdaa59a has a new 1.2 bios available at ftp://ftp.heppen.be/msi/K8T-Neo/
Anybody tried it to see if it gets rid of the problem?
Code: | powernow-k8: BIOS error: maxvid exceeded with pstate 2 |
Oh and also, does anybody else have problems rebooting using the reboot or shutdown -r now commands with this motherboard? It goes throught the motions then crashes with a black screen on any 2.6.1 or 2.6.2 kernel for me. Other than that it's rock solid with a pure SATA system. |
|
Back to top |
|
|
Kioshen Tux's lil' helper
Joined: 23 Sep 2003 Posts: 109 Location: Montreal, PQ
|
Posted: Thu Feb 05, 2004 8:49 pm Post subject: |
|
|
My systems based on amd64 are using a Tyan K8S and a Asus K8V DLX. No problem there. MSI are having trouble with the bios of this motherboard. I think they didn't even fix the oops in the kernel 2.6 yet. Maybe that's why you are experiencing this problem. Can't remember where I have read the issue but I'm pretty sure it was on the gentoo forum. |
|
Back to top |
|
|
cduchesne n00b
Joined: 21 Apr 2003 Posts: 14
|
Posted: Thu Feb 05, 2004 11:59 pm Post subject: |
|
|
Quote: |
Oh and also, does anybody else have problems rebooting using the reboot or shutdown -r now commands with this motherboard? It goes throught the motions then crashes with a black screen on any 2.6.1 or 2.6.2 kernel for me. Other than that it's rock solid with a pure SATA system.
|
Yeah actually... I am having the same problem. I wonder what it could be. Any ideas? Also, I can't get the cool-n'-quiet working either. _________________ WX
MSI K8T Neo
Athlon64 3200+
GF4 Ti4400
1024 MB PC3200
Gentoo 1.4 |
|
Back to top |
|
|
zendron Tux's lil' helper
Joined: 28 Jul 2002 Posts: 82
|
Posted: Fri Feb 06, 2004 10:59 am Post subject: |
|
|
Tried that new Bios, nothing changed.
As far as i read on lkml, there are a few motherboard manufactures with broken bios output or something like this, one of those seems to be MSI.
The maintainer of the powernow-k8 driver thinks of a rewrite based on ACPI. But he need time to get things working. |
|
Back to top |
|
|
zendron Tux's lil' helper
Joined: 28 Jul 2002 Posts: 82
|
Posted: Sat Feb 07, 2004 12:03 pm Post subject: |
|
|
MSI people look:
Code: | veitw@blitz veitw $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 4
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 8
cpu MHz : 800.059
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 1572.86
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
|
There is another Bios update on the german MSI Site.
Here is the
link .
Have fun !! |
|
Back to top |
|
|
|