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