Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AMD low power hacks

0 views
Skip to first unread message

Michael Nottebrock

unread,
Jul 29, 2002, 3:05:39 PM7/29/02
to
The following is an OpenPGP/MIME signed message
created by Enigmail/Mozilla, following RFC 2440 and RFC 2015
--------------enig8A086DA17DCB77CC40984CC4
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I've been wondering lately why my AthlonTB runs at a quite high
idle-temperature and I came across this page:

http://vcool.occludo.net/VC_Theory.html

Does someone feel like getting something similar into our kernel?


Regards,
--
Michael Nottebrock

--------------enig8A086DA17DCB77CC40984CC4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9RZGYXhc68WspdLARAiTzAJ0YTl9nSpF0375tWzpvQMa1EyRvFwCfYbN7
PP6LB/7oVlIeSGcSiM4xriQ=
=cmCP
-----END PGP SIGNATURE-----

--------------enig8A086DA17DCB77CC40984CC4--


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message

Terry Lambert

unread,
Jul 29, 2002, 4:40:21 PM7/29/02
to
Michael Nottebrock wrote:
> I've been wondering lately why my AthlonTB runs at a quite high
> idle-temperature and I came across this page:
>
> http://vcool.occludo.net/VC_Theory.html
>
> Does someone feel like getting something similar into our kernel?


Note that this can not be made to be reliable without the
confidential errata for A4, A5, A6, A7, and A9. Otherwise,
you can/will get spurious system hangs.

I rather expect that this is the reason it's "off by default",
on most systems, and why there is a "BIOS override" that
disables it, on others.

-- Terry

Gary Jennejohn

unread,
Jul 30, 2002, 6:05:08 AM7/30/02
to
Michael Nottebrock writes:
> The following is an OpenPGP/MIME signed message
> created by Enigmail/Mozilla, following RFC 2440 and RFC 2015
> --------------enig8A086DA17DCB77CC40984CC4
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
> I've been wondering lately why my AthlonTB runs at a quite high
> idle-temperature and I came across this page:
>
> http://vcool.occludo.net/VC_Theory.html
>
> Does someone feel like getting something similar into our kernel?
>

If you have a VIA KT266A chipset then you can do something like this:

# turn on HALT bit in register 0x95 of the KT266a -> CPU runs much cooler
# NOTE: the register had 0x1c when I checked it
echo Enable halt bit in KT266A
/usr/sbin/pciconf -w -b pci0:0:0 0x95 0x1e

which I have in /etc/rc.local. My Athlon runs about 15 C cooler with
this. Bit 1 of register 0x95 controls idling of the CPU.

Here's a step-by-step description:

Do the following as root:
1) pciconf -l -v
this lists all the PCI chipsets found at boot time. I see

agp0@pci0:0:0: class=0x060000 card=0x30991106 chip=0x30991106 rev=0x00
hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT8366/A Apollo KT266/A,KT333 CPU to PCI Bridge'
class = bridge
subclass = HOST-PCI

So I have a KT266(A) at pci0:0:0

2) pciconf -r -b pci0:0:0 0x95

0x1c

Bit 1 isn't set

3) pciconf -w -b pci0:0:0 0x95 0x1e

turns on bit 1.


---
Gary Jennejohn / ga...@jennejohn.org g...@freebsd.org g...@denx.de

Aaron Seelye

unread,
Jul 30, 2002, 12:50:15 PM7/30/02
to
Just confirmed this works on the KT333 as well.

Aaron

0 new messages