From owner-freebsd-stable@FreeBSD.ORG Fri Feb 22 01:24:18 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 E9481EA9; Fri, 22 Feb 2013 01:24:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id 82811B0F; Fri, 22 Feb 2013 01:24:18 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id l20so139933oag.23 for ; Thu, 21 Feb 2013 17:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=IVl5W7EKi61RO8r3csPI9vSYWpcLsMAUMZQdZUNK20I=; b=FogEaSm5cvd3+JZd9iKiC+t8uB49YjDYNTuwQ2VMRFHqKdGSZTqkPRUakHTaC3zMcY k6AOe4rARhv0RdJQkFYYlnCKTLED/vYybaOZikrcPz2eO1vYpLH3d48HNJZ9kMrwIa14 19lUpKcbC+3yG4Xf4hxFvFYV1Hcp0bF1VnJ7u+BGPT/6eukpObXsSeKSP8stnAYO2DKN 4NEehVAaJ4bsqDqtB+LSkpbXpqHxTYOIFJQtIoWnJjllqW3neXx3jK3/ZnNVEKzF9g9v otlT2cq8fOOgLe3TYr8Z3pHDk/wfr0YtNh4/JwL2CXHk+l7WSHL7pfFd9HDTUy+ZpwRN 8tFQ== MIME-Version: 1.0 X-Received: by 10.60.170.20 with SMTP id ai20mr74688oec.33.1361496257769; Thu, 21 Feb 2013 17:24:17 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.76.33.170 with HTTP; Thu, 21 Feb 2013 17:24:17 -0800 (PST) In-Reply-To: <201302210629.r1L6T5VU001000@gw.catspoiler.org> References: <20130217135317.5c4d10819e8d12440785a3a0@getmail.no> <201302210629.r1L6T5VU001000@gw.catspoiler.org> Date: Thu, 21 Feb 2013 17:24:17 -0800 X-Google-Sender-Auth: c8evG2qO-bF5cAXxkv-vZDobOak Message-ID: Subject: Re: RELENG_8: amdtemp module and newer CPUs not working. MFC? From: Kevin Oberman To: Don Lewis Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org, torfinn.ingolfsen@getmail.no 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: Fri, 22 Feb 2013 01:24:19 -0000 On Wed, Feb 20, 2013 at 10:29 PM, Don Lewis wrote: > 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 Beware! My desktop system (SuperMICRO) reports a permanent, unchanging value for acpi_thermal. 45C IIRC. amdtemp on that system returns the correct temp for all four cores. Is your always 30C? That is pretty cool! (Pun intended.) -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com