Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 12:22:36 -0700 (MST)
From:      Scott Long <scottl@freebsd.org>
To:        Nate Lawson <njl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_thermal.c
Message-ID:  <20040202122040.A30296@pooker.samsco.home>
In-Reply-To: <200402021803.i12I3ZJW016336@repoman.freebsd.org>
References:  <200402021803.i12I3ZJW016336@repoman.freebsd.org>

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

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
>
>



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