Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2015 20:35:01 -0700
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        Matthias Schojohann <matthias.schojohann@gmail.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: CPU Temp Warnings
Message-ID:  <CAHSQbTDf5cDm_9RX37%2BDO6-LVJiHQ5PGqrOfKnuPOcjBcXJrDQ@mail.gmail.com>
In-Reply-To: <CAHSQbTArXwhUw7BVaVY5K97Jf6tZboKZSgTnHT-fPoeSY9ZnVQ@mail.gmail.com>
References:  <CAAJuNqxQrPXaOfZo0yVMZvTeDwYzRVYXe8iMoFjCFk4O5E15nw@mail.gmail.com> <CAHSQbTArXwhUw7BVaVY5K97Jf6tZboKZSgTnHT-fPoeSY9ZnVQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 8, 2015 at 8:12 PM, Justin Hibbits <jrh29@alumni.cwru.edu> wrote:
> On Wed, Jul 8, 2015 at 7:13 AM, Matthias Schojohann
> <matthias.schojohann@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTDf5cDm_9RX37%2BDO6-LVJiHQ5PGqrOfKnuPOcjBcXJrDQ>