From owner-freebsd-current Mon Nov 25 16:57:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF9637B404 for ; Mon, 25 Nov 2002 16:57:48 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 73A5143ED1 for ; Mon, 25 Nov 2002 16:57:46 -0800 (PST) (envelope-from mdcki@gmx.net) Received: (qmail 18754 invoked by uid 0); 26 Nov 2002 00:57:42 -0000 Received: from cvpn023.gwdg.de (HELO gmx.net) (134.76.22.23) by mail.gmx.net (mp008-rz3) with SMTP; 26 Nov 2002 00:57:42 -0000 Message-ID: <3DE2D50C.4090201@gmx.net> Date: Tue, 26 Nov 2002 02:57:32 +0100 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson Cc: Terry Lambert , Kris Kennaway , Robert Watson , Mikhail Teterin , current@FreeBSD.ORG Subject: Re: -current unusable after a crash References: <200211250959.39594.mi+mx@aldan.algebra.com> <20021125172445.GA8953@rot13.obsecurity.org> <3DE29DE6.CDD96F3F@mindspring.com> <3DE2AF65.9000502@gmx.net> <3DE2B740.4206206E@mindspring.com> <20021126001003.GA8636@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Nelson wrote: > In the last episode (Nov 25), Terry Lambert said: > >>Marcin Dalecki wrote: >> >>>>I don't think this is really possible. >>>> >>>>I went looking for a generic "application use" CMOS are for this >>>>sort of thing a while back, and I was unable to find one. >>> >>>Well you should please take a look at the "fast boot" option of >>>moderately modern BIOS-es. Somthing along those lines went right >>>now in to the linux kernel. Seems pretty adequate to me, since you >>>would be even able to controll it through the BIOS setup... >> >>Is there documentation available for this anywhere? The BIOS vendor >>documentation, not the Linux source code. > > > http://www.microsoft.com/hwdev/resources/specs/simp_bios.asp > http://www.microsoft.com/hwdev/resources/specs/simp_boot.asp > > is the best I could find; you'll need a Word doc viewer. OpenOffice works fine on my FreeBSD setup ;-). > It's mainly > geared toward detecting boot failure rather than abnormal shutdowns, > though. What we need is a matching "Simple Shutdown Flag" variable. Personally I was not that much thinking about the particular problem at hand. I think the fast boot BIOS preference should be simply exported by the kernel as a sysconf erm. sorry sysctl constant value to allow for easy checking by userland. One could imagine that a lot of other preferences could be controlled by it as well. Like for example starting dhclient dettached from the current console, just to give the user a login prompt as fast as possible and so on... -- Marcin Dalecki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message