From owner-cvs-all@FreeBSD.ORG Mon Feb 2 10:16:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FAD116A4D1 for ; Mon, 2 Feb 2004 10:16:11 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id A5DD843D31 for ; Mon, 2 Feb 2004 10:16:07 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 37800 invoked by uid 1002); 2 Feb 2004 18:16:07 -0000 Received: from unknown (HELO ?10.4.1.5?) (64.58.1.252) by smtp.mho.net with SMTP; 2 Feb 2004 18:16:07 -0000 Date: Mon, 2 Feb 2004 12:22:36 -0700 (MST) From: Scott Long X-X-Sender: scottl@pooker.samsco.home To: Nate Lawson In-Reply-To: <200402021803.i12I3ZJW016336@repoman.freebsd.org> Message-ID: <20040202122040.A30296@pooker.samsco.home> References: <200402021803.i12I3ZJW016336@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_thermal.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 18:16:11 -0000 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 > > Revision Changes Path > 1.36 +22 -15 src/sys/dev/acpica/acpi_thermal.c > >