Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 1998 14:05:40 +1030
From:      Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Studded <Studded@dal.net>, FreeBSD CURRENT <current@FreeBSD.ORG>
Subject:   Kernel building before make world (was Re: trouble booting)
Message-ID:  <350C9E0C.2A3B1623@dsto.defence.gov.au>
References:  <7629.889870081@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?350C9E0C.2A3B1623>