*BSD News Article 1614


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!mips!swrinde!cs.utexas.edu!uunet!mcsun!Germany.EU.net!unido!adagio!grog
From: grog@adagio.UUCP (Greg Lehey)
Newsgroups: comp.unix.bsd
Subject: Re: BSDI/386 on a portable
Message-ID: <1792@adagio.UUCP>
Date: 19 Jun 92 08:06:12 GMT
References: <scs.708621975@hela.iti.org> <1788@adagio.UUCP> <1992Jun17.225258.16694@pegasus.com>
Organization: LEMIS, Schellnhausen 2, W-6324 Feldatal, Germany
Lines: 23

In article <1992Jun17.225258.16694@pegasus.com> richard@pegasus.com (Richard Foulk) writes:
>>
>>when
>>running DOS, you can set a machine option which maintains the memory
>>contents while powered down. When you turn it back on, hey, presto!,
>>you're just where you were when you left off. On BSDI, it panics when
>>powering down, but doesn't overwrite the disk.
>
>There are certainly other reasons why unix won't tolerate being `put to
>sleep' like this.  Not the least of which is ... what time is it once
>you wake the kernel back up?

Whatever time is stored in the hardware clock. What is missing is, of
course, the code to handle this. I assume that there is a power-down
interrupt, and that that is what is causing the panic. Presumably the
intention is to save some information in non-volatile RAM, where the
boot can find it and act accordingly. I'm sure it can be done, though
there's not much point with an old machine like the 3100SX.
-- 
-------------------------------------------------------------------------------
Greg Lehey                       | Tel: +49-6637-1488              
LEMIS                            | Fax: +49-6637-1489
*** NOTE ***: Headers are mangled - reply to grog%lemis@Germany.EU.net