Make world after building SMP kernel?

Barney Wolff barney at pit.databus.com
Thu May 1 13:47:12 PDT 2003


On Thu, May 01, 2003 at 11:22:12AM -0700, Brooks Davis wrote:
> On Thu, May 01, 2003 at 01:17:55PM -0500, Chris Boyd wrote:
> > Friend of mine swears that I need to do make world after building an 
> > SMP kernel.  I can't see any reason to do it, and have a couple of 
> > boxes that have been running for months without it.  Searching the net 
> > does not reveal an answer, so I put the question before the mighty SMP 
> > gurus :-)
> 
> Your friend is wrong.  Userland doesn't care which i386 kernel it's
> running.

This is much too simplistic an answer.  I suggest both of you read
UPDATING and the handbook.

In short, it's guaranteed only when the kernel is built from the same
sources from which world was built.  If you've cvsup'd or otherwise
updated your source tree, you should follow the directions in UPDATING,
or risk odd behavior of ps, top and other things.  It may often do
no harm, just like passing on a blind curve.

But you should never build world *after* building the kernel.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.


More information about the freebsd-smp mailing list