Home | History | Annotate | Line # | Download | only in conf
INSTALL revision 1.7.6.2
      1 #	$NetBSD: INSTALL,v 1.7.6.2 1998/12/27 15:16:55 minoura Exp $
      2 
      3 #
      4 #	INSTALL -- installation kernel.
      5 #
      6 
      7 include "arch/x68k/conf/std.x68k"
      8 
      9 maxusers	8
     10 
     11 ## Enable the hooks used for initializing the memory-disk.
     12 options 	MEMORY_DISK_HOOKS
     13 options 	MEMORY_DISK_IS_ROOT     # Force root on memory-disk
     14 options 	MEMORY_DISK_SERVER=0	# No user space hooks
     15 options 	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
     23 options 	M68030
     24 options 	M68040
     25 options 	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
     32 options 	MACHINE_NEW_NONCONTIG	# new i/f for noncontig memory support
     33 options 	FPU_EMULATE		# software fpu emulation for MC68030
     34 options 	FPSP			# floating point emulation for MC68040
     35 options 	M060SP			# int/fp emulation for MC68060
     36 options 	JUPITER			# support for "Jupiter-X" accelerator
     37 options 	MAPPEDCOPY		# use page mapping for large copyin/copyout
     38 #options 	ZSCONSOLE,ZSCN_SPEED="9600"	# use serial console
     39 
     40 
     41 #### System options that are the same for all ports
     42 
     43 ## Root device configuration: change the ?'s if you are going to use a
     44 ## nonstandard root partition (other than where the kernel is booted from)
     45 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     46 ## automagically determined at boot time.
     47 
     48 config		netbsd	root on ? type ?
     49 
     50 ## RTC is offset from GMT; -540 means JST-9
     51 options 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
     52 
     53 ## System call tracing (see ktrace(1)).
     54 #options 	KTRACE
     55 
     56 ## Collect statistics on kernel malloc's and free's.  This does have a
     57 ## significant performance hit on slower machines, so it is intended for
     58 ## diagnostic use only.
     59 #options 	KMEMSTATS
     60 
     61 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     62 #options 	SYSVMSG		# System V message queues
     63 #options 	SYSVSEM		# System V semaphores
     64 #options 	SYSVSHM		# System V shared memory
     65 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     66 
     67 ## Loadable kernel module support
     68 #options 	LKM
     69 
     70 ## NFS boot options; not supported currently: needs nfsboot program
     71 #options 	NFS_BOOT_BOOTPARAM
     72 #options 	NFS_BOOT_BOOTP
     73 #options 	NFS_BOOT_DHCP
     74 
     75 #### Debugging options
     76 
     77 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     78 ## serial console break or keyboard reset, where the PROM would normally
     79 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
     80 #options 	DDB			# kernel dynamic debugger
     81 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     82 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
     83 #options 	PANICBUTTON		# interrupt switch invokes DDB
     84 
     85 ## You may also use gdb, on another computer connected to this machine over
     86 ## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
     87 ## a dev_t encoded device number of the serial port to use.
     88 ## KGDB is not supported for now.
     89 #options 	KGDB		# support for kernel gdb
     90 #options 	KGDBDEV=0xc00	# kgdb device number
     91 #options 	KGDBRATE=9600	# baud rate
     92 
     93 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
     94 ## such that gdb(1) can be used on a kernel coredump.
     95 
     96 #makeoptions 	DEBUG="-g"
     97 
     98 ## Adds code to the kernel that does internal consistency checks, and will
     99 ## cause the kernel to panic if corruption of internal data structures
    100 ## is detected.
    101 #options 	DIAGNOSTIC	# extra kernel sanity checking
    102 
    103 ## Enable (possibly expensive) debugging code that may also display messages
    104 ## on the system console
    105 #options 	DEBUG
    106 
    107 ## Make SCSI error messages more verbose when explaining their meanings.
    108 #options 	SCSIVERBOSE
    109 
    110 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    111 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    112 ## and other insecurities good only for development work.  Do not use this
    113 ## option on a production machine.
    114 #options 	INSECURE
    115 
    116 ## Allow non-root users to grab /dev/console with programs such as xconsole.
    117 ## `xconsole' therefore does not need setuid root with this option enabled.
    118 #options 	UCONSOLE
    119 
    120 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    121 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    122 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    123 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    124 
    125 #options 	FDSCRIPTS
    126 #options 	SETUIDSCRIPTS
    127 
    128 ## Options for compatibility with previous releases foreign system binaries.
    129 
    130 options 	COMPAT_43	# 4.3BSD system interfaces
    131 #options 	COMPAT_09	# NetBSD 0.9 binary compatibility
    132 #options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    133 #options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    134 #options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    135 #options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    136 #options 	COMPAT_M68K4K	# NetBSD/m68k4k binaries
    137 #options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility; broken
    138 
    139 ## File systems.
    140 file-system	FFS		# Berkeley Fast Filesystem
    141 file-system	NFS		# Sun NFS-compatible filesystem client
    142 file-system	KERNFS		# kernel data-structure filesystem
    143 #file-system	NULLFS		# NULL layered filesystem
    144 file-system	MFS		# memory-based filesystem
    145 #file-system	FDESC		# user file descriptor filesystem
    146 #file-system	UMAPFS		# uid/gid remapping filesystem
    147 #file-system	LFS		# Log-based filesystem (still experimental)
    148 #file-system	PORTAL		# portal filesystem (still experimental)
    149 file-system	PROCFS		# /proc
    150 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    151 #file-system	UNION		# union file system
    152 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    153 #file-system 	ADOSFS		# AmigaDOS filesystem
    154 
    155 ## File system options.
    156 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
    157 #options 	QUOTA		# FFS quotas
    158 #options 	FFS_EI		# FFS Endian Independent support
    159 
    160 ## Network protocol support.  In most environments, INET is required.
    161 options 	INET		# IP (Internet Protocol) v4
    162 options 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
    163 #options 	GATEWAY		# packet forwarding ("router switch")
    164 #options 	MROUTING	# packet forwarding of multicast packets
    165 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    166 #options 	NS		# Xerox NS networking
    167 #options 	NSIP		# Xerox NS tunneling over IP
    168 #options 	ISO,TPIP	# OSI networking
    169 #options 	EON		# OSI tunneling over IP
    170 #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    171 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    172 #options 	NTP		# Network Time Protocol in-kernel support
    173 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    174 #options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    175 #options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    176 #options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    177 #options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    178 #options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    179 
    180 
    181 
    182 #### Device configurations
    183 
    184 ## Fundamental devices; see also std.x68k
    185 xel0	at intio0
    186 
    187 ## Display devices and console
    188 grfbus0	at mainbus0			# bitmapped displays
    189 grf0	at grfbus0			# multiplane graphics
    190 #grf1	at grfbus0			# flexible graphics
    191 
    192 kbd0	at mfp0				# standard keyboard
    193 ite0	at grf0				# internal terminal emulator
    194 #!pow0	at mfp0 flags 0			# power switch status; intr enabled
    195 #!pow1	at mfp0 flags 1			# power switch status; read only
    196 pseudo-device	pow		2	#! software power switch
    197 
    198 ## floppy disks
    199 #!fdc0	at intio0 addr 0xe92000 intr 96 dma 0
    200 fdc0	at mainbus0			#! floppy controller
    201 fd*	at fdc0 unit ?			# builtin floppy drives
    202 
    203 ## SCSI devices
    204 #!spc0	at intio0 addr 0xe96020 intr 108	# genuin SCSI
    205 #!spc1	at intio0 addr 0xea0000 intr 246	# genuin SCSI
    206 spc0	at mainbus0				#! builtin scsi
    207 spc1	at mainbus0				#! external scsi
    208 scsibus* at spc?
    209 #!mha0	at intio0 addr 0xea0000 intr 246	# Mankai MK-HA1 (Mach-2)
    210 mha0	at mainbus0				#! MK-HA1 mach-2 SCSI
    211 scsibus* at mha0
    212 
    213 sd*	at scsibus? target ? lun ?	# SCSI disks
    214 cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
    215 st*	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
    221 zsc0	at intio0 addr 0xe98000 intr 112
    222 zstty0	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 
    231 pseudo-device	sram			#! battery-backuped static RAM
    232 pseudo-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
    242 neptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
    243 neptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
    244 ne0	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 
    253 pseudo-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 
    267 pseudo-device	md	1
    268 
    269 ## Loopback network interface; required
    270 pseudo-device	loop
    271 
    272 ## SLIP and CSLIP interfaces, for IP over a serial line.
    273 pseudo-device	sl		1
    274 
    275 ## PPP, the successor to SLIP.  See pppd(8).
    276 pseudo-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 
    302 pseudo-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