Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 19:19:09 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Aaron Pfaefflin <srelysian@snet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD 4.4rc2 Kernel Compile Problem
Message-ID:  <20020710181909.GB38567@happy-idiot-talk.infracaninophi>
In-Reply-To: <000801c22834$54e6af90$8e3f3ccc@sre001>
References:  <000801c22834$54e6af90$8e3f3ccc@sre001>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 10, 2002 at 01:07:50PM -0400, Aaron Pfaefflin wrote:

> 
> SRE:0: unknown option "MAXUSERS"
> 

The best approach to developing a custom kernel is to start with a
copy of GENERIC.  First thing to do is change the 'ident' line.
Second thing is to work through the file commenting out the parts you
don't need.  Amongst the things that you definitely must not comment
out is the 'maxusers' line.  Unless your machine is going to be doing
some pretty extreme high performance stuff, you're best off keeping
the default setting from GENERIC.  For recent 4-STABLE, maxusers can
be set to 0, which will auto size based on the capacity of the
hardware.

The third thing to do is add in any extra options you need out of
LINT.  I find it helps to keep the text of the custom config as close
to GENERIC as possible.  Makes it easier to use diff or sdiff to
compare against GENERIC as updates come in over time.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020710181909.GB38567>