From owner-freebsd-current@FreeBSD.ORG Fri Feb 23 16:23:50 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 1FCE716A475; Fri, 23 Feb 2007 16:23:50 +0000 (UTC) (envelope-from SRS0=b98c9c570065153e75ad71c873465955ebe574b1=255=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id E336513C4B7; Fri, 23 Feb 2007 16:23:49 +0000 (UTC) (envelope-from SRS0=b98c9c570065153e75ad71c873465955ebe574b1=255=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id CSG58250; Fri, 23 Feb 2007 08:09:50 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 51C374507B; Fri, 23 Feb 2007 08:09:50 -0800 (PST) To: Andre Guibert de Bruet In-Reply-To: Your message of "Fri, 23 Feb 2007 02:21:44 EST." <171CD081-E699-468F-A70F-E035C99DF3EF@siliconlandmark.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1172246990_33246P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 23 Feb 2007 08:09:50 -0800 From: "Kevin Oberman" Message-Id: <20070223160950.51C374507B@ptavv.es.net> Cc: Scot Hetzel , current@freebsd.org, Eric Anderson 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: Fri, 23 Feb 2007 16:23:50 -0000 --==_Exmh_1172246990_33246P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: Andre Guibert de Bruet > Date: Fri, 23 Feb 2007 02:21:44 -0500 > > On Feb 22, 2007, at 2:29 AM, 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 > > Just out of curiosity, have you come across nextboot(8)? Good idea! nextboot(8) was broken in current for quite a while and I guess I pretty much forgot about it. It really does not make any difference. It boots the requested kernel and loads all modules requested by loader.conf, but, when I try loading modules after the boot, I still get the warning that the module is newer than the linker.hints file. kern.module_path: /boot/kernel.old;/boot/modules So nextboot(8) makes no difference, but it is handy and it had completely escaped my conscience. Thanks! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1172246990_33246P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFF3xHOkn3rs5h7N1ERAqXEAJ9dH3G8+2/bp0TJuHvEc6tJrKJ/CACfZcBh uDF4slcSFmsajqLPdNJs5zw= =o1El -----END PGP SIGNATURE----- --==_Exmh_1172246990_33246P--