Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 17:39:21 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
Cc:        acpi@freebsd.org
Subject:   Re: How to disable acpi thermal?
Message-ID:  <Pine.GSO.4.64.0801211732040.805@sea.ntplx.net>
In-Reply-To: <Pine.GSO.4.64.0801211510290.805@sea.ntplx.net>
References:  <Pine.GSO.4.64.0801142156360.24324@sea.ntplx.net> <1200369199.2054.38.camel@RabbitsDen> <Pine.GSO.4.64.0801151525160.29868@sea.ntplx.net> <1200844521.33164.18.camel@RabbitsDen> <Pine.GSO.4.64.0801211510290.805@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jan 2008, Daniel Eischen wrote:

> On Sun, 20 Jan 2008, Alexandre "Sunny" Kovalenko wrote:
>
>> 
>> On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote:
>>> [ Redirected from -current ]
>>> 
>>> 
>>> I posted the acpidump here:
>>>
>>>    http://people.freebsd.org/~deischen/stl2.iasl
>>> 
>>> The problem is that acpi_thermal keeps shutting down the system
>>> after 2 minutes into a buildkernel.  The system has no load other
>>> than the buildkernel at the time it shuts down.
>>> 
>>> The system is a Intel STL2 Tupelo motherboard with 1 CPU, the
>>> other CPU socket being occupied by a CPU terminator thingy.
>>> I uncovered the rackmount system and watched it while building
>>> a kernel.  With the cover off the acpi monitored temperature
>>> went to 107C and stayed there.  It only took a minute or two
>>> to get there.  I felt around inside the chassis and nothing
>>> was even near being to warm or hot.  With the cover on, the
>>> temperature goes to 111/112C before being shutdown by acpi_thermal
>>> (the limit being 110C).  There is no way anything in that
>>> chassis is anywhere near 100C.  I've disabled acpi_thermal
>>> for now, but it'd be nice to get a better fix.
>>> 
>>> Any ideas?
>>> 
>> Firstly, sorry for the delay in answer -- daytime job decided to kick in
>> with the vengeance.
>> 
>> I took a look at the ASL and it does seem that this thing has embedded
>> controller and that is where _TMP method gets its temperature reading
>> from (this being conditional on the CPU present in the socket --
>> otherwise you get 5 degrees Celsius, hardcoded in the ASL).
>> 
>> So the questions are:
>> 
>> -- does temperature in TZ2 grow over time as well? (TZ1 should stay at
>> 5C all the time).
>
> No, it stays around the same.  I saw it go to 38 from 35 in
> the same time that TZ0 went to over 110C.  I didn't see it
> get any higher than that.

One additional note, this is a dual CPU system with only one
CPU in it, and I am not running an SMP kernel.  I was looking
at the iasl, and noticed this for TZ0:

         ThermalZone (TZC0)
         {
             Method (_TMP, 0, NotSerialized)
             {
-->             If (LNotEqual (And (\_SB.NCPU, 0x01), 0x01))
                 {
                     Return (\_SB.PCI0.ISA0.EC0.TC2K (0x05))
                 }
                 Else
                 {
                     Store (\_SB.PCI0.ISA0.EC0.EGTV (0x21, 0x00), TZT0)
                     If (LEqual (TZT0, CTC0))
                     {
                         Add (TZT0, 0x0A, TZT0)
                     }

                     Return (TZT0)
                 }
             }

Is it possible that my configuration with only one CPU
is confusing things?

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0801211732040.805>