From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 00:32:06 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 B2E8516A402; Tue, 27 Feb 2007 00:32:06 +0000 (UTC) (envelope-from SRS1=c86fc1c745e795cafd4efcfe46386215e9e80080=es.net==c86fc1c745e795cafd4efcfe46386215e9e80080=258=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 84C7013C47E; Tue, 27 Feb 2007 00:32:06 +0000 (UTC) (envelope-from SRS1=c86fc1c745e795cafd4efcfe46386215e9e80080=es.net==c86fc1c745e795cafd4efcfe46386215e9e80080=258=es.net=oberman@es.net) Received: from postal4.es.net (postal4.es.net [198.124.252.66]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id GCU42839; Mon, 26 Feb 2007 16:19:39 -0800 Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id GCU31137; Mon, 26 Feb 2007 16:19:37 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2C16545055; Mon, 26 Feb 2007 16:19:36 -0800 (PST) To: John Baldwin In-Reply-To: Your message of "Mon, 26 Feb 2007 16:58:14 EST." <200702261658.15805.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1172535576_88454P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 26 Feb 2007 16:19:36 -0800 From: "Kevin Oberman" Message-Id: <20070227001936.2C16545055@ptavv.es.net> Cc: Scot Hetzel , freebsd-current@freebsd.org, 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: Tue, 27 Feb 2007 00:32:06 -0000 --==_Exmh_1172535576_88454P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: John Baldwin > Date: Mon, 26 Feb 2007 16:58:14 -0500 > > 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, Thanks for the confirmation. That's what I had always assumed. I, too, have used that method for years and failed to see that it made any difference. I have now built a new kernel (with modules) from the sources back on December and I am no longer getting the warnings about the module being newer than the linker.hints file. I am totally baffled as to what triggered this as I did confirm that the modules and the linker.hints file were created at the same time (modulo 1 minute) and I don't see how this could have gotten messed up. In any case, Thanks for all of the comments on booting different kernels. I do this quite often and I'm now pretty sure that I am doing the right things(TM). -- 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_1172535576_88454P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFF43kYkn3rs5h7N1ERAtluAKCwcx8Xbb2b/IWGcyb0pJEO8Y7vHQCgrla5 ja+MGIKICaghcOHrfKWx8Ww= =bU8R -----END PGP SIGNATURE----- --==_Exmh_1172535576_88454P--