From owner-freebsd-questions Sun Dec 3 4:45:53 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 3 04:45:49 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from penguin.prod.itd.earthlink.net (penguin.prod.itd.earthlink.net [207.217.120.134]) by hub.freebsd.org (Postfix) with ESMTP id DAAD937B698 for ; Sun, 3 Dec 2000 04:45:48 -0800 (PST) Received: from qwerty.home.lan (dialup-63.208.189.167.Baltimore1.Level3.net [63.208.189.167]) by penguin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id EAA17032; Sun, 3 Dec 2000 04:45:47 -0800 (PST) Received: (from pat@localhost) by qwerty.home.lan (8.11.1/8.11.1) id eB3ChLk01241; Sun, 3 Dec 2000 07:43:21 -0500 (EST) (envelope-from pfoley@earthlink.net) Date: Sun, 3 Dec 2000 07:42:40 -0500 From: Patrick Foley To: Joe Oliveiro Cc: Kevin Oberman , Spades , freebsd-questions@FreeBSD.ORG Subject: Re: top: nlist failed Message-ID: <20001203074240.A1181@qwerty.home.lan> References: <200012022336.eB2Na7J26177@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from joe@advancewebhosting.com on Sun, Dec 03, 2000 at 06:17:14AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 03, 2000 at 06:17:14AM -0500, Joe Oliveiro wrote: > Dont you need to do 'make installworld' before you compile a new kernel > since you want the new kernel to be compiled with the latest system > files. No. What Kevin posted ... > On Sat, 2 Dec 2000, Kevin Oberman wrote: > > > As other have reported, userland and the kernel are out of sync. See > > /usr/src/UPDATING for details on this. Loosely: > > make buildworld > > make buildkernel KERNEL=your_kernel_name > > make installkernel KERNEL=yourkernel_name > > make installworld > > mergemaster > > > > The final two items should be done in single user mode followed by a > > reboot. And always check the UPDATING file for other possible > > steps/gotchas any time you cvsup. is the right way, comes straight from the authoritative document, and he even provides a pointer to it! You may note that the problem Kevin addresses here is a userland and kernel being out of synch. What do you suppose might happen if you did your install=world= and booted on the =old= kernel? Sure, you're only rebooting to build a new kernel, but until you fix things, your userland and kernel would be out of synch! And that could be disastrous, depending on =how= out of synch. The method Kevin describes avoids this problem (you can find some clues on how in src/Makefile.inc1, which is interesting reading in general). Consider, for starters, that the "latest system files" =are= on your computer after a buildworld, but only the world-builders (you and make) know where they are. Unless you have a really unusual path. In sum, either: understand how "make world" (a lovely bit of engineering) really works, or follow the instructions to the letter. (Maybe we could abbreviate that as "RTFs/U" -- "Read the 'Friendly' src/UPDATING"!) -- And that goes for a lot more than "make world"... Pat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message