From acd83cd066e7d73b61aa801b5d28e3088fcbea43 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Tue, 26 Jun 2001 17:46:16 +0000 Subject: [PATCH] Add 26 index entries Submitted by: Valentino Vaschetto --- .../books/handbook/kernelconfig/chapter.sgml | 32 ++++++++++++++++--- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml index b310ebc888..03936f1e67 100644 --- a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml @@ -1,7 +1,7 @@ @@ -13,7 +13,7 @@ Updated and restructured by &a.jim;, March 2000. Originally contributed by &a.jehamby;, 6 October 1995. - + kernelbuilding a custom kernel The following chapter of the handbook covers everything you will need to know in order to build a custom kernel. If you are wondering what the benefits of a custom kernel are, or would like to @@ -57,7 +57,7 @@ Building and Installing a Custom Kernel - + kernelbuilding / installing First, let us take a quick tour of the kernel build directory. All directories mentioned will be relative to the main /usr/src/sys directory, which is also @@ -118,6 +118,7 @@ changes you have made to differentiate it from GENERIC. + SunOS If you have built a kernel under SunOS or some other BSD operating system, much of this file will be very familiar to you. If you are coming from some other operating system such as DOS, on @@ -177,6 +178,10 @@ recognize KERNCONF= + CVSup + anoncvs + CVSanonymous + CTM If you have not upgraded your source tree in any way (you have not run CVSup, CTM, or used @@ -194,7 +199,7 @@ build your kernel if you have updated the sources! - + kernel.old The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old. Now, shutdown the system and @@ -214,7 +219,9 @@ The Configuration File - + kernelconfig file + kernelLINT + LINT The general format of a configuration file is quite simple. Each line contains a keyword and one or more arguments. For simplicity, most lines only contain one argument. Anything @@ -246,6 +253,7 @@ files on your system for examples. + kernelexample config The following is an example GENERIC kernel configuration file with various additional comments where needed for clarity. This example should match your copy in @@ -275,12 +283,14 @@ The following are the mandatory keywords required in every kernel you build: + kernel optionsmachine machine i386 This is the machine architecture. It must be either i386, alpha, or pc98. + kernel optionscpu cpu I386_CPU cpu I486_CPU cpu I586_CPU @@ -294,6 +304,7 @@ cpu I686_CPU your CPU use, you can use the dmesg command to view your boot up messages. + kernel optionscpu type The Alpha architecture has different values for cpu_type. They include: @@ -303,6 +314,7 @@ cpu EV5 If you are using an Alpha machine, you should be using one of the above CPU types. + kernel optionsident ident GENERIC This is the identification of the kernel. You should change @@ -313,6 +325,7 @@ cpu EV5 want to keep it separate from your usual kernel (i.e., you want to build an experimental kernel). + kernel optionsmaxusers maxusers 32 The maxusers option sets the size of a number @@ -405,6 +418,8 @@ options MD_ROOT #MD is a potential root device Now you simply need to either reboot, or run the command mount /tmp. + kernel optionsNFS + kernel optionsNFS_ROOT options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required @@ -412,6 +427,7 @@ options NFS_ROOT #NFS usable as root device, NFS required + kernel optionsMSDOSFS options MSDOSFS #MSDOS Filesystem The MS-DOS filesystem. Unless you plan to mount a DOS formatted @@ -505,12 +521,14 @@ options _KPOSIX_PRIORITY_SCHEDULING applications in the ports collection use these (such as Star Office). + kernel optionsICMP_BANDLIM options ICMP_BANDLIM #Rate limit bad replies This option enables ICMP error response bandwidth limiting. You typically want this option as it will help protect the machine from denial of service packet attacks. + kernel optionsSMP # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O @@ -759,6 +777,7 @@ device ppc0 at isa? irq 7 #device vpo # Requires scbus and da + zip drive This is for an Iomega Zip drive. It requires scbus and da support. Best performance is achieved with ports in EPP 1.9 mode. @@ -926,6 +945,8 @@ pseudo-device bpf # Berkeley packet filter Making Device Nodes + device nodes + MAKEDEV Almost every device in the kernel has a corresponding node entry in the /dev directory. These nodes look like regular files, but are actually special @@ -951,6 +972,7 @@ pseudo-device bpf # Berkeley packet filter turns out that those files are not there, so you must change to the /dev directory and type: + MAKEDEV &prompt.root; sh MAKEDEV acd0 When this script finishes, you will find that there are now