cvs commit: src/sys/dev/acpica acpi_thermal.c

Scott Long scottl at freebsd.org
Mon Feb 2 10:16:11 PST 2004


Are there any provisions for putting something in the syslog before the
shutdown?  At least a series of warnings to the console well before the
shutdown happens would be a good thing.  Making sure that those warnings
get fsynced to disk would be even more ideal.  But just a spontaneous
shutdown is not terribly helpful.

Scott

On Mon, 2 Feb 2004, Nate Lawson wrote:

> njl         2004/02/02 10:03:35 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/dev/acpica       acpi_thermal.c
>   Log:
>   If the temperature is at _HOT or _CRT for 3 sequential readings, shutdown
>   the system.  Also, decrease the poll interval to 10 seconds from 30
>   seconds.  This is needed because some systems will report an invalid high
>   temperature for one poll cycle.  It is suspected this is due to the
>   embedded controller timing out.  A typical value is 138C for one cycle on a
>   system that is otherwise 65C.  This prevents the system from prematurely
>   shutting down after one invalid reading.  It will still shut down after 30
>   seconds of high temperature, which is the same as previous default
>   behavior.
>
>   Tested by:      Scott Lambert <lambert AT lambertfam.org>
>
>   Revision  Changes    Path
>   1.36      +22 -15    src/sys/dev/acpica/acpi_thermal.c
>
>


More information about the cvs-src mailing list