INSTALL revision 1.73 1 # $NetBSD: INSTALL,v 1.73 1998/01/15 02:26:37 cgd Exp $
2 #
3 # INSTALL - Installation kernel.
4 #
5 # This kernel should be derived from GENERIC with some features
6 # commented out.
7 #
8 # This kernel does NOT support X, mice, audio devices, non-NetBSD
9 # emulation.
10 #
11
12 include "arch/i386/conf/std.i386"
13
14 # Enable the hooks used for initializing the root memory-disk.
15 options MEMORY_DISK_HOOKS
16 options MEMORY_DISK_IS_ROOT # force root on memory disk
17 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
18 options MINIROOTSIZE=3074 # size of memory disk, in blocks
19 #options MINIROOTSIZE=2880 # 1.44M, same as a floppy
20
21 maxusers 32 # estimated number of users
22
23 # CPU support. At least one is REQUIRED.
24 options I386_CPU
25 options I486_CPU
26 options I586_CPU
27 options I686_CPU
28
29 # CPU-related options.
30 options MATH_EMULATE # floating point emulation
31 #options VM86 # virtual 8086 emulation
32 #options USER_LDT # user-settable LDT; used by WINE
33 # eliminate delay no-ops in I/O; recommended on all but very old machines
34 #options DUMMY_NOPS
35
36 # Misc. i386-specific options
37 #options XSERVER # X server support in console drivers
38
39 # This option allows you to force a serial console at the specified
40 # I/O address.
41 #options "CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
42
43 # The following options override the memory sizes passed in from the boot
44 # block. Use them *only* if the boot block is unable to determine the correct
45 # values. Note that the BIOS may *correctly* report less than 640k of base
46 # memory if the extended BIOS data area is located at the top of base memory
47 # (as is the case on most recent systems).
48 #options REALBASEMEM=... # size of base memory
49 #options REALEXTMEM=... # size of extended memory
50
51 # Standard system options
52
53 #options UCONSOLE # users can use TIOCCONS (for xconsole)
54 options INSECURE # disable kernel security levels
55
56 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
57 #options NTP # NTP phase/frequency locked loop
58
59 #options KTRACE # system call tracing via ktrace(1)
60
61 #options SYSVMSG # System V-like message queues
62 #options SYSVSEM # System V-like semaphores
63 #options SYSVSHM # System V-like memory sharing
64 #options SHMMAXPGS=1024 # 1024 pages is the default
65
66 #options LKM # loadable kernel modules
67
68 # Diagnostic/debugging support options
69 #options DIAGNOSTIC # cheap kernel consistency checks
70 #options DEBUG # expensive debugging checks/support
71 #options KMEMSTATS # kernel memory statistics (vmstat -m)
72 #options DDB # in-kernel debugger
73 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
74 #options KGDB # remote debugger
75 #options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
76 #makeoptions DEBUG="-g" # compile full symbol table
77
78 # Compatibility options
79 #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
80 #options COMPAT_09 # NetBSD 0.9,
81 options COMPAT_10 # NetBSD 1.0,
82 options COMPAT_11 # NetBSD 1.1,
83 options COMPAT_12 # NetBSD 1.2,
84 options COMPAT_13 # NetBSD 1.3,
85 #options COMPAT_43 # and 4.3BSD
86
87 #options COMPAT_SVR4 # binary compatibility with SVR4
88 #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
89 #options COMPAT_LINUX # binary compatibility with Linux
90 #options COMPAT_FREEBSD # binary compatibility with FreeBSD
91
92 # Executable format options
93 #options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
94
95 # File systems
96 file-system FFS # UFS
97 file-system EXT2FS # second extended file system (linux)
98 #file-system LFS # log-structured file system
99 file-system MFS # memory file system
100 file-system NFS # Network File System client
101 file-system CD9660 # ISO 9660 + Rock Ridge file system
102 file-system MSDOSFS # MS-DOS file system
103 #file-system FDESC # /dev/fd
104 file-system KERNFS # /kern
105 #file-system NULLFS # loopback file system
106 #file-system PORTAL # portal filesystem (still experimental)
107 #file-system PROCFS # /proc
108 #file-system UMAPFS # NULLFS + uid and gid remapping
109 #file-system UNION # union file system
110
111 # File system options
112 #options QUOTA # UFS quotas
113 #options NFSSERVER # Network File System server
114 options FIFO # FIFOs; RECOMMENDED
115 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
116 # immutable) behave as system flags.
117
118 # Networking options
119 #options GATEWAY # packet forwarding
120 options INET # IP + ICMP + TCP + UDP
121 #options MROUTING # IP multicast routing
122 #options NS # XNS
123 #options NSIP # XNS tunneling over IP
124 #options ISO,TPIP # OSI
125 #options EON # OSI tunneling over IP
126 #options CCITT,LLC,HDLC # X.25
127 #options NETATALK # AppleTalk networking protocols
128 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
129 #options PPP_DEFLATE # Deflate compression support for PPP
130 #options PPP_FILTER # Active filter support for PPP (requires bpf)
131 #options PFIL_HOOKS # pfil(9) packet filter hooks
132
133 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
134 #options TCP_COMPAT_42
135
136 # These options enable verbose messages for several subsystems.
137 # Warning, these may compile large string tables into the kernel!
138 #options EISAVERBOSE # verbose EISA device autoconfig messages
139 #options PCIVERBOSE # verbose PCI device autoconfig messages
140 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
141 #options SCSIVERBOSE # human readable SCSI error messages
142
143 # Kernel root file system and dump configuration.
144 config netbsd root on ? type ?
145 #config netbsd root on sd0a type ffs
146 #config netbsd root on ? type nfs
147
148 #
149 # Device configuration
150 #
151
152 mainbus0 at root
153
154 #apm0 at mainbus0 # Advanced power management
155
156
157 # Basic Bus Support
158
159 # PCI bus support
160 pci* at mainbus? bus ?
161 pci* at pchb? bus ?
162 pci* at ppb? bus ?
163
164 # PCI bridges
165 pchb* at pci? dev ? function ? # PCI-Host bridges
166 pcib* at pci? dev ? function ? # PCI-ISA bridges
167 ppb* at pci? dev ? function ? # PCI-PCI bridges
168
169 # EISA bus support
170 eisa* at mainbus?
171
172 # ISA bus support
173 isa* at mainbus?
174 isa* at pcib?
175
176 # PCMCIA bus support
177 pcmcia* at pcic? controller ? socket ?
178
179 # ISA PCMCIA controllers
180 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
181 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
182
183 # ISA Plug-and-Play bus support
184 isapnp0 at isa?
185
186
187 # Coprocessor Support
188
189 # Math Coprocessor support
190 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
191
192
193 # Console Devices
194
195 # ISA console. You can only configure one of these!
196 pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
197 #vt0 at isa? port 0x60 irq 1 # PCVT console driver
198
199
200 # Serial Devices
201
202 # PCI serial interfaces
203 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
204
205 # ISA Plug-and-Play serial interfaces
206 com* at isapnp? # Modems and serial boards
207
208 # PCMCIA serial interfaces
209 com* at pcmcia? function ? # Modems and serial cards
210
211 # ISA serial interfaces
212 #options COM_HAYESP # adds Hayes ESP serial board support
213 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
214 com1 at isa? port 0x2f8 irq 3
215 com2 at isa? port 0x3e8 irq 5
216 #com3 at isa? port 0x2e8 irq 9
217 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
218 #com* at ast? slave ?
219 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
220 #com* at boca? slave ?
221 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
222 #com* at rtfps? slave ?
223 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
224
225
226 # Parallel Printer Interfaces
227
228 # ISA parallel printer interfaces
229 #lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
230 #lpt1 at isa? port 0x278
231 #lpt2 at isa? port 0x3bc
232
233
234 # SCSI Controllers and Devices
235
236 # PCI SCSI controllers
237 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
238 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
239 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
240 ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
241
242 # EISA SCSI controllers
243 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
244 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
245 bha* at eisa? slot ? # BusLogic 7xx SCSI
246 uha* at eisa? slot ? # UltraStor 24f SCSI
247
248 # PCMCIA SCSI controllers
249 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
250
251 # ISA SCSI controllers
252 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
253 aha1 at isa? port 0x334 irq ? drq ?
254 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
255 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
256 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
257 bha1 at isa? port 0x334 irq ? drq ?
258 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
259 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
260 uha1 at isa? port 0x340 irq ? drq ?
261 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
262 wds1 at isa? port 0x358 irq 11 drq 5
263
264 # SCSI bus support
265 scsibus* at aha?
266 scsibus* at ahb?
267 scsibus* at ahc?
268 scsibus* at aic?
269 scsibus* at bha?
270 scsibus* at isp?
271 scsibus* at ncr?
272 scsibus* at sea?
273 scsibus* at uha?
274 scsibus* at wds?
275
276 # SCSI devices
277 sd* at scsibus? target ? lun ? # SCSI disk drives
278 st* at scsibus? target ? lun ? # SCSI tape drives
279 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
280 #ch* at scsibus? target ? lun ? # SCSI autochangers
281 #ss* at scsibus? target ? lun ? # SCSI scanners
282 #uk* at scsibus? target ? lun ? # SCSI unknown
283
284
285 # IDE and Related Devices
286
287 # ISA IDE controllers
288 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
289 wdc1 at isa? port 0x170 irq 15
290
291 # IDE drives
292 wd* at wdc? drive ? # the drives themselves
293
294 # ATAPI bus support
295 atapibus* at wdc?
296
297 # ATAPI devices
298 cd* at atapibus? drive ? # ATAPI CD-ROM drives
299 sd* at atapibus? drive ? # ATAPI disk drives
300
301
302 # Miscellaneous mass storage devices
303
304 # ISA floppy
305 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
306 #fdc1 at isa? port 0x370 irq ? drq ?
307 fd* at fdc? drive ? # the drives themselves
308 # some machines need you to do this instead of fd*
309 #fd0 at fdc0 drive 0
310
311 # ISA CD-ROM devices
312 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
313
314 # ISA tape devices
315 # note: the wt driver conflicts unpleasantly with ed devices at the
316 # same I/O address. The probe reprograms their EEPROMs. Don't
317 # uncomment it unless you are actually using it.
318 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
319
320
321 # Network Interfaces
322
323 # PCI network interfaces
324 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
325 en* at pci? dev ? function ? # ENI/Adaptec ATM
326 ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
327 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
328 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
329 le* at pci? dev ? function ? # PCnet-PCI Ethernet
330 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
331 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
332
333 # EISA network interfaces
334 ep* at eisa? slot ? # 3Com 3c579 Ethernet
335 fea* at eisa? slot ? # DEC DEFEA FDDI
336
337 # ISA Plug-and-Play network interfaces
338 ep* at isapnp? # 3Com 3c509 Ethernet
339 ne* at isapnp? # NE2000-compatible Ethernet
340
341 # PCMCIA network interfaces
342 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
343 ne* at pcmcia? function ? # NE2000-compatible Ethernet
344 sm* at pcmcia? function ? # Megahertz Ethernet
345
346 # ISA network interfaces
347 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
348 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
349 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
350 ep0 at isa? port ? irq ? # 3C509 ethernet cards
351 fe0 at isa? port 0x2a0 irq ? # AT1700
352 ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
353 ie1 at isa? port 0x300 irq 10 # EtherExpress
354 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
355 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
356 #le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
357 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
358 ne1 at isa? port 0x300 irq 10
359 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
360 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
361 we1 at isa? port 0x300 iomem 0xcc000 irq 10
362
363 # MII bus support
364 mii* at tl?
365
366 # MII PHY network interfaces
367 tlphy* at mii? dev ? # ThunderLAN PHYs
368 nsphy* at mii? dev ? # NS and compatible PHYs
369
370
371 # Audio Devices
372
373 # ISA Plug-and-Play audio devices
374 #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
375 #sb* at isapnp? # SoundBlaster-compatible audio
376
377 # ISA audio devices
378 #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
379 #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
380 #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
381 #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
382 #sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
383 #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
384
385 # Audio support
386 #audio* at gus?
387 #audio* at guspnp?
388 #audio* at pas?
389 #audio* at sb?
390 #audio* at sp?
391 #audio* at wss?
392
393 # The spkr driver provides a simple tone interface to the built in speaker.
394 #spkr0 at pckbd? port 0x61 # PC speaker
395
396
397 # Mice
398
399 # ISA busmice
400 #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
401 #lms1 at isa? port 0x238 irq 5
402 #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
403 #mms1 at isa? port 0x238 irq 5
404 #pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
405
406
407 # Joysticks
408
409 # ISA Plug-and-Play joysticks
410 #joy* at isapnp? # Game ports (usually on audio cards)
411
412 # ISA joysticks. Probe is a little strange; add only if you have one.
413 #joy0 at isa? port 0x201
414
415
416 # Miscellaneous Devices
417
418 # Planetconnect Satellite receiver driver.
419 #satlink0 at isa? port 0x300 drq 1
420
421
422 # Pull in optional local configuration
423 include "arch/i386/conf/GENERIC.local"
424
425
426 # Pseudo-Devices
427
428 # disk/mass storage pseudo-devices
429 #pseudo-device ccd 4 # concatenated/striped disk devices
430 pseudo-device md 1 # memory disk device (ramdisk)
431 #pseudo-device vnd 4 # disk-like interface to files
432
433 # network pseudo-devices
434 #pseudo-device bpfilter 8 # Berkeley packet filter
435 #pseudo-device ipfilter # IP filter (firewall) and NAT
436 pseudo-device loop # network loopback
437 pseudo-device ppp 2 # Point-to-Point Protocol
438 pseudo-device sl 2 # Serial Line IP
439 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
440 #pseudo-device tun 2 # network tunneling over tty
441
442 # miscellaneous pseudo-devices
443 pseudo-device pty 64 # pseudo-terminals
444 #pseudo-device tb 1 # tablet line discipline
445
446 # rnd is EXPERIMENTAL at this point.
447 #pseudo-device rnd # /dev/random and in-kernel generator
448 #options RND_COM # use "com" randomness as well (BROKEN)
449