Date: Sat, 7 Feb 1998 11:19:02 -0500 (EST) From: "Bruce M. Walter" <walter@fortean.com> To: Mike Smith <mike@smith.net.au> Cc: hackers@FreeBSD.ORG Subject: Re: Soft Power Off at shutdown Message-ID: <Pine.BSF.3.95q.980207110734.6085A-100000@callisto.fortean.com> In-Reply-To: <19980207080842.17967.qmail@www06.netaddress.usa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Feb 1998, LESLIE ZHU wrote: > Is it possible to power off an ATX computer when doing a halt from > FreeBSD? Also is it possible to automatically shutdown FreeBSD when I > switch it off with the off-switch at the front? If it is allowed, where > is the source? Otherwise, can I take some interrupt to power off ATX > computer? This is the situation I am worried about with having just RB_POWEROFF as a flag to support all kinds of powerdown situations... If this machine is on a UPS and the power fails, the ATX/APM shutdown may be called before the UPS shutdown. If the line power is then restored, the machine will sit halted forever. Having a SHUTDOWN_POWEROFF queue is important to separate these calls from driver shutdown procedures that can't afford a poweroff while they are executing... Ordering the callout lists by priority is not a picture perfect solution to the above situation, but it certainly will work. Does anyone have a better idea? I for one would love to see a resolution soon. - Bruce ======================================================================== || Bruce M. Walter || 107 Timber Hollow Court #335 || || Senior Network Consultant || Chapel Hill, NC 27514 || || Fortean Technologies, Inc. || Tel: 919-967-4766 || || Information Technology Consultants || Fax: 919-967-4395 || ======================================================================== || BSD Unix -- It's not just a job, it's a way of life! || ========================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980207110734.6085A-100000>