From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 14:43:33 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 345FA106566C; Sun, 1 Mar 2009 14:43:33 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (unknown [IPv6:2001:2f0:104:80a0:230:48ff:fe41:2455]) by mx1.freebsd.org (Postfix) with ESMTP id 181C48FC15; Sun, 1 Mar 2009 14:43:31 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with SMTP id n21EhTjl049145; Sun, 1 Mar 2009 23:43:30 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 1 Mar 2009 23:43:28 +0900 From: Norikatsu Shigemura To: Rui Paulo Message-Id: <20090301234328.9aa4237c.nork@FreeBSD.org> In-Reply-To: <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> References: <20090301181631.d2e3c89e.nork@FreeBSD.org> <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 01 Mar 2009 23:43:30 +0900 (JST) Cc: freebsd-current@FreeBSD.org, Norikatsu Shigemura Subject: Re: ktemp(8) on Phenom II X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 14:43:33 -0000 Hi Rui! On Sun, 1 Mar 2009 13:48:28 +0000 Rui Paulo 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'.