From owner-freebsd-questions Mon Mar 15 15:25:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id DAF88150E8 for ; Mon, 15 Mar 1999 15:25:28 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA11821; Tue, 16 Mar 1999 09:55:08 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA18736; Tue, 16 Mar 1999 09:55:03 +1030 (CST) Message-ID: <19990316095503.O429@lemis.com> Date: Tue, 16 Mar 1999 09:55:03 +1030 From: Greg Lehey To: Karl Pielorz , Jon Passki Cc: FreeBSD Questions Subject: Re: Kernel Config References: <36ED2459.95632872@neicoltech.org> <36ED2849.18696835@tdx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36ED2849.18696835@tdx.co.uk>; from Karl Pielorz on Mon, Mar 15, 1999 at 03:33:29PM +0000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 15 March 1999 at 15:33:29 +0000, Karl Pielorz wrote: > Jon Passki wrote: > >> [snip] >> >> The system I'm configuring is >> my home box, but I will use it as a small scale web server. The >> processor is an AMD K6-2. I plan to do some programming, but nothing >> too complex right now. >> >> # POSIX - Do I need posix for basic day to day usage, >> # or is this geared towards programming compatibility? >> options "P1003_1B" >> options "_KPOSIX_PRIORITY_SCHEDULING" >> options "_KPOSIX_VERSION=199309L" > > These are the defaults AFAIK, they shouldn't cause you any problems... They're not the defaults, and they're not well documented. I started looking through the code, but there's little information there. I'd suggest leaving it alone unless you have a good reason. >> options PPS_SYNC > > Hmmm... I think this is related to the parallel port 'bus' interface, should > be OK with it in (uh oh, shaky ground for me :) In case of doubt, take a look at /sys/i386/conf/LINT: # Enable support for the kernel PLL to use an external PPS signal, # under supervision of [x]ntpd(8) # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp options PPS_SYNC Again, unless you have a specific need, don't include it. >> controller pnp0 # I don't have any devices right now that are PnP >> # but should I use it for the future? > > You can do, I have it in on 1 of my machines, and out on another (both have > PnP bios's, but no PnP devices)... If you use it in the future, include it then. Building a kernel is easier than installing new devices. >> options LKM # What LKM's are around that I could use? > > Quite a few, things like Screen savers etc. - Probably safer leaving it in for > 3.1 Agreed, though I can't think of many LKMs that haven't been converted to klds. >> options DDB (or DDB_UNATTENDED) # I noticed the GENERIC doesn't have them > > You can put in 'DDB' (debugger for kernel panics - else the machine just > reboots), and 'DDB_UNNATTENEDED' so that if no ones around the machine will > restart itself if it panics (and it has DDB compiled in). Otherwise it will > just 'sit' there running DDB on the console until someone stops by to look at > it :-) Agreed. I'd recommend both these options, *if* you know how to use ddb. >> options INVARIANTS > > Hmmm... Tough one - for 3.1 (i.e. stable/release etc.) - if you've got DDB > compiled in, I'd leave INVARIANTS set, if your leaving DDB out, then leave > INVARIANTS out as well... From LINT: # The INVARIANTS option is used in a number of source files to enable # extra sanity checking of internal structures. This support is not # enabled by default because of the extra time it would take to check # for these conditions, which can only occur as a result of # programming errors. # options INVARIANTS Again, it's your choice. I don't use it. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message