From owner-freebsd-current@FreeBSD.ORG Sun Apr 17 16:03:39 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 50A691065673 for ; Sun, 17 Apr 2011 16:03:39 +0000 (UTC) (envelope-from romain.garbage@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05EA98FC15 for ; Sun, 17 Apr 2011 16:03:38 +0000 (UTC) Received: by qyk27 with SMTP id 27so2706518qyk.13 for ; Sun, 17 Apr 2011 09:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CRjrk5GJ2RXq1AXzhdUZV9KvScdpK6wdT3niER+0ZZo=; b=Mdd/M1/CT+lc+uFkb+bsOOsv9L7a/VnDD2kbVA0qyI/PkozJeHjlUlGvm1hXX953yL xIGAyLs1tJz9iJep8w6iX+KkcAlFOE3wzA+vFUfBwwAm+YTIndyorEAt06VGxrFSCtI8 1Gb98aBhx3DQSkdVcTtlNIR/0A1oTpUoWro1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZUwAXFEH7kNkTZaWD8mFtQZH9BaNH9LFr/hXfyxcCVdiOdeaQ3NccvzJPDsSPabODo tXGZ4pG5/FOdofbKJYl74aTMvQxTa//DZNqM/YmwviVu5kfq3HzwcSWm35jEm7CYBDJU HBVisbmMKEEcLFLVJB8Z3QGlWS+mfDUSdsxOM= MIME-Version: 1.0 Received: by 10.229.201.28 with SMTP id ey28mr2879603qcb.108.1303054380403; Sun, 17 Apr 2011 08:33:00 -0700 (PDT) Received: by 10.229.110.17 with HTTP; Sun, 17 Apr 2011 08:33:00 -0700 (PDT) In-Reply-To: <20110416155122.GA29309@wolfman.devio.us> References: <20110416155122.GA29309@wolfman.devio.us> Date: Sun, 17 Apr 2011 17:33:00 +0200 Message-ID: From: Romain Garbage To: Nick Ulen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 16:03:39 -0000 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: > =C2=A0sysctl -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. Regards, Romain