From owner-cvs-src@FreeBSD.ORG  Mon Feb  2 12:51:08 2004
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id D3D5D16A4CE; Mon,  2 Feb 2004 12:51:08 -0800 (PST)
Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id E189F43D48; Mon,  2 Feb 2004 12:50:59 -0800 (PST)
	(envelope-from lambert@lambertfam.org)
Received: from localhost (localhost [127.0.0.1])
	by mail.lambertfam.org (Postfix) with ESMTP
	id 077EE34D78; Mon,  2 Feb 2004 15:50:57 -0500 (EST)
Received: from mail.lambertfam.org ([127.0.0.1])
 by localhost (www.lambertfam.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 50289-08; Mon,  2 Feb 2004 15:50:54 -0500 (EST)
Received: from laptop.lambertfam.org (unknown [216.223.208.56])
	by mail.lambertfam.org (Postfix) with ESMTP
	id 2EFDB34D74; Mon,  2 Feb 2004 15:50:54 -0500 (EST)
Received: by laptop.lambertfam.org (Postfix, from userid 1001)
	id 00E65C136; Mon,  2 Feb 2004 15:50:53 -0500 (EST)
Date: Mon, 2 Feb 2004 15:50:53 -0500
From: Scott Lambert <lambert@lambertfam.org>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Message-ID: <20040202205053.GA742@laptop.lambertfam.org>
References: <200402021803.i12I3ZJW016336@repoman.freebsd.org>
	<2249.1075745994@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2249.1075745994@critter.freebsd.dk>
User-Agent: Mutt/1.5.5.1i
X-Virus-Scanned: by amavisd-new at lambertfam.org
cc: cvs-src@FreeBSD.org
cc: Nate Lawson <njl@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-src@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Feb 2004 20:51:09 -0000

On Mon, Feb 02, 2004 at 07:19:54PM +0100, Poul-Henning Kamp wrote:
> In message <200402021803.i12I3ZJW016336@repoman.freebsd.org>, Nate Lawson write
> s:
> >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. 
> 
> I realize that this is an important feature to preserve the hardware,
> but I still find it rather draconian, and suboptimal from a UI
> perspective.
> 
> Could we change it to be:
> 
> 	after N seconds:	go to single user.
> 	after N + M seconds:	shutdown.
> 
> This would normally allow X11 to shut down cleanly, which again
> means we can printf a message to the user about what is happening
> instead of simply going black screen on them.
> 
> It would also save people some fsck'ing subsequently.

Actually, when this was firing off on me, I was not having to fsck on
boot.  I just never got to see any shutdown message(s) and was perplexed
by the system turning itself off just as I got logged into X.  There
were no shutdown messages in the logs just the temp warning.  The lack
of fscking on boot was confusing me actually.  I was expecting a *real*
software problem.

To me, it looked like shutdown_nice() does it's job quite nicely.  But
I'm just a user. :-)

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert@lambertfam.org