Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 15:05:08 +0000
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Norikatsu Shigemura <nork@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: ktemp(8) on Phenom II
Message-ID:  <69C4F850-1DCC-4E15-84E7-1B0E7C656CE6@FreeBSD.org>
In-Reply-To: <20090301234328.9aa4237c.nork@FreeBSD.org>
References:  <20090301181631.d2e3c89e.nork@FreeBSD.org> <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> <20090301234328.9aa4237c.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-3--85328728
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit


On 1 Mar 2009, at 14:43, Norikatsu Shigemura wrote:

> Hi Rui!
>
> On Sun, 1 Mar 2009 13:48:28 +0000
> Rui Paulo <rpaulo@freebsd.org> wrote:
>>> chip=0x12031022 rev=0x00 hdr=0x00
>>>   vendor     = 'Advanced Micro Devices (AMD)'
>>>   device     = '(Family 10h) Athlon 64/Opteron/Sempron
>>> Miscellaneous Control'
>
>> Try replacing 0x1103 by 0x1203 in k8temp.c.
>> Does that work?
>
> 	I got following results:
>
> $ sysctl -a | fgrep -e k8 -e temperature
> dev.cpu.0.temperature: 143
> dev.cpu.1.temperature: 143
> dev.k8temp.0.%desc: AMD K8 Thermal Sensors
> dev.k8temp.0.%driver: k8temp
> dev.k8temp.0.%parent: hostb4
> dev.k8temp.0.sensor0.core0: 143
> dev.k8temp.0.sensor0.core1: 143
> dev.k8temp.0.sensor1.core0: 143
> dev.k8temp.0.sensor1.core1: 143
>
> 	Accordingly BIOS reports CPU temperature is 32-36 celsius
> 	(=89-97 fahrenheit).  I don't know what is '143'.

I see that AMD has changed the register layout on recent processors.  
I'll try to cook up something when I have the time.

Regards,
--
Rui Paulo


--Apple-Mail-3--85328728
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkmqpCUACgkQfD8M/ASTygK1/wCeIvNx7pk6oVlyNHUg+L8LoEnB
ueEAoLDuLX71OMC4G88U++k/nRSfnBYh
=6dYK
-----END PGP SIGNATURE-----

--Apple-Mail-3--85328728--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69C4F850-1DCC-4E15-84E7-1B0E7C656CE6>