From owner-freebsd-ppc@freebsd.org Thu Jul 9 03:35:03 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25688997CF1 for ; Thu, 9 Jul 2015 03:35:03 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E65D31C39 for ; Thu, 9 Jul 2015 03:35:02 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igoe12 with SMTP id e12so5352839igo.1 for ; Wed, 08 Jul 2015 20:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=be48bIDVJvr6LGsts8s98mLtlqmHAqharfwfvkNkVqM=; b=XrgZufYs80eCuYCm3pnq2JEsQqUyp6OyuMmgYuxnPGXkVLAA6mGJ23dLRF8CX4jYxe iOKshw0yRRSa/4BVdblonUOpBlZFBTLyaUXFONIL8hdbxqZ0MoaWXjskCfE7IBo2YKbH w+DhHH3a2XeLyDwUDiZjKHf+ieRmdbiqRrUoVA4zhuQgqTkhTK5V4KD3TBhZc9WJ7m2p K56tQSPVZcM7/B6X9mSUQx8aHTgqnfEIhWkEGXkF0Seky9JKduLMfhHvNXjgtGxfX5rx AZ04d2fgKCS1884aQ5RsW2GPxK3ncBosMcfFA/t0mDbN3zzzECZ48amvdXmvoyxVQ0k7 v1Qg== MIME-Version: 1.0 X-Received: by 10.107.19.21 with SMTP id b21mr23186693ioj.78.1436412901981; Wed, 08 Jul 2015 20:35:01 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.69.80 with HTTP; Wed, 8 Jul 2015 20:35:01 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Jul 2015 20:35:01 -0700 X-Google-Sender-Auth: VhNUJ1Ly1NZ9MTWoCIWkIzEpy18 Message-ID: Subject: Re: CPU Temp Warnings From: Justin Hibbits To: Matthias Schojohann Cc: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 03:35:03 -0000 On Wed, Jul 8, 2015 at 8:12 PM, Justin Hibbits wrote: > On Wed, Jul 8, 2015 at 7:13 AM, Matthias Schojohann > wrote: >> Hey all, >> i have a FreeBSD10.1-RELEASE on my iBook G4 1,41GHz and every once in a >> while i get an error on the terminal that says: >> WARNING: Current temperature (CPU BOTTOMSIDE: 255.0 C) exceeds critical >> temperature (80.0 C); count = 1 >> >> sysctl dev.adt746x.0.sensors.cpu_bottomside.temp however gives me temps >> like 50.0 C so where does my system get the 255 from? Apart from the fact >> that i don't want to see my CPU on that temperature, it's pretty annoying >> when i have systat running on that machine. >> >> Cheers, Matt > > Hi Matt, > > 255 is (char)-1 on PowerPC, so it indicates an error reading from the > device. I'll take a look at it, and try to silence the error. Could > you file a bug so it doesn't get lost? > > - Justin Hi Matt, Can you try with head? I made some changes back in January correcting the type signs for temperature reading, because of that same problem. I still see some temperature warnings on my Aluminum PowerBook (127C), but I think that's a glitch in the sensor, not necessarily the driver, but I'm not certain. Any time I see all 1's in a reading, I'm suspicious of the reading itself, not of the environment, without other data. - Justin