Home | History | Annotate | Line # | Download | only in conf
INSTALL revision 1.10
      1 #	$NetBSD: INSTALL,v 1.10 1999/03/17 12:31:26 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 	EXTENDED_MEMORY		# support for >16MB memory
     32 options 	FPU_EMULATE		# software fpu emulation for MC68030
     33 options 	FPSP			# floating point emulation for MC68040
     34 options 	M060SP			# int/fp emulation for MC68060
     35 options 	JUPITER			# support for "Jupiter-X" accelerator
     36 options 	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 
     47 config		netbsd	root on ? type ?
     48 #config		netbsd	root on sd0 type ffs
     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 #options 	COMPAT_LINUX	# Linux/m68k binary compatibility
    139 #options 	EXEC_ELF32	# 32-bit ELF executables (Linux)
    140 
    141 ## File systems.
    142 file-system	FFS		# Berkeley Fast Filesystem
    143 file-system	NFS		# Sun NFS-compatible filesystem client
    144 file-system	KERNFS		# kernel data-structure filesystem
    145 #file-system	NULLFS		# NULL layered filesystem
    146 file-system	MFS		# memory-based filesystem
    147 #file-system	FDESC		# user file descriptor filesystem
    148 #file-system	UMAPFS		# uid/gid remapping filesystem
    149 #file-system	LFS		# Log-based filesystem (still experimental)
    150 #file-system	PORTAL		# portal filesystem (still experimental)
    151 file-system	PROCFS		# /proc
    152 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    153 #file-system	UNION		# union file system
    154 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    155 #file-system 	ADOSFS		# AmigaDOS filesystem
    156 
    157 ## File system options.
    158 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
    159 #options 	QUOTA		# FFS quotas
    160 #options 	FFS_EI		# FFS Endian Independent support
    161 
    162 ## Network protocol support.  In most environments, INET is required.
    163 options 	INET		# IP (Internet Protocol) v4
    164 options 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
    165 #options 	GATEWAY		# packet forwarding ("router switch")
    166 #options 	MROUTING	# packet forwarding of multicast packets
    167 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    168 #options 	NS		# Xerox NS networking
    169 #options 	NSIP		# Xerox NS tunneling over IP
    170 #options 	ISO,TPIP	# OSI networking
    171 #options 	EON		# OSI tunneling over IP
    172 #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    173 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    174 #options 	NTP		# Network Time Protocol in-kernel support
    175 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    176 #options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    177 #options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    178 #options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    179 #options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    180 #options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    181 
    182 
    183 
    184 #### Device configurations
    185 
    186 ## Fundamental devices; see also std.x68k
    187 dmac0	at intio0 addr 0xe84000		# DMA controler
    188 xel0	at intio0
    189 opm0	at intio0 addr 0xe90000		# OPM: required for fdc
    190 
    191 ## Display devices and console
    192 grfbus0	at mainbus0			# bitmapped displays
    193 grf0	at grfbus0			# multiplane graphics
    194 #grf1	at grfbus0			# flexible graphics
    195 
    196 kbd0	at mfp0				# standard keyboard
    197 ite0	at grf0				# internal terminal emulator
    198 #options 	ITE_KERNEL_ATTR=4	# bold for kernel messages
    199 					# see /sys/arch/x68k/dev/itevar.h
    200 pseudo-device	pow		2	# software power switch
    201 
    202 ## floppy disks
    203 fdc0	at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
    204 fd*	at fdc0 unit ?			# builtin floppy drives
    205 
    206 ## SCSI devices
    207 scsirom0 at intio0				# SCSI BIOS
    208 scsirom1 at intio0				# SCSI BIOS
    209 spc*	at scsirom?				# genuin SCSI
    210 scsibus* at spc?
    211 mha0	at scsirom?				# Mankai MK-HA1 (Mach-2)
    212 scsibus* at mha0
    213 
    214 sd*	at scsibus? target ? lun ?	# SCSI disks
    215 cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
    216 st*	at scsibus? target ? lun ?	# SCSI tapes
    217 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    218 #ch*	at scsibus? target ? lun ?	# SCSI changer devices
    219 #uk*	at scsibus? target ? lun ?	# SCSI unknown devices
    220 
    221 ## Serial ports
    222 zsc0	at intio0 addr 0xe98000 intr 112
    223 zstty0	at zsc0 channel 0		# built-in RS-232C
    224 #ms0	at zsc0 channel 1		# standard mouse
    225 #zsc1	at intio0 addr 0xeafc00 intr 113
    226 #zstty2	at zsc1 channel 0
    227 #zstty3	at zsc1 channel 1
    228 #zsc2	at intio0 addr 0xeafc10 intr 114
    229 #zstty4	at zsc2 channel 0
    230 #zstty5	at zsc2 channel 1
    231 
    232 pseudo-device	sram			# battery-backuped static RAM
    233 pseudo-device	bell			# OPM bell
    234 
    235 #xcom0	at mainbus0			# NS16550 fast serial
    236 #xcom1	at mainbus0
    237 
    238 ## Audio device; broken
    239 #okiadpcm0 at intio0 addr 0xe92000 intr 106 errintr 107 dma 3
    240 #audio*	at okiadpcm*
    241 
    242 ## Network interfaces
    243 neptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
    244 neptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
    245 ne0	at neptune? addr 0x300			# NE2000 or clone
    246 #se0	at scsibus? target ? lun ?		# Ether+; broken
    247 
    248 
    249 #### Pseudo devices
    250 
    251 ## A disk-like interface to files.  Can be used to create floppy, CD,
    252 ## miniroot images, etc.
    253 
    254 pseudo-device	vnd	4
    255 
    256 ## Concatenated and striped disks; with this, you can create a software-based
    257 ## disk array similar to a "RAID 0" setup.  See ccd(4).
    258 
    259 #pseudo-device	ccd	4
    260 
    261 ## RAIDframe disk driver: software RAID driver.  See raid(4).
    262 
    263 #pseudo-device	raid	4
    264 
    265 ## Memory disk device, used on boot floppies with compressed
    266 ## kernel-plus-root-disk images.
    267 
    268 pseudo-device	md	1
    269 
    270 ## Loopback network interface; required
    271 pseudo-device	loop
    272 
    273 ## SLIP and CSLIP interfaces, for IP over a serial line.
    274 pseudo-device	sl		1
    275 
    276 ## PPP, the successor to SLIP.  See pppd(8).
    277 pseudo-device	ppp		1
    278 
    279 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    280 ## This is used by the third-party user-mode "ppp" program, and others.
    281 #pseudo-device	tun		4
    282 
    283 ## Generic L3 over IP tunnel
    284 #pseudo-device	gre		2	# generic L3 over IP tunnel
    285 
    286 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    287 ## interface that allows selective examining of incoming packets.
    288 #pseudo-device	bpfilter	8
    289 
    290 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    291 ## one example of the use of the IP Filter.
    292 #pseudo-device	ipfilter
    293 
    294 
    295 #### Other device configuration
    296 
    297 ## Pseudo ttys, required for network logins and programs like screen.
    298 ## 32 is a good number for average systems; you may have as many as you
    299 ## like, though 256 is more or less the upper limit.  Increasing this
    300 ## number still requires you to run /dev/MAKEDEV to create the files
    301 ## for the ptys.
    302 
    303 pseudo-device	pty		8	# pseudo-ttys (for network, etc.)
    304 
    305 ## Random device, used to implement /dev/random (a source of random noise),
    306 ## and generate randomness for some kernel formulae.
    307 ## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
    308 
    309 #pseudo-device	rnd
    310