Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 10:55:21 -0500
From:      "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        acpi@freebsd.org
Subject:   Re: How to disable acpi thermal?
Message-ID:  <1200844521.33164.18.camel@RabbitsDen>
In-Reply-To: <Pine.GSO.4.64.0801151525160.29868@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>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote:
> [ Redirected from -current ]
> 
> On Mon, 14 Jan 2008, Alexandre "Sunny" Kovalenko wrote:
> 
> >
> > On Mon, 2008-01-14 at 21:56 -0500, Daniel Eischen wrote:
> >>
> >> Thermal zone 0 skyrockets past 110C in a couple of minutes
> >> when trying to build a kernel.  All the other zones stay
> >> relatively static.  I suspect something is wrong somewhere
> >> because this machine is very lightly loaded and has never
> >> had a problem until now.  I just upgraded it from 4.x to
> >> 7.0.
> >
> > It need not to be bogus -- if I turn off fan on my ThinkPad it will
> > overheat and shut itself down within couple of minutes of buildworld,
> > starting from the relative cool state. From the look of the stuff below
> > your fan should kick in no later then 10 seconds after tz0 reached 77C.
> > Do you hear it running before shutdown? If yes, maybe lowering threshold
> > in AC0 down from 77C will help. If not -- you will need to figure out
> > who is supposed to turn on the fan. You can dump your ASL (instructions
> > in the handbook) and post it someplace accessible -- I will take a look
> > and maybe spot something interesting, but, being far from the expert in
> > the field, I do not promise too much.
> 
> 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).
-- do you see AE_NO_HARDWARE_RESPONSE messages, and if yes, could you
try to increase debug.acpi.ec.timeout -- I think (sm) it is in ms and
default is 750.
-- do you have ACPI_DEBUG option in your kernel? If not, could you,
maybe, build kernel with that, and turn on full debug, let temperature
climb for a while and send me debug output.

-- 
Alexandre "Sunny" Kovalenko




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