From owner-freebsd-current@FreeBSD.ORG Tue Feb 28 15:18:31 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E888A1065676; Tue, 28 Feb 2012 15:18:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 727228FC1F; Tue, 28 Feb 2012 15:18:31 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 2983946B3C; Tue, 28 Feb 2012 10:18:31 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 94BACB967; Tue, 28 Feb 2012 10:18:30 -0500 (EST) From: John Baldwin To: Andriy Gapon Date: Tue, 28 Feb 2012 08:52:14 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <4F26CC5A.2070501@FreeBSD.org> <201202271126.20118.jhb@freebsd.org> <4F4BFA6E.2080302@FreeBSD.org> In-Reply-To: <4F4BFA6E.2080302@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202280852.14136.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 28 Feb 2012 10:18:30 -0500 (EST) Cc: freebsd-current@freebsd.org Subject: Re: revisiting tunables under Safe Mode menu option X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 15:18:32 -0000 On Monday, February 27, 2012 4:49:34 pm Andriy Gapon wrote: > on 27/02/2012 18:26 John Baldwin said the following: > > On Monday, February 27, 2012 5:45:39 am Andriy Gapon wrote: > >> How does the following look? > >> diff --git a/sys/boot/forth/menu-commands.4th b/sys/boot/forth/menu-commands.4th > >> index 828a148..41ba317 100644 > >> --- a/sys/boot/forth/menu-commands.4th > >> +++ b/sys/boot/forth/menu-commands.4th > >> @@ -62,30 +62,19 @@ marker task-menu-commands.4th > >> -rot 2dup 12 + c! rot \ replace 'N' with ASCII numeral > >> > >> evaluate 0= if > >> - s" hint.apic.0.disabled" unsetenv > >> s" hw.ata.ata_dma" unsetenv > >> s" hw.ata.atapi_dma" unsetenv > >> s" hw.ata.wc" unsetenv > >> - s" hw.eisa_slots" unsetenv > >> - s" hint.kbdmux.0.disabled" unsetenv > >> + s" kern.eventtimer.periodic" unsetenv > >> + s" kern.geom.part.check_integrity" unsetenv > >> + s" debug.acpi.disabled" unsetenv > >> else > >> - \ > >> - \ Toggle ACPI elements if necessary > >> - \ > >> - acpipresent? if acpienabled? if > >> - menuacpi @ dup 0<> if > >> - toggle_menuitem ( N -- N ) > >> - then > >> - drop > >> - acpi_disable > >> - then then > >> - > >> - s" set hint.apic.0.disabled=1" evaluate > >> s" set hw.ata.ata_dma=0" evaluate > >> s" set hw.ata.atapi_dma=0" evaluate > >> s" set hw.ata.wc=0" evaluate > >> - s" set hw.eisa_slots=0" evaluate > >> - s" set hint.kbdmux.0.disabled=1" evaluate > >> + s" set kern.eventtimer.periodic=1" unsetenv > >> + s" set kern.geom.part.check_integrity=0" unsetenv > >> + s" set debug.acpi.disabled=hostres" unsetenv > >> then > >> > >> menu-redraw > > > > I'm not sure we need the 'hostres' thing in HEAD and 9-stable after my latest > > changes? Other than that I think this is fine. > > I added it based on the past reports. If you think that it's not useful now, > then I'll drop it. Thanks! I think it should not be needed now. It would be needed if you merged this to 9.0 release. -- John Baldwin