INSTALL revision 1.7 1 # $NetBSD: INSTALL,v 1.7 1998/09/07 14:11:08 minoura Exp $
2
3 #
4 # INSTALL -- installation kernel.
5 #
6
7 include "arch/x68k/conf/std.x68k"
8
9 maxusers 16
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 EIOMAPSIZE=0 # do not map PCI address space
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
185 mainbus0 at root # MANDATORY
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 ite0 at grf0 # internal terminal emulator
193 pseudo-device kbd # standard keyboard
194 #pseudo-device pow 2 # software power switch
195
196 ## floppy disks
197 fdc0 at mainbus0 # floppy controller
198 fd* at fdc0 unit ? # builtin floppy drives
199
200 ## SCSI devices
201 spc0 at mainbus0 # builtin scsi
202 spc1 at mainbus0 # external scsi
203 scsibus* at spc?
204 mha0 at mainbus0 # MK-HA1 mach-2 SCSI
205 scsibus* at mha0
206
207 sd* at scsibus? target ? lun ? # SCSI disks
208 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
209 st* at scsibus? target ? lun ? # SCSI tapes
210 #ss* at scsibus? target ? lun ? # SCSI scanners
211 #ch* at scsibus? target ? lun ? # SCSI changer devices
212 #uk* at scsibus? target ? lun ? # SCSI unknown devices
213
214 ## Serial ports
215 zsc0 at mainbus0
216 zstty0 at zsc0 channel 0 # built-in RS-232C
217 #ms0 at zsc0 channel 1 # standard mouse
218 #zsc1 at mainbus0
219 #zstty2 at zsc1 channel 0
220 #zstty3 at zsc1 channel 1
221 #zsc2 at mainbus0
222 #zstty4 at zsc2 channel 0
223 #zstty5 at zsc2 channel 1
224
225 #xcom0 at mainbus0 # NS16550 fast serial
226 #xcom1 at mainbus0
227
228 #pseudo-device sram # battery-backuped static RAM
229 #pseudo-device bell # OPM bell
230
231
232 ## Audio device; broken
233 #okiadpcm0 at mainbus0
234 #audio* at okiadpcm*
235
236 ## Network interfaces
237 ed0 at mainbus0 # Neptune-X
238 #se0 at scsibus? target ? lun ? # Ether+; not supported
239
240
241 #### Pseudo devices
242
243 ## A disk-like interface to files. Can be used to create floppy, CD,
244 ## miniroot images, etc.
245
246 pseudo-device vnd 4
247
248 ## Concatenated and striped disks; with this, you can create a software-based
249 ## disk array similar to a "RAID 0" setup. See ccd(4).
250
251 pseudo-device ccd 4
252
253 ## Memory disk device, used on boot floppies with compressed
254 ## kernel-plus-root-disk images.
255
256 pseudo-device md 1
257
258 ## Loopback network interface; required
259 pseudo-device loop
260
261 ## SLIP and CSLIP interfaces, for IP over a serial line.
262 pseudo-device sl 1
263
264 ## PPP, the successor to SLIP. See pppd(8).
265 pseudo-device ppp 1
266
267 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
268 ## This is used by the third-party user-mode "ppp" program, and others.
269 #pseudo-device tun 4
270
271 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
272 ## interface that allows selective examining of incoming packets.
273 #pseudo-device bpfilter 8
274
275 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
276 ## one example of the use of the IP Filter.
277 #pseudo-device ipfilter
278
279
280 #### Other device configuration
281
282 ## Pseudo ttys, required for network logins and programs like screen.
283 ## 32 is a good number for average systems; you may have as many as you
284 ## like, though 256 is more or less the upper limit. Increasing this
285 ## number still requires you to run /dev/MAKEDEV to create the files
286 ## for the ptys.
287
288 pseudo-device pty 8 # pseudo-ttys (for network, etc.)
289
290 ## Random device, used to implement /dev/random (a source of random noise),
291 ## and generate randomness for some kernel formulae.
292 ## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
293
294 #pseudo-device rnd
295