From owner-freebsd-current@FreeBSD.ORG Mon Feb 26 23:43:07 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D52B16A50F; Mon, 26 Feb 2007 23:43:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id B8CBE13C471; Mon, 26 Feb 2007 23:43:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l1QNgb7T044454; Mon, 26 Feb 2007 18:42:40 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 26 Feb 2007 16:58:14 -0500 User-Agent: KMail/1.9.1 References: <790a9fff0702211031r226ba0bdsfab2eab5f4748191@mail.gmail.com> <20070221211039.GA859@heather.menantico.com> <790a9fff0702212329o19826332lf01676ae286e264a@mail.gmail.com> In-Reply-To: <790a9fff0702212329o19826332lf01676ae286e264a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702261658.15805.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 26 Feb 2007 18:42:40 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2656/Mon Feb 26 15:24:59 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Scot Hetzel , current@freebsd.org Subject: Re: Unable to use network early in boot with recent -current 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: Mon, 26 Feb 2007 23:43:07 -0000 On Thursday 22 February 2007 02:29, Scot Hetzel wrote: > On 2/21/07, Skip Ford wrote: > > Kevin Oberman wrote: > > > Any thought of making module loads default to the directory of the > > > booted kernel (e.g. /boot/kernel.old) instead of /boot/kernel? > > > > This should already happen if you "set kernel" to kernel.old and > > then "boot". > > > > I set the kernel variable in loader.conf, so that I can have multiple > kernels installed and choose which kernel to boot the next time the > server is booted. > > /boot/loader.conf > #kernel="kernel_p4_debug" > kernel="kernel_debug" > > hp010# sysctl -a | grep kernel > kern.bootfile: /boot/kernel_debug/kernel > kern.module_path: /boot/kernel_debug;/boot/modules You can also just do 'boot foo' at the loader prompt, and it is the same as doing: unload all set kernel=foo boot I use this all the time to boot test kernels. -- John Baldwin