INSTALL revision 1.8
1# $NetBSD: INSTALL,v 1.8 1999/01/18 07:39:51 itohy Exp $ 2 3# 4# INSTALL -- installation kernel. 5# 6 7include "arch/x68k/conf/std.x68k" 8 9maxusers 16 10 11## Enable the hooks used for initializing the memory-disk. 12options MEMORY_DISK_HOOKS 13options MEMORY_DISK_IS_ROOT # Force root on memory-disk 14options MEMORY_DISK_SERVER=0 # No user space hooks 15options MINIROOTSIZE=3074 16#options MINIROOTSIZE=2880 # 1.44M, same as a floppy 17 18## System kernel configuration. See options(4) for more detail. 19 20 21## Options for variants of the m68k MPU 22## you must have at least the correct one; REQUIRED 23options M68030 24options M68040 25options M68060 26 27 28#### System options specific to the x68k port 29 30#options UVM # new virtual memory system 31#options MACHINE_NONCONTIG # support for noncontiguous memory 32options FPU_EMULATE # software fpu emulation for MC68030 33options FPSP # floating point emulation for MC68040 34options M060SP # int/fp emulation for MC68060 35options JUPITER # support for "Jupiter-X" accelerator 36options MAPPEDCOPY # use page mapping for large copyin/copyout 37options EIOMAPSIZE=0 # do not map PCI address space 38 39 40#### System options that are the same for all ports 41 42## Root device configuration: change the ?'s if you are going to use a 43## nonstandard root partition (other than where the kernel is booted from) 44## and/or nonstandard root type (not ffs or nfs). Normally this can be 45## automagically determined at boot time. 46 47config netbsd root on ? type ? 48 49## RTC is offset from GMT; -540 means JST-9 50options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 51 52## System call tracing (see ktrace(1)). 53#options KTRACE 54 55## Collect statistics on kernel malloc's and free's. This does have a 56## significant performance hit on slower machines, so it is intended for 57## diagnostic use only. 58#options KMEMSTATS 59 60## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 61#options SYSVMSG # System V message queues 62#options SYSVSEM # System V semaphores 63#options SYSVSHM # System V shared memory 64#options SHMMAXPGS=1024 # 1024 pages is the default 65 66## Loadable kernel module support 67#options LKM 68 69## NFS boot options; not supported currently: needs nfsboot program 70#options NFS_BOOT_BOOTPARAM 71#options NFS_BOOT_BOOTP 72#options NFS_BOOT_DHCP 73 74#### Debugging options 75 76## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 77## serial console break or keyboard reset, where the PROM would normally 78## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 79#options DDB # kernel dynamic debugger 80#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 81#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 82#options PANICBUTTON # interrupt switch invokes DDB 83 84## You may also use gdb, on another computer connected to this machine over 85## a serial port. Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is 86## a dev_t encoded device number of the serial port to use. 87## KGDB is not supported for now. 88#options KGDB # support for kernel gdb 89#options KGDBDEV=0xc00 # kgdb device number 90#options KGDBRATE=9600 # baud rate 91 92## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 93## such that gdb(1) can be used on a kernel coredump. 94 95#makeoptions DEBUG="-g" 96 97## Adds code to the kernel that does internal consistency checks, and will 98## cause the kernel to panic if corruption of internal data structures 99## is detected. 100#options DIAGNOSTIC # extra kernel sanity checking 101 102## Enable (possibly expensive) debugging code that may also display messages 103## on the system console 104#options DEBUG 105 106## Make SCSI error messages more verbose when explaining their meanings. 107#options SCSIVERBOSE 108 109## `INSECURE' turns off the kernel security level (securelevel = 0 always). 110## This allows writing to /dev/mem, loading kernel modules while multi-user, 111## and other insecurities good only for development work. Do not use this 112## option on a production machine. 113#options INSECURE 114 115## Allow non-root users to grab /dev/console with programs such as xconsole. 116## `xconsole' therefore does not need setuid root with this option enabled. 117#options UCONSOLE 118 119## `FDSCRIPTS' allows non-readable but executable scripts by providing a 120## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 121## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 122## opaque file mechanism. Perl calls this "secure setuid scripts." 123 124#options FDSCRIPTS 125#options SETUIDSCRIPTS 126 127## Options for compatibility with previous releases foreign system binaries. 128 129options COMPAT_43 # 4.3BSD system interfaces 130#options COMPAT_09 # NetBSD 0.9 binary compatibility 131#options COMPAT_10 # NetBSD 1.0 binary compatibility 132#options COMPAT_11 # NetBSD 1.1 binary compatibility 133#options COMPAT_12 # NetBSD 1.2 binary compatibility 134#options COMPAT_13 # NetBSD 1.3 binary compatibility 135#options COMPAT_M68K4K # NetBSD/m68k4k binaries 136#options COMPAT_SUNOS # SunOS 4.x binary compatibility; broken 137 138## File systems. 139file-system FFS # Berkeley Fast Filesystem 140file-system NFS # Sun NFS-compatible filesystem client 141file-system KERNFS # kernel data-structure filesystem 142#file-system NULLFS # NULL layered filesystem 143file-system MFS # memory-based filesystem 144#file-system FDESC # user file descriptor filesystem 145#file-system UMAPFS # uid/gid remapping filesystem 146#file-system LFS # Log-based filesystem (still experimental) 147#file-system PORTAL # portal filesystem (still experimental) 148file-system PROCFS # /proc 149file-system CD9660 # ISO 9660 + Rock Ridge file system 150#file-system UNION # union file system 151file-system MSDOSFS # MS-DOS FAT filesystem(s). 152#file-system ADOSFS # AmigaDOS filesystem 153 154## File system options. 155#options NFSSERVER # Sun NFS-compatible filesystem server 156#options QUOTA # FFS quotas 157#options FFS_EI # FFS Endian Independent support 158 159## Network protocol support. In most environments, INET is required. 160options INET # IP (Internet Protocol) v4 161options TCP_COMPAT_42 # 4.2BSD IP implementation compatibility 162#options GATEWAY # packet forwarding ("router switch") 163#options MROUTING # packet forwarding of multicast packets 164#options DIRECTED_BROADCAST # allow broadcasts through routers 165#options NS # Xerox NS networking 166#options NSIP # Xerox NS tunneling over IP 167#options ISO,TPIP # OSI networking 168#options EON # OSI tunneling over IP 169#options CCITT,LLC,HDLC # X.25 packet switched protocol 170#options NETATALK # AppleTalk (over Ethernet) protocol 171#options NTP # Network Time Protocol in-kernel support 172#options PPS_SYNC # Add serial line synchronization for NTP 173#options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 174#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 175#options PPP_BSDCOMP # Add BSD compression to ppp device 176#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 177#options PPP_FILTER # Add active filters for ppp (via bpf) 178 179 180 181#### Device configurations 182 183## Fundamental devices 184mainbus0 at root # MANDATORY 185 186## Display devices and console 187grfbus0 at mainbus0 # bitmapped displays 188grf0 at grfbus0 # multiplane graphics 189#grf1 at grfbus0 # flexible graphics 190 191ite0 at grf0 # internal terminal emulator 192pseudo-device kbd # standard keyboard 193#pseudo-device pow 2 # software power switch 194 195## floppy disks 196fdc0 at mainbus0 # floppy controller 197fd* at fdc0 unit ? # builtin floppy drives 198 199## SCSI devices 200spc0 at mainbus0 # builtin scsi 201spc1 at mainbus0 # external scsi 202scsibus* at spc? 203mha0 at mainbus0 # MK-HA1 mach-2 SCSI 204scsibus* at mha0 205 206sd* at scsibus? target ? lun ? # SCSI disks 207cd* at scsibus? target ? lun ? # SCSI CD-ROMs 208st* at scsibus? target ? lun ? # SCSI tapes 209#ss* at scsibus? target ? lun ? # SCSI scanners 210#ch* at scsibus? target ? lun ? # SCSI changer devices 211#uk* at scsibus? target ? lun ? # SCSI unknown devices 212 213## Serial ports 214zsc0 at mainbus0 215zstty0 at zsc0 channel 0 # built-in RS-232C 216#ms0 at zsc0 channel 1 # standard mouse 217#zsc1 at mainbus0 218#zstty2 at zsc1 channel 0 219#zstty3 at zsc1 channel 1 220#zsc2 at mainbus0 221#zstty4 at zsc2 channel 0 222#zstty5 at zsc2 channel 1 223 224#xcom0 at mainbus0 # NS16550 fast serial 225#xcom1 at mainbus0 226 227#pseudo-device sram # battery-backuped static RAM 228#pseudo-device bell # OPM bell 229 230 231## Audio device; broken 232#okiadpcm0 at mainbus0 233#audio* at okiadpcm* 234 235## Network interfaces 236ed0 at mainbus0 # Neptune-X 237#se0 at scsibus? target ? lun ? # Ether+; not supported 238 239 240#### Pseudo devices 241 242## A disk-like interface to files. Can be used to create floppy, CD, 243## miniroot images, etc. 244 245pseudo-device vnd 4 246 247## Concatenated and striped disks; with this, you can create a software-based 248## disk array similar to a "RAID 0" setup. See ccd(4). 249 250pseudo-device ccd 4 251 252## Memory disk device, used on boot floppies with compressed 253## kernel-plus-root-disk images. 254 255pseudo-device md 1 256 257## Loopback network interface; required 258pseudo-device loop 259 260## SLIP and CSLIP interfaces, for IP over a serial line. 261pseudo-device sl 1 262 263## PPP, the successor to SLIP. See pppd(8). 264pseudo-device ppp 1 265 266## Network "tunnel" device, allowing protocol stacks to run in the userland. 267## This is used by the third-party user-mode "ppp" program, and others. 268#pseudo-device tun 4 269 270## Berkeley Packet Filter, required to run RARPD. A generic C-language 271## interface that allows selective examining of incoming packets. 272#pseudo-device bpfilter 8 273 274## IP Filter, used in firewall and NAT applications. See ipnat(8) for 275## one example of the use of the IP Filter. 276#pseudo-device ipfilter 277 278 279#### Other device configuration 280 281## Pseudo ttys, required for network logins and programs like screen. 282## 32 is a good number for average systems; you may have as many as you 283## like, though 256 is more or less the upper limit. Increasing this 284## number still requires you to run /dev/MAKEDEV to create the files 285## for the ptys. 286 287pseudo-device pty 8 # pseudo-ttys (for network, etc.) 288 289## Random device, used to implement /dev/random (a source of random noise), 290## and generate randomness for some kernel formulae. 291## THIS DEVICE IS EXPERIMENTAL; use at your own risk. 292 293#pseudo-device rnd 294