From owner-freebsd-questions Wed Jul 10 11:19:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 686D037B40A for ; Wed, 10 Jul 2002 11:19:16 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BA2643E58 for ; Wed, 10 Jul 2002 11:19:15 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6AIJEYn038765; Wed, 10 Jul 2002 19:19:14 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6AIJ99g038764; Wed, 10 Jul 2002 19:19:09 +0100 (BST) Date: Wed, 10 Jul 2002 19:19:09 +0100 From: Matthew Seaman To: Aaron Pfaefflin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 4.4rc2 Kernel Compile Problem Message-ID: <20020710181909.GB38567@happy-idiot-talk.infracaninophi> References: <000801c22834$54e6af90$8e3f3ccc@sre001> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000801c22834$54e6af90$8e3f3ccc@sre001> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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