From owner-freebsd-stable Fri Jul 7 23:22:19 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1C0B337B7FC for ; Fri, 7 Jul 2000 23:22:16 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e686MCY07633; Fri, 7 Jul 2000 23:22:12 -0700 (PDT) Date: Fri, 7 Jul 2000 23:22:12 -0700 From: Alfred Perlstein To: Greg Rumple Cc: R Joseph Wright , freebsd-stable@FreeBSD.org Subject: Re: 4.0-STABLE question (aka, now I did it) Message-ID: <20000707232212.X25571@fw.wintelcom.net> References: <20000707212514.W630@zaphon.llamas.net> <20000707213246.V25571@fw.wintelcom.net> <20000707215852.A11695@manatee.mammalia.org> <20000707231652.B630@zaphon.llamas.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000707231652.B630@zaphon.llamas.net>; from grumple@zaphon.llamas.net on Fri, Jul 07, 2000 at 11:16:52PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Greg Rumple [000707 23:16] wrote: > * R Joseph Wright (rjoseph@mammalia.org) [000708 04:59]: > > On Fri, Jul 07, 2000 at 09:32:46PM -0700, Alfred Perlstein wrote: > > > * Greg Rumple [000707 21:27] wrote: > > > > Well after seeing all the discussion on using make buildkernel > > > > KERNEL=BLAH I decided I would try it too. :-) Just to see what it > > > > does. Lo and behold, it builds my kernel. I than even did a make > > > > installkernel KERNEL=BLAH (which actually installs my kernel as /BLAH > > > > instead of /kernel). I even managed to boot it, and my system comes up > > > > to the point of loading the linux kernel module for linux binary > > > > compatibility and than it reboots. This went on for like 4 hours before > > > > I walked back in to see what was going on. So it appears that there is > > > > something quite different here than just doing a standard kernel > > > > install, it also rebuilds and installs all the kernel modules. > > > > > > > > So is the linux.ko kernel module really broken? > > > > > > Are you sure you're actually booting your new kernel? It would seem > > > that unless you modified the files in /boot to load your new kernel > > > that you're old one would run and try to load the newer linux module > > > and then blow up. > > > > Why would you have to modify the files in /boot? > > Last time I did it, doing installkernel KERNEL=BLAH would only put BLAH > > in the / directory. You still have to do > > # chflags noschg kernel BLAH > > # mv kernel kernel.old > > # mv BLAH kernel > > # chflags schg kernel* > > Actually this is kind of what I did, and this did not work. I had to > truly boot BLAH for the kernel modules to work. WEIRD.. Not 'weird', this is to be expected, the bootloader is looking for a file called /kernel, you have to tell it to look for some other name. Just be glad you don't have to recompile your bootloader each time you upgrade your kernel... :) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message