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