Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 01:45:10 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Calin Andrian <calin@ibd.dbio.ro>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: APC BackUPS driver 
Message-ID:  <199801211515.BAA00434@word.smith.net.au>
In-Reply-To: Your message of "Wed, 21 Jan 1998 09:09:41 %2B0200." <Pine.BSF.3.96.980121085317.5071A-100000@ibd.dbio.ro> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I didn't think there could be any real trouble. I looked through the
> standard kernel sources and didn't find any critical devices wanting to do
> anything at shutdown.

... apart from all those outstanding disk buffers?

> On the other hand, I gave it a moment's thought
> about patching kern_shutdown.c but quit really quick. Now that you opened
> my eyes I think that maybe it's time to add another option (and list of
> routines - or only ONE routine) to at_shutdown. Something like
> at_shutdown(func, arg, SHUTDOWN_FOR_REAL) ment specifically for shutting
> down power.

Er, if I were you I would look at where cpu_shutdown() is called; this is 
where the APM code cuts the power.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\ 





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