From owner-freebsd-current Sun Mar 15 19:36:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00444 for freebsd-current-outgoing; Sun, 15 Mar 1998 19:36:37 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA00435 for ; Sun, 15 Mar 1998 19:36:32 -0800 (PST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Received: from exchsa1.dsto.defence.gov.au (exchsa1.dsto.defence.gov.au [131.185.2.94]) by digger1.defence.gov.au (8.7.5/8.7.3) with ESMTP id OAA13568; Mon, 16 Mar 1998 14:04:34 +1030 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by exchsa1.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id G0BWV37Z; Mon, 16 Mar 1998 14:05:10 +0930 Received: from eddie.dsto.defence.gov.au (eddie.dsto.defence.gov.au [131.185.2.111]) by fang.dsto.defence.gov.au (8.8.5/8.8.5) with ESMTP id OAA12999; Mon, 16 Mar 1998 14:05:52 +1030 (CST) Received: from dsto.defence.gov.au (localhost [127.0.0.1]) by eddie.dsto.defence.gov.au (8.8.8/8.8.5) with ESMTP id OAA00402; Mon, 16 Mar 1998 14:05:41 +1030 (CST) Message-ID: <350C9E0C.2A3B1623@dsto.defence.gov.au> Date: Mon, 16 Mar 1998 14:05:40 +1030 From: Matthew Thyer Organization: Defence Science Technology Organisation X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: "Jordan K. Hubbard" CC: Studded , FreeBSD CURRENT Subject: Kernel building before make world (was Re: trouble booting) References: <7629.889870081@time.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Re: LKM's, I have everything compiled into the kernel and have my DOS partition optioned noauto in /etc/fstab so it wont mount on boot. I've done this after being bitten by the DOS LKM before. I dont want to use "options NO_LKM" as I do mount my dos partition sometimes. Can the DOS filesystem be compiled statically into the kernel ? Oh, I do enable_linux on startup so I suppose that'll bite me one day but it hasn't yet. About the "will blow out a new kernel" bit, I'm not sure what you mean but I assume that my build of a new kernel after the make world would fix it. So given my LKM precautions is there any use building a kernel first ? Am I going to get a better quality world build using a kernel from the same sources ? More importantly, am I going to get a worse quality build doing things this way ? I suppose the answer is that I'm wasting time and blowing out the size of my kernel (with everything static) and I should only build a kernel first when warned to on the list. Jordan K. Hubbard wrote: > > > I'm curious about this. This isn't a dig, although my incredulity might > > make it seem so. Every piece of documentation I've seen says to do it > > the other way around. Make world first, then build kernel, then boot. > > This is correct. If you've just done major things to the build tools, > or even if you've merely changed config(8) in a way that will blow out > a new kernel (and this happens fairly often, actually) the make world > will fix this for you before you move on to building the kernel. > > Also, building just the kernel and then rebooting from it (otherwise, > what would be the point of building it first?) can truly hang you if > your LKMs are out of date. Building the kernel first is therefore NOT > recommended practice. > > Jordan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Matthew Thyer Phone: +61 8 8259 7249 Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Salisbury PO Box 1500 Salisbury South Australia 5108 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message