From owner-acpi-jp@jp.FreeBSD.org Tue Feb 26 19:40:08 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g1QAe8h52792;
	Tue, 26 Feb 2002 19:40:08 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from webcom.it ([213.92.1.190])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with SMTP/inet id g1QAe6W52785
	for <acpi-jp@jp.FreeBSD.org>; Tue, 26 Feb 2002 19:40:07 +0900 (JST)
	(envelope-from andrea@webcom.it)
Received: (qmail 16489 invoked by uid 1000); 26 Feb 2002 10:37:20 -0000
Date: Tue, 26 Feb 2002 11:37:19 +0100
From: Andrea Campi <andrea@webcom.it>
To: acpi-jp Mailing List <acpi-jp@jp.FreeBSD.org>
Message-ID: <20020226103717.GA347@webcom.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+011218
X-Sequence: acpi-jp 1580
Subject: [acpi-jp 1580] Strange acpi_tz behavior
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: andrea@webcom.it

With a very current -CURRENT (after latest updates), I see something very
strange after a while. I'm stress testing the tz code, so I set:

hw.acpi.verbose: 1
hw.acpi.thermal.min_runtime: 30
hw.acpi.thermal.polling_rate: 5

With some CPU bound activity I get:

Feb 26 11:17:16 brian kernel: acpi_tz0: _AC0: temperature 72.8 >= setpoint 69.0
Feb 26 11:17:16 brian kernel: acpi_tz0: switched from NONE to _AC0: 72.8C
Feb 26 11:17:54 brian kernel: acpi_tz0: switched from _AC0 to NONE: 61.8C
Feb 26 11:21:49 brian kernel: acpi_tz0: _AC0: temperature 69.8 >= setpoint 69.0
Feb 26 11:21:51 brian kernel: acpi_tz0: switched from NONE to _AC0: 69.8C

This is normal behavior, but after a while:

Feb 26 11:29:19 brian kernel: acpi_tz0: _AC9: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:19 brian kernel: acpi_tz0: _AC8: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:19 brian kernel: acpi_tz0: _AC7: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:19 brian kernel: acpi_tz0: _AC6: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:19 brian kernel: acpi_tz0: _AC5: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:20 brian kernel: acpi_tz0: _AC4: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:20 brian kernel: acpi_tz0: _AC3: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:20 brian kernel: acpi_tz0: _AC2: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:20 brian kernel: acpi_tz0: _AC1: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:21 brian kernel: acpi_tz0: _AC0: temperature 65.8 >= setpoint -273.
-2
Feb 26 11:29:21 brian kernel: acpi_tz0: switched from NONE to _AC0: 65.8C
Feb 26 11:29:21 brian kernel: acpi_tz0: WARNING - current temperature (65.8C) ex
ceeds system limits

This is what my tz looks like:

hw.acpi.thermal.tz0.temperature: 3330
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3632
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3732
hw.acpi.thermal.tz0._ACx: 3422 -1 -1 -1 -1 -1 -1 -1 -1 -1

What are we doing, trying to use those -1 (conversing into C degrees)???

Bye,
	andrea

-- 
                Where do you think you're going today?
