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

Scott Lambert lambert at lambertfam.org
Mon Feb 2 12:51:09 PST 2004


On Mon, Feb 02, 2004 at 07:19:54PM +0100, Poul-Henning Kamp wrote:
> In message <200402021803.i12I3ZJW016336 at 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 at lambertfam.org      



More information about the cvs-src mailing list