INSTALL revision 1.9
1# $NetBSD: INSTALL,v 1.9 1999/03/16 16:30:16 minoura Exp $ 2 3# 4# INSTALL -- installation kernel. 5# 6 7include "arch/x68k/conf/std.x68k" 8 9maxusers 8 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 30options 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 37#options ZSCONSOLE,ZSCN_SPEED="9600" # use serial console 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; see also std.x68k 184dmac0 at intio0 addr 0xe84000 # DMA controler 185xel0 at intio0 186opm0 at intio0 addr 0xe90000 # OPM: required for fdc 187 188## Display devices and console 189grfbus0 at mainbus0 # bitmapped displays 190grf0 at grfbus0 # multiplane graphics 191#grf1 at grfbus0 # flexible graphics 192 193kbd0 at mfp0 # standard keyboard 194ite0 at grf0 # internal terminal emulator 195#options ITE_KERNEL_ATTR=4 # bold for kernel messages 196 # see /sys/arch/x68k/dev/itevar.h 197#!pow0 at mfp0 flags 0 # power switch status; intr enabled 198#!pow1 at mfp0 flags 1 # power switch status; read only 199pseudo-device pow 2 #! software power switch 200 201## floppy disks 202fdc0 at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler 203fd* at fdc0 unit ? # builtin floppy drives 204 205## SCSI devices 206scsirom0 at intio0 # SCSI BIOS 207scsirom1 at intio0 # SCSI BIOS 208spc* at scsirom? # genuin SCSI 209scsibus* at spc? 210mha0 at scsirom? # Mankai MK-HA1 (Mach-2) 211scsibus* at mha0 212 213sd* at scsibus? target ? lun ? # SCSI disks 214cd* at scsibus? target ? lun ? # SCSI CD-ROMs 215st* at scsibus? target ? lun ? # SCSI tapes 216#ss* at scsibus? target ? lun ? # SCSI scanners 217#ch* at scsibus? target ? lun ? # SCSI changer devices 218#uk* at scsibus? target ? lun ? # SCSI unknown devices 219 220## Serial ports 221zsc0 at intio0 addr 0xe98000 intr 112 222zstty0 at zsc0 channel 0 # built-in RS-232C 223#ms0 at zsc0 channel 1 # standard mouse 224#zsc1 at intio0 addr 0xeafc00 intr 113 225#zstty2 at zsc1 channel 0 226#zstty3 at zsc1 channel 1 227#zsc2 at intio0 addr 0xeafc10 intr 114 228#zstty4 at zsc2 channel 0 229#zstty5 at zsc2 channel 1 230 231pseudo-device sram #! battery-backuped static RAM 232pseudo-device bell #! OPM bell 233 234#xcom0 at mainbus0 # NS16550 fast serial 235#xcom1 at mainbus0 236 237## Audio device; broken 238#okiadpcm0 at intio0 addr 0xe92000 intr 106 errintr 107 dma 3 239#audio* at okiadpcm* 240 241## Network interfaces 242neptune0 at intio0 addr 0xece000 intr 249 # Neptune-X 243neptune1 at intio0 addr 0xece400 intr 249 # Neptune-X at alt. addr. 244ne0 at neptune? addr 0x300 # NE2000 or clone 245#se0 at scsibus? target ? lun ? # Ether+; not supported 246 247 248#### Pseudo devices 249 250## A disk-like interface to files. Can be used to create floppy, CD, 251## miniroot images, etc. 252 253pseudo-device vnd 4 254 255## Concatenated and striped disks; with this, you can create a software-based 256## disk array similar to a "RAID 0" setup. See ccd(4). 257 258#pseudo-device ccd 4 259 260## RAIDframe disk driver: software RAID driver. See raid(4). 261 262#pseudo-device raid 4 263 264## Memory disk device, used on boot floppies with compressed 265## kernel-plus-root-disk images. 266 267pseudo-device md 1 268 269## Loopback network interface; required 270pseudo-device loop 271 272## SLIP and CSLIP interfaces, for IP over a serial line. 273pseudo-device sl 1 274 275## PPP, the successor to SLIP. See pppd(8). 276pseudo-device ppp 1 277 278## Network "tunnel" device, allowing protocol stacks to run in the userland. 279## This is used by the third-party user-mode "ppp" program, and others. 280#pseudo-device tun 4 281 282## Generic L3 over IP tunnel 283#pseudo-device gre 2 # generic L3 over IP tunnel 284 285## Berkeley Packet Filter, required to run RARPD. A generic C-language 286## interface that allows selective examining of incoming packets. 287#pseudo-device bpfilter 8 288 289## IP Filter, used in firewall and NAT applications. See ipnat(8) for 290## one example of the use of the IP Filter. 291#pseudo-device ipfilter 292 293 294#### Other device configuration 295 296## Pseudo ttys, required for network logins and programs like screen. 297## 32 is a good number for average systems; you may have as many as you 298## like, though 256 is more or less the upper limit. Increasing this 299## number still requires you to run /dev/MAKEDEV to create the files 300## for the ptys. 301 302pseudo-device pty 8 # pseudo-ttys (for network, etc.) 303 304## Random device, used to implement /dev/random (a source of random noise), 305## and generate randomness for some kernel formulae. 306## THIS DEVICE IS EXPERIMENTAL; use at your own risk. 307 308#pseudo-device rnd 309