From owner-freebsd-current Sat Sep 16 21:28:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (zoom1-178.telepath.com [216.14.1.178]) by hub.freebsd.org (Postfix) with SMTP id 838B337B42C for ; Sat, 16 Sep 2000 21:28:14 -0700 (PDT) Received: (qmail 2704 invoked by uid 100); 17 Sep 2000 04:27:34 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14788.18486.789541.682547@guru.mired.org> Date: Sat, 16 Sep 2000 23:27:34 -0500 (CDT) To: Ben Smithurst Cc: current@FreeBSD.org Subject: Re: Kernel builds to wrong location? In-Reply-To: <20000917051648.I56185@strontium.scientia.demon.co.uk> References: <14788.16494.26893.660078@guru.mired.org> <20000917051648.I56185@strontium.scientia.demon.co.uk> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Smithurst writes: > Mike Meyer wrote: > > I cvsupped and rebuilt earlier to today, only to find that the kernel > > was installed as /boot/kernel/kernel instead of > > /boot/kernel/kernel.ko. While fixing this was trivial, it was a bit of > > a surprise. > > Is this a bug, or did I happen to catch the world in a state of change > > described in a cvs-all or current message I missed or hadn't read yet? > This is an intentional change, and was discussed on freebsd-arch. I'm > not sure why you needed to fix anything though, it should have worked > anyway. I think I had to fix things because the first boot on the new kernel used the old loader. I did that because this is an ahc-based system, and there have been comments about such not booting on this list. So I did installkernel and rebooted before doing installworld. That the system booted properly after doing the installworld caused me to wonder about things. The old loader failed to find /boot/kernel/kernel.ko and aborted the boot. The new loader found /boot/kernel/kernel.ko and booted fine. Does the new loader check both /boot/kernel/kernel and /boot/kernel/kernel.ko? Is needing to have a new loader installed to boot worth a mention in UPDATING? Thanx,