From owner-freebsd-stable@FreeBSD.ORG Thu Feb 21 06:50:25 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B51E97B2 for ; Thu, 21 Feb 2013 06:50:25 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3E11482 for ; Thu, 21 Feb 2013 06:50:25 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id r1L6T5VU001000; Wed, 20 Feb 2013 22:29:09 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201302210629.r1L6T5VU001000@gw.catspoiler.org> Date: Wed, 20 Feb 2013 22:29:05 -0800 (PST) From: Don Lewis Subject: Re: RELENG_8: amdtemp module and newer CPUs not working. MFC? To: torfinn.ingolfsen@getmail.no In-Reply-To: <20130217135317.5c4d10819e8d12440785a3a0@getmail.no> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 06:50:25 -0000 On 17 Feb, Torfinn Ingolfsen wrote: > Hello, > I'm running FreeBSD 8.3-stable on a machine with an AMD A8-5600K cpu. > tingo@kg-quiet$ uname -a > FreeBSD kg-quiet.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #2: Fri Jan 4 19:18:15 CET 2013 > root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > tingo@kg-quiet$ dmesg | grep CPU | head -1 > CPU: AMD A8-5600K APU with Radeon(tm) HD Graphics (3618.02-MHz K8-class CPU) > > Unfortunately, the amdtemp.ko module doesn't work: > tingo@kg-quiet$ kldstat | grep temp > 10 1 0xffffffff8123e000 f0f amdtemp.ko > tingo@kg-quiet$ sysctl dev.amdtemp > sysctl: unknown oid 'dev.amdtemp' > > Based on a thread[1] on the forums, amdtemp.c from -CURRENT work. > But it doesn't compile under FreeBSD 8.3-stable: Updating amdtemp is on my TODO list. It has some issues even on -CURRENT. This is kind of far down my priority list because on most of my AMD machines, I can also get the temperature without amdtemp: % sysctl hw.acpi.thermal.tz0.temperature hw.acpi.thermal.tz0.temperature: 30.0C