From owner-freebsd-current@FreeBSD.ORG Fri Feb 23 08:50:02 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 962A516A405 for ; Fri, 23 Feb 2007 08:50:02 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 0ADF613C4A3 for ; Fri, 23 Feb 2007 08:50:01 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so579600nfc for ; Fri, 23 Feb 2007 00:50:01 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F8J7opthgFoEUwA1nal64MPH490OA5yuE6799rihdJiotKc1D8ERYDUSDEwalvmmmzrxU25DqUDUNBrBBefBL12dWuY29/Vu1czMa0eQalbEiEb73VylmMYkk5akhrdGjqJ/BlgOzM3EtYC1gbOPOhIx7/vft0NS0pRv9H0HN88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Jtd7dtZxZNCNPH7CAw2eLbR4VreFOP1XhFhG2e/LuEgDCUZ0XZ/vRwv/nvtnGs3bfEjp0wwvxaemm4M3+tr3ruPi0sfOfz4OjHpljsMPeK9ZKnpHM3ywQ5E7Eg3qe4+04vSF+xFHh0Pwx4bho4h72u/9hAkKxZS4seKvviQqrmw= Received: by 10.82.135.13 with SMTP id i13mr375363bud.1172220600682; Fri, 23 Feb 2007 00:50:00 -0800 (PST) Received: by 10.82.186.2 with HTTP; Fri, 23 Feb 2007 00:50:00 -0800 (PST) Message-ID: <790a9fff0702230050p58c65c2cwffa1236b909ebb4a@mail.gmail.com> Date: Fri, 23 Feb 2007 02:50:00 -0600 From: "Scot Hetzel" To: "Andre Guibert de Bruet" In-Reply-To: <171CD081-E699-468F-A70F-E035C99DF3EF@siliconlandmark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0702211031r226ba0bdsfab2eab5f4748191@mail.gmail.com> <20070221191551.19A9745053@ptavv.es.net> <20070221211039.GA859@heather.menantico.com> <790a9fff0702212329o19826332lf01676ae286e264a@mail.gmail.com> <171CD081-E699-468F-A70F-E035C99DF3EF@siliconlandmark.com> Cc: Eric Anderson , 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: Fri, 23 Feb 2007 08:50:02 -0000 On 2/23/07, Andre Guibert de Bruet wrote: > 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)? > Just read the man page, and I can't use it due to how I boot my system. Since, nextboot only allows the specified kernel to be used temporarily, When the system is booted for the 3rd time it would be back to the original kernel. I usually want to use the same kernel on the next boot. If I want to use a different kernel I specify it in loader.conf. I set it up this way so that I could run 4 Linux Test Project (LTP) tests. These runs consists of: 2 runs on /boot/kernel_debug (linux version set to 2.4.2, and 2.6.16) 2 runs on /boot/kernel_p4_debug (linux version set to 2.4.2, and 2.6.16) These runs are used to test the status of the linuxolator on FreeBSD/amd64. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.