From owner-freebsd-stable Mon Nov 19 13: 6:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from castle.dreaming.org (castle.dreaming.org [216.221.214.170]) by hub.freebsd.org (Postfix) with ESMTP id 7EC1C37B405 for ; Mon, 19 Nov 2001 13:06:39 -0800 (PST) Received: from castle.dreaming.org (mitayai@castle.dreaming.org [216.221.214.170]) by castle.dreaming.org (8.11.6/8.11.6) with ESMTP id fAJL59r55694; Mon, 19 Nov 2001 16:05:09 -0500 (EST) (envelope-from mitayai@dreaming.org) Date: Mon, 19 Nov 2001 16:05:08 -0500 (EST) From: Mitayai X-X-Sender: To: Bjarne Wichmann Petersen Cc: , "Crist J. Clark" , Warner Losh , Dave Tweten , Subject: Re: Q: Is 'buildkernel' supposed to work? Was: -STABLE buildkernel broke! (linux module) In-Reply-To: <20011119203957.DFBB25405.fepE.post.tele.dk@there> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG the bottom line is that a problem with the obj tree (i think, but not sure, that something doesn't get deleted properly from previous version) means that yes, you can use KERNCONF=kernelname if you (cd /usr/src ; make kernel) or (cd /usr/src ; make buildkernel && make installkernel) BUT remove any old directories such as /usr/obj/usr/src/sys/kernelname first. I did this, and the build (and every subsequent rebuild) works fine by that method. -Mit -- --- Will Mitayai Keeso Rowe Toronto, Ontario, Canada mitayai@dreaming.org On Mon, 19 Nov 2001, Bjarne Wichmann Petersen wrote: > On Monday 19 November 2001 21:09, Crist J. Clark wrote: > > > The only people who should now be having problems with this are those > > who "manually" build kernels and don't 'rm -rf /sys/compile/MYKERNEL' > > or 'config -r MYKERNEL' regularly. > > But is the "new" 'make buildkernel KERNCONF=BLABLA' supposed to work? The > reason I'm asking is that I used that method for several month until I > started having strange problems. I discovered then that /sys/compile/BLABLA > hadn't been updated since I started using the "new" way. Compiling the old > way, /sys/compile/BLABLA got updated. And recompiling the misbehaving apps > (various DVD-players) they began behaving! > > Is there any reasons why /sys/compile/BLABLA isn't updated with buildkernel? > And what is /sys/compile/BLABLA? Is it just for kerneldebugging, or are they > the systems includefiles apps are compiled up against? > > Bjarne > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message