INSTALL revision 1.105 1 # $NetBSD: INSTALL,v 1.105 1999/01/06 23:30:53 thorpej 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=3174 # 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 # Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
52 options PCIC_ISA_INTR_ALLOC_MASK=0xff5f
53
54 # Standard system options
55
56 #options UCONSOLE # users can use TIOCCONS (for xconsole)
57 options INSECURE # disable kernel security levels
58
59 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
60 #options NTP # NTP phase/frequency locked loop
61
62 #options KTRACE # system call tracing via ktrace(1)
63
64 #options SYSVMSG # System V-like message queues
65 #options SYSVSEM # System V-like semaphores
66 #options SYSVSHM # System V-like memory sharing
67 #options SHMMAXPGS=1024 # 1024 pages is the default
68
69 #options LKM # loadable kernel modules
70
71 options MSGBUFSIZE="(128 * 1024)"
72
73 # Diagnostic/debugging support options
74 #options DIAGNOSTIC # cheap kernel consistency checks
75 #options DEBUG # expensive debugging checks/support
76 #options KMEMSTATS # kernel memory statistics (vmstat -m)
77 #options DDB # in-kernel debugger
78 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
79 #options KGDB # remote debugger
80 #options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
81 #makeoptions DEBUG="-g" # compile full symbol table
82
83 # Compatibility options
84 #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
85 #options COMPAT_09 # NetBSD 0.9,
86 options COMPAT_10 # NetBSD 1.0,
87 options COMPAT_11 # NetBSD 1.1,
88 options COMPAT_12 # NetBSD 1.2,
89 options COMPAT_13 # NetBSD 1.3,
90 #options COMPAT_43 # and 4.3BSD
91 options COMPAT_386BSD_MBRPART # recognize old partition ID
92
93 #options COMPAT_SVR4 # binary compatibility with SVR4
94 #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
95 #options COMPAT_LINUX # binary compatibility with Linux
96 #options COMPAT_FREEBSD # binary compatibility with FreeBSD
97
98 # Executable format options
99 #options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
100
101 # File systems
102 file-system FFS # UFS
103 file-system EXT2FS # second extended file system (linux)
104 #file-system LFS # log-structured file system
105 file-system MFS # memory file system
106 file-system NFS # Network File System client
107 file-system CD9660 # ISO 9660 + Rock Ridge file system
108 file-system MSDOSFS # MS-DOS file system
109 #file-system FDESC # /dev/fd
110 file-system KERNFS # /kern
111 #file-system NULLFS # loopback file system
112 #file-system PORTAL # portal filesystem (still experimental)
113 #file-system PROCFS # /proc
114 #file-system UMAPFS # NULLFS + uid and gid remapping
115 #file-system UNION # union file system
116
117 # File system options
118 #options QUOTA # UFS quotas
119 #options NFSSERVER # Network File System server
120 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
121 # immutable) behave as system flags.
122
123 # Networking options
124 #options GATEWAY # packet forwarding
125 options INET # IP + ICMP + TCP + UDP
126 #options MROUTING # IP multicast routing
127 #options NS # XNS
128 #options NSIP # XNS tunneling over IP
129 #options ISO,TPIP # OSI
130 #options EON # OSI tunneling over IP
131 #options CCITT,LLC,HDLC # X.25
132 #options NETATALK # AppleTalk networking protocols
133 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
134 #options PPP_DEFLATE # Deflate compression support for PPP
135 #options PPP_FILTER # Active filter support for PPP (requires bpf)
136 #options PFIL_HOOKS # pfil(9) packet filter hooks
137
138 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
139 #options TCP_COMPAT_42
140
141 # These options enable verbose messages for several subsystems.
142 # Warning, these may compile large string tables into the kernel!
143 #options EISAVERBOSE # verbose EISA device autoconfig messages
144 #options PCIVERBOSE # verbose PCI device autoconfig messages
145 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
146 #options SCSIVERBOSE # human readable SCSI error messages
147
148 # Kernel root file system and dump configuration.
149 config netbsd root on ? type ?
150 #config netbsd root on sd0a type ffs
151 #config netbsd root on ? type nfs
152
153 #
154 # Device configuration
155 #
156
157 mainbus0 at root
158
159 #apm0 at mainbus0 # Advanced power management
160
161
162 # Basic Bus Support
163
164 # PCI bus support
165 pci* at mainbus? bus ?
166 pci* at pchb? bus ?
167 pci* at ppb? bus ?
168
169 # PCI bridges
170 pchb* at pci? dev ? function ? # PCI-Host bridges
171 pceb* at pci? dev ? function ? # PCI-EISA bridges
172 pcib* at pci? dev ? function ? # PCI-ISA bridges
173 ppb* at pci? dev ? function ? # PCI-PCI bridges
174 # XXX 'puc's aren't really bridges, but there's no better place for them here
175 puc* at pci? dev ? function ? # PCI "universal" comm. cards
176
177 # EISA bus support
178 eisa* at mainbus?
179 eisa* at pceb?
180
181 # ISA bus support
182 isa* at mainbus?
183 isa* at pceb?
184 isa* at pcib?
185
186 # PCMCIA bus support
187 pcmcia* at pcic? controller ? socket ?
188
189 # ISA PCMCIA controllers
190 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
191 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
192
193 # ISA Plug-and-Play bus support
194 isapnp0 at isa?
195
196
197 # Coprocessor Support
198
199 # Math Coprocessor support
200 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
201
202
203 # Console Devices
204
205 # ISA console. You can only configure one of these!
206 pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
207 #vt0 at isa? port 0x60 irq 1 # PCVT console driver
208
209 # Keyboard layout configuration for pccons
210 #options FRENCH_KBD
211 #options FINNISH_KBD
212 #options GERMAN_KBD
213 #options NORWEGIAN_KBD
214
215 #pcppi0 at isa?
216 #sysbeep0 at pcppi?
217
218 # Serial Devices
219
220 # PCI serial interfaces
221 com* at puc? port ? # 16x450s on "universal" comm boards
222 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
223
224 # ISA Plug-and-Play serial interfaces
225 com* at isapnp? # Modems and serial boards
226
227 # PCMCIA serial interfaces
228 com* at pcmcia? function ? # Modems and serial cards
229
230 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
231 com* at pcmcom? slave ? # ...and the slave devices
232
233 # ISA serial interfaces
234 #options COM_HAYESP # adds Hayes ESP serial board support
235 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
236 com1 at isa? port 0x2f8 irq 3
237 com2 at isa? port 0x3e8 irq 5
238 #com3 at isa? port 0x2e8 irq 9
239 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
240 #com* at ast? slave ?
241 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
242 #com* at boca? slave ?
243 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
244 #com* at rtfps? slave ?
245 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
246
247
248 # Parallel Printer Interfaces
249
250 # PCI parallel printer interfaces
251 #lpt* at puc? port ? # || ports on "universal" comm boards
252
253 # ISA parallel printer interfaces
254 #lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
255 #lpt1 at isa? port 0x278
256 #lpt2 at isa? port 0x3bc
257
258
259 # SCSI Controllers and Devices
260
261 # PCI SCSI controllers
262 adv* at pci? dev ? function ? # AdvanSys 1200A[B], 9xx[U,UA] SCSI
263 adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
264 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
265 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
266 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
267 ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
268 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
269
270 # EISA SCSI controllers
271 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
272 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
273 bha* at eisa? slot ? # BusLogic 7xx SCSI
274 uha* at eisa? slot ? # UltraStor 24f SCSI
275
276 # PCMCIA SCSI controllers
277 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
278
279 # ISA Plug-and-Play SCSI controllers
280 aic* at isapnp? # Adaptec AHA-1520B
281
282 # ISA SCSI controllers
283 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
284 aha1 at isa? port 0x334 irq ? drq ?
285 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
286 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
287 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
288 bha1 at isa? port 0x334 irq ? drq ?
289 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
290 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
291 uha1 at isa? port 0x340 irq ? drq ?
292 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
293 wds1 at isa? port 0x358 irq 11 drq 5
294
295 # SCSI bus support
296 scsibus* at adv?
297 scsibus* at adw?
298 scsibus* at aha?
299 scsibus* at ahb?
300 scsibus* at ahc?
301 scsibus* at aic?
302 scsibus* at bha?
303 scsibus* at isp?
304 scsibus* at ncr?
305 scsibus* at pcscp?
306 scsibus* at sea?
307 scsibus* at uha?
308 scsibus* at wds?
309
310 # SCSI devices
311 sd* at scsibus? target ? lun ? # SCSI disk drives
312 st* at scsibus? target ? lun ? # SCSI tape drives
313 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
314 #ch* at scsibus? target ? lun ? # SCSI autochangers
315 #ss* at scsibus? target ? lun ? # SCSI scanners
316 #uk* at scsibus? target ? lun ? # SCSI unknown
317
318
319 # IDE and Related Devices
320 # PCI IDE controllers (CMD tech's PCI0640, Intel's PIIx).
321 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
322 # how to set up DMA modes for this chip. This may work, or may cause
323 # a machine hang with some controllers.
324 pciide* at pci ? dev ? function ? flags 0x0000
325
326 # ISA Plug-and-Play IDE controllers
327 wdc* at isapnp?
328
329 # PCMCIA IDE controllers
330 wdc* at pcmcia? function ?
331
332 # ISA ST506, ESDI, and IDE controllers
333 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
334 wdc1 at isa? port 0x170 irq 15
335
336 # IDE drives
337 wd* at pciide? channel ? drive ?
338 wd* at wdc? channel ? drive ?
339
340 # ATAPI bus support
341 atapibus* at pciide? channel ?
342 atapibus* at wdc? channel ?
343
344 # ATAPI devices
345 cd* at atapibus? drive ? # ATAPI CD-ROM drives
346 sd* at atapibus? drive ? # ATAPI disk drives
347
348
349 # Miscellaneous mass storage devices
350
351 # ISA floppy
352 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
353 #fdc1 at isa? port 0x370 irq ? drq ?
354 fd* at fdc? drive ? # the drives themselves
355 # some machines need you to do this instead of fd*
356 #fd0 at fdc0 drive 0
357
358 # ISA CD-ROM devices
359 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
360
361 # ISA tape devices
362 # note: the wt driver conflicts unpleasantly with ed devices at the
363 # same I/O address. The probe reprograms their EEPROMs. Don't
364 # uncomment it unless you are actually using it.
365 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
366
367
368 # Network Interfaces
369
370 # PCI network interfaces
371 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
372 en* at pci? dev ? function ? # ENI/Adaptec ATM
373 ep* at pci? dev ? function ? # 3Com 3c59x
374 ex* at pci? dev ? function ? # 3Com 90x[B]
375 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
376 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
377 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
378 le* at pci? dev ? function ? # PCnet-PCI Ethernet
379 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
380 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
381
382 # EISA network interfaces
383 ep* at eisa? slot ? # 3Com 3c579 Ethernet
384 fea* at eisa? slot ? # DEC DEFEA FDDI
385
386 # ISA Plug-and-Play network interfaces
387 ep* at isapnp? # 3Com 3c509 Ethernet
388 ne* at isapnp? # NE2000-compatible Ethernet
389
390 # PCMCIA network interfaces
391 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
392 mbe* at pcmcia? function ? # MB8696x based Ethernet
393 ne* at pcmcia? function ? # NE2000-compatible Ethernet
394 sm* at pcmcia? function ? # Megahertz Ethernet
395
396 # ISA network interfaces
397 ate0 at isa? port 0x2a0 irq ? # AT1700
398 cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
399 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
400 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
401 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
402 ep0 at isa? port ? irq ? # 3C509 ethernet cards
403 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
404 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
405 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
406 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
407 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
408 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
409 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
410 #le* at depca?
411 #nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
412 #le* at nele?
413 #bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
414 #le* at bicc?
415 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
416 ne1 at isa? port 0x300 irq 10
417 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
418 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
419 we1 at isa? port 0x300 iomem 0xcc000 irq 10
420
421 # MII/PHY support
422 exphy* at mii? phy ? # 3Com internal PHYs
423 nsphy* at mii? phy ? # NS83840 PHYs
424 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
425 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
426 inphy* at mii? phy ? # Intel 82555 PHYs
427 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
428 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
429 tlphy* at mii? phy ? # ThunderLAN PHYs
430 ukphy* at mii? phy ? # generic unknown PHYs
431
432 # Audio Devices
433
434 # ISA Plug-and-Play audio devices
435 #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
436 #sb* at isapnp? # SoundBlaster-compatible audio
437
438 # ISA audio devices
439 #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
440 #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
441 #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
442 #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
443 #sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
444 #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
445
446 # Audio support
447 #audio* at gus?
448 #audio* at guspnp?
449 #audio* at pas?
450 #audio* at sb?
451 #audio* at sp?
452 #audio* at wss?
453
454 # The spkr driver provides a simple tone interface to the built in speaker.
455 #spkr0 at pcppi? # PC speaker
456
457
458 # Mice
459
460 # ISA busmice
461 #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
462 #lms1 at isa? port 0x238 irq 5
463 #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
464 #mms1 at isa? port 0x238 irq 5
465 #pms0 at pc? irq 12 # PS/2 auxiliary port mouse
466
467
468 # Joysticks
469
470 # ISA Plug-and-Play joysticks
471 #joy* at isapnp? # Game ports (usually on audio cards)
472
473 # ISA joysticks. Probe is a little strange; add only if you have one.
474 #joy0 at isa? port 0x201
475
476
477 # Miscellaneous Devices
478
479 # Planetconnect Satellite receiver driver.
480 #satlink0 at isa? port 0x300 drq 1
481
482
483 # Pull in optional local configuration
484 include "arch/i386/conf/GENERIC.local"
485
486
487 # Pseudo-Devices
488
489 # disk/mass storage pseudo-devices
490 #pseudo-device ccd 4 # concatenated/striped disk devices
491 pseudo-device md 1 # memory disk device (ramdisk)
492 #pseudo-device vnd 4 # disk-like interface to files
493
494 # network pseudo-devices
495 #pseudo-device bpfilter 8 # Berkeley packet filter
496 #pseudo-device ipfilter # IP filter (firewall) and NAT
497 pseudo-device loop # network loopback
498 pseudo-device ppp 2 # Point-to-Point Protocol
499 pseudo-device sl 2 # Serial Line IP
500 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
501 #pseudo-device tun 2 # network tunneling over tty
502
503 # miscellaneous pseudo-devices
504 pseudo-device pty 64 # pseudo-terminals
505 #pseudo-device tb 1 # tablet line discipline
506
507 # rnd is EXPERIMENTAL at this point.
508 #pseudo-device rnd # /dev/random and in-kernel generator
509 #options RND_COM # use "com" randomness as well (BROKEN)
510