From owner-freebsd-doc Thu Jan 31 12:20:52 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B521137B405 for ; Thu, 31 Jan 2002 12:20:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0VKK0667576; Thu, 31 Jan 2002 12:20:00 -0800 (PST) (envelope-from gnats) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by hub.freebsd.org (Postfix) with ESMTP id 7549637B404 for ; Thu, 31 Jan 2002 12:10:45 -0800 (PST) Received: (from darklogik@localhost) by pittgoth.com (8.11.6/8.11.6) id g0VKC6v02426; Thu, 31 Jan 2002 15:12:06 -0500 (EST) (envelope-from darklogik) Message-Id: <200201312012.g0VKC6v02426@pittgoth.com> Date: Thu, 31 Jan 2002 15:12:06 -0500 (EST) From: Tom Rhodes Reply-To: Tom Rhodes To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/34499: [PATCH] kernelconfig chapter, cleanup & update Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34499 >Category: docs >Synopsis: [PATCH] kernelconfig chapter, cleanup & update >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 31 12:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 4.5 i386 >Organization: >Environment: System: FreeBSD 4.5 >Description: This patch does some grammer cleanup, tag cleanup, adds softupdates to the options, and other minor 'bugs'. This patch also succeeds in closeing pr: 34137 and pr: 34238 so in essance, we can apply this patch and close 3 pr's. Thanks! --Tom Rhodes >How-To-Repeat: read the kernel configuration handbook chapter, read pr: 34137 and pr: 34238 and then review this patch. >Fix: apply patch supplied below! *** chapter.sgml.old Thu Jan 31 11:41:22 2002 --- chapter.sgml Thu Jan 31 13:15:44 2002 *************** *** 162,168 **** src, then sys. If you have an aversion to sysinstall and you have access to an official FreeBSD CDROM, then ! you can also install the source from the command line : &prompt.root; mount /cdrom &prompt.root; mkdir -p /usr/src/sys --- 162,168 ---- src, then sys. If you have an aversion to sysinstall and you have access to an official FreeBSD CDROM, then ! you can also install the source from the command line: &prompt.root; mount /cdrom &prompt.root; mkdir -p /usr/src/sys *************** *** 206,224 **** You must execute these and all of the following commands under ! the root account or you will get permission ! denied errors. Now, edit MYKERNEL with your favorite text editor. If you are just starting out, the only editor available ! will probably be vi, which is too complex to explain here, but is covered well in many books in the bibliography. However, FreeBSD does ! offer an easier editor called ee which, if you are a ! beginner, should be your editor of choice. Feel free to change the ! comment lines at the top to reflect your configuration or the ! changes you have made to differentiate it from GENERIC. SunOS --- 206,224 ---- You must execute these and all of the following commands under ! the root account or you will get ! permission denied errors. Now, edit MYKERNEL with your favorite text editor. If you are just starting out, the only editor available ! will probably be vi, which is too complex to explain here, but is covered well in many books in the bibliography. However, FreeBSD does ! offer an easier editor called ee which, if ! you are a beginner, should be your editor of choice. Feel free to ! change the comment lines at the top to reflect your configuration or ! the changes you have made to differentiate it from GENERIC. SunOS *************** *** 256,262 **** If you are running a FreeBSD version prior to 4.0, and you are not upgrading to FreeBSD 4.0 or higher using ! the make world procedure, use procedure 1. --- 256,263 ---- If you are running a FreeBSD version prior to 4.0, and you are not upgrading to FreeBSD 4.0 or higher using ! the make world procedure, use procedure 1. ! *************** *** 266,273 **** ! If you are rebuilding the kernel as part of a make ! world process, use procedure 2. --- 267,275 ---- ! If you are rebuilding the kernel as part of a ! make world process, use procedure 2. ! *************** *** 305,311 **** way ! Change to the /usr/src directory &prompt.root; cd /usr/src --- 307,313 ---- way ! Change to the /usr/src directory. &prompt.root; cd /usr/src *************** *** 327,333 **** In FreeBSD 4.2 and older you must replace KERNCONF= with KERNEL=. 4.2-STABLE that was fetched after Feb 2nd, 2001 does ! recognize KERNCONF= --- 329,335 ---- In FreeBSD 4.2 and older you must replace KERNCONF= with KERNEL=. 4.2-STABLE that was fetched after Feb 2nd, 2001 does ! recognize KERNCONF=. *************** *** 344,351 **** tree in any way (you have not run CVSup, CTM, or used anoncvs), then you should use the ! config, make depend, ! make, make install sequence. kernel.old --- 346,354 ---- tree in any way (you have not run CVSup, CTM, or used anoncvs), then you should use the ! config, make depend, ! make, make install sequence. ! kernel.old *************** *** 610,615 **** --- 613,627 ---- is at a premium and disk access speed is less important, such as a firewall. + options SOFTUPDATES #Enable FFS soft updates support + + This option enables soft updates in the kernel, this will help speed + up write access on the disks. They enabled by default in the 4.X branch + but may not be turned on. Review the output from &man.mount.8; to see + if you have them enabled. If you do not see the soft-updates option then + you will need to activate it using the &man.tunefs.8; or &man.newfs.8; + for new filesystems. + options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device *************** *** 737,744 **** options _KPOSIX_PRIORITY_SCHEDULING Real-time extensions added in the 1993 POSIX. Certain ! applications in the ports collection use these (such as Star ! Office). kernel options --- 749,756 ---- options _KPOSIX_PRIORITY_SCHEDULING Real-time extensions added in the 1993 POSIX. Certain ! applications in the ports collection use these ! (such as StarOffice). kernel options *************** *** 1021,1027 **** device miibus to the kernel config pulls in support for the generic miibus API and all of the PHY drivers, including a generic one for PHYs that are not specifically handled ! by an individual driver device dc # DEC/Intel 21143 and various workalikes device rl # RealTek 8129/8139 --- 1033,1039 ---- device miibus to the kernel config pulls in support for the generic miibus API and all of the PHY drivers, including a generic one for PHYs that are not specifically handled ! by an individual driver. device dc # DEC/Intel 21143 and various workalikes device rl # RealTek 8129/8139 *************** *** 1303,1315 **** an excellent mechanism for recovering from incompatible kernels. Simply choose the kernel you want to boot from at the FreeBSD boot loader. You can access this when the system ! counts down from 10. Hit any key except for the enter key, ! type unload and then type ! boot ! kernel.old, or the ! filename of any other kernel that will boot properly. When ! reconfiguring a kernel, it is always a good idea to keep a ! kernel that is known to work on hand. After booting with a good kernel you can check over your configuration file and try to build it again. One helpful --- 1315,1327 ---- an excellent mechanism for recovering from incompatible kernels. Simply choose the kernel you want to boot from at the FreeBSD boot loader. You can access this when the system ! counts down from 10. Hit any key except for the ! enter key, type unload ! and then type ! bootkernel.old, ! or the filename of any other kernel that will boot properly. ! When reconfiguring a kernel, it is always a good idea to keep ! a kernel that is known to work on hand. After booting with a good kernel you can check over your configuration file and try to build it again. One helpful >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message