From owner-freebsd-stable@FreeBSD.ORG Mon Dec 28 05:24:32 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 482C01065676 for ; Mon, 28 Dec 2009 05:24:32 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: from mail-vw0-f173.google.com (mail-vw0-f173.google.com [209.85.212.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0A5BA8FC13 for ; Mon, 28 Dec 2009 05:24:31 +0000 (UTC) Received: by vws3 with SMTP id 3so3211117vws.3 for ; Sun, 27 Dec 2009 21:24:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.126.150 with SMTP id c22mr3830423vcs.66.1261977865017; Sun, 27 Dec 2009 21:24:25 -0800 (PST) In-Reply-To: <20091228045908.32AC21CC0B@ptavv.es.net> References: <20091228045908.32AC21CC0B@ptavv.es.net> Date: Mon, 28 Dec 2009 13:24:24 +0800 Message-ID: From: Mars G Miro To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Thomas Hurst , freebsd-stable@freebsd.org Subject: Re: k8temp support for Phenom II 965? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 05:24:32 -0000 On Mon, Dec 28, 2009 at 12:59 PM, Kevin Oberman wrote: >> Date: Mon, 28 Dec 2009 12:17:15 +0800 >> From: Mars G Miro >> Sender: owner-freebsd-stable@freebsd.org >> >> Any chance ? >> >> root@phenom965:~# k8temp -nd >> CPUID: Vendor: AuthenticAMD, 0x100f42: Model=3D04 Family=3Df+1 Stepping= =3D2 >> Advanced Power Management=3D0x1f9 >> =A0 =A0Temperature sensor: Yes >> =A0Frequency ID control: No >> =A0 =A0Voltage ID control: No >> =A0 =A0 THERMTRIP support: Yes >> =A0 =A0HW Thermal control: Yes >> =A0 =A0SW Thermal control: Yes >> =A0 =A0100MHz multipliers: Yes >> =A0 =A0HW P-State control: Yes >> =A0 =A0 =A0 =A0 TSC Invariant: Yes >> Temp=3Dc1880 >> ThermTrip=3D1ec01030 >> 0 >> >> >> from dmesg: >> ... >> CPU: AMD Phenom(tm) II X4 965 Processor (3411.64-MHz K8-class CPU) >> =A0 Origin =3D "AuthenticAMD" =A0Id =3D 0x100f42 =A0Stepping =3D 2 >> =A0 Features=3D0x178bfbff >> =A0 Features2=3D0x802009 >> =A0 AMD Features=3D0xee500800 >> =A0 AMD Features2=3D0x37ff >> =A0 TSC: P-state invariant >> ... >> >> this is on 8.0-RELEASE-p1, thanks. > > I think you want to load the amdtemp kernel module for a Phenom. Temps I've never had to load the amdtemp module on my Phenom II X4 940, tho > should be readable from 'sysctl dev.cpu | grep temperature'. > > I think the Phenom II also supports PowerNow and Cool'n'Quiet, so it > should have both frequency and voltage control. done, still the same: root@phenom965:~# sysctl -a | grep temperature dev.cpu.0.temperature: 0.0C dev.cpu.1.temperature: 0.0C root@phenom965:~# k8temp -dn CPUID: Vendor: AuthenticAMD, 0x100f42: Model=3D04 Family=3Df+1 Stepping=3D2 Advanced Power Management=3D0x1f9 Temperature sensor: Yes Frequency ID control: No Voltage ID control: No THERMTRIP support: Yes HW Thermal control: Yes SW Thermal control: Yes 100MHz multipliers: Yes HW P-State control: Yes TSC Invariant: Yes Temp=3Dc1880 ThermTrip=3D1ec01030 0 root@phenom965:~# > -- > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: oberman@es.net =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Phone: +1 510 4= 86-8634 > Key fingerprint:059B 2DDF 031C 9BA3 14A4 =A0EADA 927D EBB3 987B 3751 > --=20 cheers mars ----- Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so." - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html