From owner-freebsd-current@FreeBSD.ORG Sun Apr 17 18:09:23 2011 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 382961065673 for ; Sun, 17 Apr 2011 18:09:23 +0000 (UTC) (envelope-from uncle@devio.us) Received: from wolfman.devio.us (devious-1-pt.tunnel.tserv12.mia1.ipv6.he.net [IPv6:2001:470:4:2a5::2]) by mx1.freebsd.org (Postfix) with ESMTP id 123758FC1C for ; Sun, 17 Apr 2011 18:09:23 +0000 (UTC) Received: by wolfman.devio.us (Postfix, from userid 3773) id A84CE1A90C8; Sun, 17 Apr 2011 14:09:22 -0400 (EDT) Date: Sun, 17 Apr 2011 14:09:22 -0400 From: Nick Ulen To: Romain Garbage Message-ID: <20110417180922.GA31398@wolfman.devio.us> References: <20110416155122.GA29309@wolfman.devio.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Sun, 17 Apr 2011 19:26:03 +0000 Cc: freebsd-current@freebsd.org Subject: Re: `hw.acpi.thermal.tz0.temperature' disappeared 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, 17 Apr 2011 18:09:23 -0000 On Sun, Apr 17, 2011 at 05:33:00PM +0200, Romain Garbage wrote: > 2011/4/16 Nick Ulen : > > FreeBSD was successfully upgraded. > > > > uname -v > > FreeBSD 9.0-CURRENT #0: Mon Apr 11 18:14:36 MSD 2011 > > root@test:/usr/obj/usr/src/sys/GENERIC > > > > Everything seems to be working well except > > `hw.acpi.thermal.tz0.temperature' disappeared from the list of available > > sysctl variables. > > > > sysctl hw.acpi.thermal. > > > > hw.acpi.thermal.min_runtime: 0 > > hw.acpi.thermal.polling_rate: 10 > > hw.acpi.thermal.user_override: 0 > > hw.acpi.thermal.tz0.active: -1 > > hw.acpi.thermal.tz0.passive_cooling: 0 > > hw.acpi.thermal.tz0.thermal_flags: 0 > > hw.acpi.thermal.tz0._PSV: -1 > > hw.acpi.thermal.tz0._HOT: -1 > > hw.acpi.thermal.tz0._CRT: 90.0C > > hw.acpi.thermal.tz0._TC1: -1 > > hw.acpi.thermal.tz0._TC2: -1 > > hw.acpi.thermal.tz0._TSP: -1 > > > > output from: > > sysctl -a |grep acpi > > is here: https://privatepaste.com/ca08d4658b > > > > CPU (From /var/run/dmesg.boot): https://privatepaste.com/d107389cc1 > > > > Why is this so and how can it be changed? > > How is it possible to monitor CPU temperature now? > > If you have an Intel CPU (according to coretemp manpage), you can use > coretemp module: > > # kldload coretemp > # sysctl -a | grep temp > [...] > dev.cpu.0.temperature: 84.0C > dev.cpu.1.temperature: 85.0C > dev.coretemp.0.%desc: CPU On-Die Thermal Sensors > dev.coretemp.0.%driver: coretemp > dev.coretemp.0.%parent: cpu0 > dev.coretemp.1.%desc: CPU On-Die Thermal Sensors > dev.coretemp.1.%driver: coretemp > dev.coretemp.1.%parent: cpu1 > > If you're using an AMD CPU, the right module seems to be amdtemp. Romain, Thanks for your feedback. The coretemp driver provides support for the on-die digital thermal sensor present in Intel Core and newer CPUs (according to coretemp manpage). I am using old Intel Pentium M processor( http://privatepaste.com/d107389cc1), so coretemp module can't help in my case. Regards, Nick