From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 00:28:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8DEB106566B for ; Mon, 1 Aug 2011 00:28:39 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 89F8E8FC08 for ; Mon, 1 Aug 2011 00:28:39 +0000 (UTC) Received: by yxl31 with SMTP id 31so3705253yxl.13 for ; Sun, 31 Jul 2011 17:28:38 -0700 (PDT) Received: by 10.101.213.18 with SMTP id p18mr2735009anq.98.1312158518671; Sun, 31 Jul 2011 17:28:38 -0700 (PDT) Received: from papi.localnet ([177.17.4.208]) by mx.google.com with ESMTPS id g8sm2746955and.0.2011.07.31.17.28.36 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 31 Jul 2011 17:28:38 -0700 (PDT) From: Mario Lobo To: FreeBSD Questions Date: Sun, 31 Jul 2011 21:28:29 -0300 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.2; amd64; ; ) X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201107312128.29322.lobo@bsd.com.br> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Phenom II 975 BE shows 0 celsius X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 00:28:39 -0000 Hi to all In my desktop machine, I had an AM2+ ASROCK mobo with Phenom II 955 BE that= =20 showed each core temperature perfectly under FBSD 8-STABLE, via=20 dev.cpu.x.temp. amdtemp.ko loaded. Unfortunately this Mobo died and only found AM3 boards for which my phenom = 955=20 doesn't fit. So I got an ASUS M4A88T-V EVO with a Phenom II 975 BE.=20 =46unny thing. An AM3 phenom II fits on an AM2 board but an AM3 board doesn= 't=20 accept an AM2/AM2+ phenom II :(. Anyway, now, under the very same system, it shows 0 degrees on dev.cpu.x.te= mp=20 for all cores. I've been looking through k8temp and amdtemp src code. I am definitely not= =20 sure of this but I believe something might have happened to those: =46rom k8temp.h K10_THERM_REG 0xa4=20 K10_THERMTRIP_REG 0xe4 K10_CURTMP(val) (((val) >> 21) & 0xfff) K10_THERMTRIP(val) ((val >> 1) & 1) =46rom amdtemp.c /* * Register control (K8 family) */ #define AMDTEMP_REG0F 0xe4 #define AMDTEMP_REG_SELSENSOR 0x40 #define AMDTEMP_REG_SELCORE 0x04 /* * Register control (K10 & K11) family */ #define AMDTEMP_REG 0xa4 Output of k8temp -dn: CPUID: Vendor: AuthenticAMD, 0x100f43: Model=3D04 Family=3Df+1 Stepping=3D3 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=3Dc0fef ThermTrip=3D1fc00c30 0 I keep a small win7 partition to test little things like this and see if th= e=20 same thing happens there, and it doesn't, so I concluded that the sensors a= re=20 there and are working. One thing is worth noting though. I have used a free gadget that shows=20 activity/temp for each core. It worked fine with the previous MB/CPU.That A= LSO=20 stopped working with this new MB. Like FBSD, it shows 0 degrees for any cor= e=20 too, although it correctly displays each core load. The only windows tool that correctly shows the temperature are the ASUS too= ls=20 that came with the mobo. Other than that, everything is working fine! The only thing I had to fix wa= s=20 the fstab ada location. I know this is not a big thing but I got accustomed to keeping an eye on th= ose=20 temperatures. I have googled for a few days now searching for Thermal register address or= =20 offsets for the Phenom II 975 BE, or anything related to this problem and=20 found nothing. Every search on AMD site was fruitless. I could not find a=20 single bit of tech info on this processor there, or any other tech info for= =20 that matter. Would any one have any pointers/clues/suggestions on this? Thanks, =2D-=20 Mario Lobo http://www.mallavoodoo.com.br =46reeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)