From owner-freebsd-questions@FreeBSD.ORG Sun Dec 19 11:38:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E949D16A4CF for ; Sun, 19 Dec 2004 11:38:50 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F9B43D45 for ; Sun, 19 Dec 2004 11:38:50 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so72391rne for ; Sun, 19 Dec 2004 03:38:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qFVZXwHlRbYgfLF4va6h7WHVW9xDuuJFgWIYWFa9nD8arw5wcYZdFeW4bU42jQ4rbmY6U6i3UxZxfmPZE1UbRDhqAuyDx+FyuO32cXDnvUUC2QfwiesQ4kgHoi+2SaIv4qtU+uIY1+3vuT4dO+5Wse/BizkKO3Zkuac57hQVm9E= Received: by 10.38.15.39 with SMTP id 39mr41641rno; Sun, 19 Dec 2004 03:38:50 -0800 (PST) Received: by 10.38.101.3 with HTTP; Sun, 19 Dec 2004 03:38:49 -0800 (PST) Message-ID: Date: Sun, 19 Dec 2004 05:38:49 -0600 From: Eric Kjeldergaard To: Thierry Lacoste In-Reply-To: <000501c4e5be$60762940$0100a8c0@ALDEBARAN> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <000801c4e537$a720c080$0100a8c0@ALDEBARAN> <001001c4e56b$77252180$0100a8c0@ALDEBARAN> <000501c4e5be$60762940$0100a8c0@ALDEBARAN> cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 11:38:51 -0000 > > > > > How can I configure the loader of FreeBSD 5.2 such that > > > > > the default is loading the kernel with ACPI support. > > > > > > > > with ACPI is the default, is it not? > > > > > > > No. When I let the loader timeout, it does not load > > > the acpi.ko module. This is the second choice. > > > > > > This is the way /boot/beastie.4th operates; > > > at least for FreeBSD 5.2 installed from > > > the freebsdmall CDs. > > > > Huh, that's strange, I could have sworn it was on mine...but nevermind > > that, on to a solution. Ideally, all the acpi option does is load the > > acpi module, so if you use /boot/loader.conf (man loader.conf) you > > could use the load keyword and it should load it right up on boot. > > > It works. Thanks. > Now the problem with your solution is that the acpi module is loaded > unconditionally. I'd like to make acpi the default but keep the possibility > of loading FreeBSD without acpi in case there's a problem with it. > In other words, my present beastie menu begins with > 1. Boot FreeBSD [default] > 2. Boot FreeBSD with ACPI enabled > and I'd like to just swap these options. That is a problem that I had thought of, and the easy solution that came to my mind is boot single-user and then comment out the line in loader.conf when you /really/ don't need acpi. This of course assumes that you don't want to switch your acpi/non-acpi status every other hour or something. While that solution is a little inconvenient, it is not lacking in ability. If there is a better way, though, I hope someone speaks up about it. I know that the loader for me (5.3, 5.1) has the default with acpi and the #2 disabled. I really do think that a better solution. I'm just not sure how to do it. You /could/ try grabbing the 5.3 versions of the loader files, I'm pretty sure that there is nothing in them that changed between 5.2 and 5.3. -- If I write a signature, my emails will appear more personalised.