INSTALL revision 1.54
11.54Sthorpej# $NetBSD: INSTALL,v 1.54 1997/10/18 02:01:36 thorpej Exp $ 21.2Stls# 31.54Sthorpej# INSTALL - Installation kernel. 41.2Stls# 51.54Sthorpej# This kernel should be derived from GENERIC with some features 61.54Sthorpej# commented out. 71.54Sthorpej# 81.54Sthorpej# This kernel does NOT support X, mice, audio devices, non-NetBSD 91.37Sperry# emulation. 101.54Sthorpej# 111.2Stls 121.25Sfvdlinclude "arch/i386/conf/std.i386" 131.2Stls 141.54Sthorpej# Enable the hooks used for initializing the root memory-disk. 151.54Sthorpejoptions MEMORY_DISK_HOOKS 161.54Sthorpejoptions MEMORY_DISK_IS_ROOT # force root on memory disk 171.54Sthorpejoptions MEMORY_DISK_SERVER=0 # no userspace memory disk support 181.54Sthorpejoptions MINIROOTSIZE=3074 # size of memory disk, in blocks 191.54Sthorpej#options MINIROOTSIZE=2880 # 1.44M, same as a floppy 201.54Sthorpej 211.54Sthorpejmaxusers 32 # estimated number of users 221.54Sthorpej 231.54Sthorpej# CPU support. At least one is REQUIRED. 241.54Sthorpejoptions I386_CPU 251.39Smellonoptions I486_CPU 261.39Smellonoptions I586_CPU 271.54Sthorpejoptions I686_CPU 281.54Sthorpej 291.54Sthorpej# CPU-related options. 301.39Smellonoptions MATH_EMULATE # floating point emulation 311.50Smycroft#options VM86 # virtual 8086 emulation 321.50Smycroft#options USER_LDT # user-settable LDT; used by WINE 331.54Sthorpej#options DUMMY_NOPS # speed hack; recommended 341.54Sthorpej 351.54Sthorpej# Misc. i386-specific options 361.54Sthorpej#options XSERVER # X server support in console drivers 371.54Sthorpej 381.54Sthorpej# This option allows you to force a serial console at the specified 391.54Sthorpej# I/O address. 401.54Sthorpej#options "CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600 411.7Sthorpej 421.49Smycroft# The following options override the memory sizes passed in from the boot 431.49Smycroft# block. Use them *only* if the boot block is unable to determine the correct 441.49Smycroft# values. Note that the BIOS may *correctly* report less that 640k of base 451.49Smycroft# memory if the extended BIOS data area is located at the top of base memory 461.49Smycroft# (as is the case on most recent systems). 471.49Smycroft#options REALBASEMEM=... # size of base memory 481.49Smycroft#options REALEXTMEM=... # size of extended memory 491.2Stls 501.54Sthorpej# Standard system options 511.54Sthorpej 521.54Sthorpej#options UCONSOLE # users can use TIOCCONS (for xconsole) 531.54Sthorpejoptions INSECURE # disable kernel security levels 541.2Stls 551.39Smellonoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 561.39Smellon#options NTP # NTP phase/frequency locked loop 571.2Stls 581.47Smikel#options KTRACE # system call tracing via ktrace(1) 591.2Stls 601.39Smellon#options SYSVMSG # System V-like message queues 611.39Smellon#options SYSVSEM # System V-like semaphores 621.39Smellon#options SYSVSHM # System V-like memory sharing 631.39Smellon#options SHMMAXPGS=1024 # 1024 pages is the default 641.39Smellon 651.54Sthorpej#options LKM # loadable kernel modules 661.54Sthorpej 671.54Sthorpej# Diagnostic/debugging support options 681.54Sthorpej#options DIAGNOSTIC # cheap kernel consistency checks 691.54Sthorpej#options DEBUG # expensive debugging checks/support 701.54Sthorpej#options KMEMSTATS # kernel memory statistics (vmstat -m) 711.54Sthorpej#options DDB # in-kernel debugger 721.54Sthorpej#options KGDB # remote debugger 731.54Sthorpej#options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600 741.54Sthorpej#makeoptions DEBUG="-g" # compile full symbol table 751.54Sthorpej 761.54Sthorpej# Compatbility options 771.39Smellon#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 781.39Smellon#options COMPAT_09 # NetBSD 0.9, 791.39Smellonoptions COMPAT_10 # NetBSD 1.0, 801.39Smellonoptions COMPAT_11 # NetBSD 1.1, 811.39Smellonoptions COMPAT_12 # NetBSD 1.2, 821.39Smellon#options COMPAT_43 # and 4.3BSD 831.39Smellon 841.39Smellon#options COMPAT_SVR4 # binary compatibility with SVR4 851.39Smellon#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 861.39Smellon#options COMPAT_LINUX # binary compatibility with Linux 871.39Smellon#options COMPAT_FREEBSD # binary compatibility with FreeBSD 881.23Smycroft 891.54Sthorpej# Executable format options 901.39Smellon#options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux) 911.2Stls 921.54Sthorpej# File systems 931.32Sthorpejfile-system FFS # UFS 941.48Sperryfile-system EXT2FS # second extended file system (linux) 951.43Smikel#file-system LFS # log-structured file system 961.32Sthorpejfile-system MFS # memory file system 971.32Sthorpejfile-system NFS # Network File System client 981.32Sthorpejfile-system CD9660 # ISO 9660 + Rock Ridge file system 991.32Sthorpejfile-system MSDOSFS # MS-DOS file system 1001.32Sthorpejfile-system FDESC # /dev/fd 1011.32Sthorpejfile-system KERNFS # /kern 1021.43Smikel#file-system NULLFS # loopback file system 1031.43Smikel#file-system PORTAL # portal filesystem (still experimental) 1041.43Smikel#file-system PROCFS # /proc 1051.43Smikel#file-system UMAPFS # NULLFS + uid and gid remapping 1061.43Smikel#file-system UNION # union file system 1071.2Stls 1081.54Sthorpej# File system options 1091.39Smellon#options QUOTA # UFS quotas 1101.39Smellon#options NFSSERVER # Network File System server 1111.39Smellonoptions FIFO # FIFOs; RECOMMENDED 1121.37Sperry#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1131.37Sperry # immutable) behave as system flags. 1141.54Sthorpej# Networking options 1151.39Smellon#options GATEWAY # packet forwarding 1161.39Smellonoptions INET # IP + ICMP + TCP + UDP 1171.39Smellon#options MROUTING # IP multicast routing 1181.39Smellon#options NS # XNS 1191.39Smellon#options NSIP # XNS tunneling over IP 1201.39Smellon#options ISO,TPIP # OSI 1211.39Smellon#options EON # OSI tunneling over IP 1221.39Smellon#options CCITT,LLC,HDLC # X.25 1231.54Sthorpej#options NETATALK # AppleTalk networking protocols 1241.54Sthorpej#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1251.54Sthorpej#options PPP_DEFLATE # Deflate compression support for PPP 1261.54Sthorpej#options PPP_FILTER # Active filter support for PPP (requires bpf) 1271.43Smikel#options PFIL_HOOKS # pfil(9) packet filter hooks 1281.2Stls 1291.54Sthorpej# Compatibility with 4.2BSD implementation of TCP/IP. Not suggested. 1301.54Sthorpej#options TCP_COMPAT_42 1311.2Stls 1321.54Sthorpej# These options enable verbose messages for autoconfiguration of 1331.54Sthorpej# the corresponding bus. Warning, these may compile large string 1341.54Sthorpej# tables into the kernel! 1351.43Smikel#options EISAVERBOSE # verbose EISA device messages 1361.43Smikel#options PCIVERBOSE # verbose PCI device messages 1371.54Sthorpej#options SCSIVERBOSE # verbose SCSI error messages 1381.54Sthorpej#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1391.54Sthorpej 1401.54Sthorpej# Kernel root file system and dump configuration. 1411.54Sthorpejconfig netbsd root on ? type ? 1421.54Sthorpej#config netbsd root on sd0a type ffs 1431.54Sthorpej#config netbsd root on ? type nfs 1441.54Sthorpej 1451.54Sthorpej# 1461.54Sthorpej# Device configuration 1471.54Sthorpej# 1481.43Smikel 1491.6Scgdmainbus0 at root 1501.6Scgd 1511.54Sthorpej#apm0 at mainbus0 # Advanced power management 1521.2Stls 1531.54Sthorpej# PCI bus support 1541.54Sthorpejpci* at mainbus? bus ? 1551.54Sthorpejpci* at pchb? bus ? 1561.5Scgdpci* at ppb? bus ? 1571.54Sthorpej 1581.54Sthorpej# PCI devices 1591.54Sthorpejahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 1601.54Sthorpejbha* at pci? dev ? function ? # BusLogic 9xx SCSI 1611.54Sthorpejcy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 1621.54Sthorpejde* at pci? dev ? function ? # DEC 21x4x-based Ethernet 1631.54Sthorpejen* at pci? dev ? function ? # ENI/Adaptec ATM 1641.54Sthorpejep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 1651.54Sthorpejfpa* at pci? dev ? function ? # DEC DEFPA FDDI 1661.54Sthorpejfxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 1671.54Sthorpejisp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 1681.54Sthorpejle* at pci? dev ? function ? # PCnet-PCI Ethernet 1691.54Sthorpejncr* at pci? dev ? function ? # NCR 53c8xx SCSI 1701.54Sthorpejne* at pci? dev ? function ? # NE2000-compatible Ethernet 1711.27Sthorpejpchb* at pci? dev ? function ? # PCI-Host bridges 1721.27Sthorpejpcib* at pci? dev ? function ? # PCI-ISA bridges 1731.54Sthorpejppb* at pci? dev ? function ? # PCI-PCI bridges 1741.54Sthorpejtl* at pci? dev ? function ? # Thunderland-based Ethernet 1751.27Sthorpej 1761.54Sthorpej# EISA bus support 1771.54Sthorpejeisa* at mainbus? 1781.27Sthorpej 1791.54Sthorpej# EISA devices 1801.54Sthorpejahb* at eisa? slot ? # Adaptec 174[02] SCSI 1811.54Sthorpejahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 1821.54Sthorpejbha* at eisa? slot ? # BusLogic 7xx SCSI 1831.54Sthorpejep* at eisa? slot ? # 3Com 3c579 Ethernet 1841.54Sthorpejfea* at eisa? slot ? # DEC DEFEA FDDI 1851.54Sthorpejuha* at eisa? slot ? # UltraStor 24f SCSI 1861.54Sthorpej 1871.54Sthorpej# ISA bus support 1881.54Sthorpejisa* at mainbus? 1891.54Sthorpejisa* at pcib? 1901.54Sthorpej 1911.54Sthorpej# ISA devices 1921.54Sthorpej 1931.54Sthorpej# ISA floppy, IDE, CD-ROM, and tape devices 1941.54Sthorpejfdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 1951.54Sthorpej#fdc1 at isa? port 0x370 irq ? drq ? 1961.54Sthorpejfd* at fdc? drive ? # the drives themselves 1971.5Scgd 1981.54Sthorpejwdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 1991.54Sthorpejwdc1 at isa? port 0x170 irq 15 2001.54Sthorpejwd* at wdc? drive ? # the drives themsevles 2011.2Stls 2021.54Sthorpej#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 2031.2Stls 2041.54Sthorpej# note: the wt driver conflicts unpleasantly with ed devices at the 2051.54Sthorpej# same I/O address. The probe reprograms their eeproms. Don't 2061.54Sthorpej# uncomment it unless you are actually using it. 2071.54Sthorpej#wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives 2081.54Sthorpej 2091.54Sthorpej# ISA SCSI controllers 2101.54Sthorpejaha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 2111.54Sthorpejaha1 at isa? port 0x334 irq ? drq ? 2121.54Sthorpejahc0 at isa? port ? irq ? # Adaptec 284x SCSI 2131.54Sthorpejaic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 2141.54Sthorpejbha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI 2151.54Sthorpejbha1 at isa? port 0x334 irq ? drq ? 2161.54Sthorpejsea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 2171.54Sthorpejuha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 2181.54Sthorpejuha1 at isa? port 0x334 irq ? drq ? 2191.54Sthorpejwds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 2201.54Sthorpejwds1 at isa? port 0x358 irq 11 drq 5 2211.54Sthorpej 2221.54Sthorpej# ISA serial interfaces 2231.46Smikel#options COM_HAYESP # adds Hayes ESP serial board support 2241.2Stlscom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 2251.2Stlscom1 at isa? port 0x2f8 irq 3 2261.2Stlscom2 at isa? port 0x3e8 irq 5 2271.2Stls#com3 at isa? port 0x2e8 irq 9 2281.2Stls#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 2291.8Scgd#com* at ast? slave ? 2301.2Stls#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 2311.2Stls#com* at boca? slave ? 2321.2Stls#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 2331.2Stls#com* at rtfps? slave ? 2341.43Smikel#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 2351.2Stls 2361.54Sthorpej# ISA console. You can only configure one of these! 2371.54Sthorpejpc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 2381.54Sthorpej#vt0 at isa? port 0x60 irq 1 # PCVT console driver 2391.2Stls 2401.54Sthorpej# ISA mice 2411.20Smycroft#lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 2421.20Smycroft#lms1 at isa? port 0x238 irq 5 2431.20Smycroft#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 2441.20Smycroft#mms1 at isa? port 0x238 irq 5 2451.20Smycroft#pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse 2461.20Smycroft 2471.54Sthorpej# ISA audio devices 2481.54Sthorpej#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 2491.54Sthorpej#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 2501.54Sthorpej#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 2511.54Sthorpej#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 2521.54Sthorpej#sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster 2531.54Sthorpej#wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 2541.54Sthorpej 2551.54Sthorpej# ISA network interfaces 2561.54Sthorpejed0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC and 3C503 2571.54Sthorpejed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards 2581.54Sthorpejed2 at isa? port 0x300 iomem 0xcc000 irq 10 2591.54Sthorpej#eg0 at isa? ... # 3C505 ethernet cards 2601.54Sthorpejel0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 2611.54Sthorpejep0 at isa? port ? irq ? # 3C509 ethernet cards 2621.54Sthorpejfe0 at isa? port 0x2a0 irq ? # AT1700 2631.54Sthorpejie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507 2641.54Sthorpejie1 at isa? port 0x300 irq 10 # EtherExpress 2651.54Sthorpejiy0 at isa? port ? irq ? # EtherExpress PRO 10 ISA 2661.54Sthorpejlc0 at isa? port ? iomem ? irq ? # DEC EtherWORKS III (LEMAC) 2671.54Sthorpej#le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA 2681.54Sthorpejne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2691.54Sthorpejne1 at isa? port 0x300 irq 10 2701.54Sthorpej 2711.54Sthorpej# ISA PCMCIA controllers 2721.54Sthorpejpcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 2731.54Sthorpejpcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 2741.54Sthorpej 2751.54Sthorpej# ISA misc. devices 2761.54Sthorpejlpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 2771.54Sthorpejlpt1 at isa? port 0x278 2781.54Sthorpejlpt2 at isa? port 0x3bc 2791.54Sthorpej 2801.54Sthorpej# Planetconnect Satellite receiver driver. 2811.54Sthorpej#satlink0 at isa? port 0x300 drq 1 2821.54Sthorpej 2831.54Sthorpej# Joystick driver. Probe is a little strange; add only if you have one. 2841.54Sthorpej#joy0 at isa? port 0x201 2851.54Sthorpej 2861.54Sthorpej#spkr0 at pckbd? port 0x61 # PC speaker 2871.54Sthorpej 2881.54Sthorpejnpx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 2891.54Sthorpej 2901.54Sthorpej# ISA Plug-and-Play support 2911.54Sthorpejisapnp0 at isa? 2921.54Sthorpej 2931.54Sthorpej# ISA Plug-and-Play devices 2941.54Sthorpejcom* at isapnp? # Modems and serial boards 2951.54Sthorpejep* at isapnp? # 3Com 3c509 Ethernet 2961.54Sthorpej#guspnp* at isapnp? # Gravis Ultra Sound PnP audio 2971.54Sthorpej#joy* at isapnp? # Game ports (usually on audio cards) 2981.54Sthorpejne* at isapnp? # NE2000-compatible Ethernet 2991.54Sthorpej#sb* at isapnp? # SoundBlaster-compatible audio 3001.54Sthorpej 3011.54Sthorpej# PCMCIA bus support 3021.54Sthorpejpcmcia* at pcic? controller ? socket ? 3031.54Sthorpej 3041.54Sthorpej# PCMCIA devices 3051.54Sthorpejaic* at pcmcia? function ? # Adaptec APA-1460 SCSI 3061.54Sthorpejcom* at pcmcia? function ? # Modems and serial cards 3071.54Sthorpejep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 3081.54Sthorpejne* at pcmcia? function ? # NE2000-compatible Ethernet 3091.54Sthorpejsm* at pcmcia? function ? # Megahertz Ethernet 3101.54Sthorpej 3111.54Sthorpej# Audio support 3121.54Sthorpej#audio* at gus? 3131.54Sthorpej#audio* at guspnp? 3141.54Sthorpej#audio* at pas? 3151.54Sthorpej#audio* at sb? 3161.54Sthorpej#audio* at sp? 3171.54Sthorpej#audio* at wss? 3181.54Sthorpej 3191.54Sthorpej# SCSI bus support 3201.29Sjonathanscsibus* at aha? 3211.29Sjonathanscsibus* at ahb? 3221.29Sjonathanscsibus* at ahc? 3231.29Sjonathanscsibus* at aic? 3241.17Smycroftscsibus* at bha? 3251.54Sthorpejscsibus* at isp? 3261.2Stlsscsibus* at ncr? 3271.2Stlsscsibus* at sea? 3281.2Stlsscsibus* at uha? 3291.54Sthorpejscsibus* at wds? 3301.2Stls 3311.54Sthorpej# SCSI devices 3321.2Stlssd* at scsibus? target ? lun ? # SCSI disk drives 3331.2Stlsst* at scsibus? target ? lun ? # SCSI tape drives 3341.2Stlscd* at scsibus? target ? lun ? # SCSI CD-ROM drives 3351.2Stlsch* at scsibus? target ? lun ? # SCSI autochangers 3361.20Smycroft#ss* at scsibus? target ? lun ? # SCSI scanners 3371.20Smycroft#uk* at scsibus? target ? lun ? # SCSI unknown 3381.2Stls 3391.54Sthorpej# ATAPI bus support 3401.47Smikelatapibus* at wdc? 3411.20Smycroft 3421.54Sthorpej# ATAPI devices 3431.54Sthorpejcd* at atapibus? drive ? # ATAPI CD-ROM drives 3441.20Smycroft 3451.54Sthorpej# MII bus support 3461.54Sthorpejmii* at tl? 3471.43Smikel 3481.54Sthorpej# MII PHY devices 3491.54Sthorpejtlphy* at mii? dev ? # Thunderland PHYs 3501.54Sthorpejnsphy* at mii? dev ? # NS and compatible PHYs 3511.21Smycroft 3521.54Sthorpej# Pull in optional local configuration 3531.22Smycroftinclude "arch/i386/conf/GENERIC.local" 3541.37Sperry 3551.54Sthorpej# Pseudo devices 3561.54Sthorpej#pseudo-device bpfilter 8 # Berkeley packet filter 3571.54Sthorpej#pseudo-device ccd 4 # concatenated/striped disk devices 3581.54Sthorpej#pseudo-device ipfilter # IP filter (firewall) and NAT 3591.54Sthorpejpseudo-device loop # network loopback 3601.54Sthorpejpseudo-device md 1 # memory disk device (ramdisk) 3611.54Sthorpejpseudo-device ppp 2 # Point-to-Point Protocol 3621.54Sthorpejpseudo-device pty 64 # pseudo-terminals 3631.54Sthorpej#pseudo-device rnd # /dev/random and in-kernel generator 3641.54Sthorpejpseudo-device sl 2 # Serial Line IP 3651.54Sthorpej#pseudo-device strip 2 # Starmode Radio IP (Metricom) 3661.54Sthorpej#pseudo-device tb 1 # tablet line discipline 3671.54Sthorpej#pseudo-device tun 2 # network tunneling over tty 3681.54Sthorpej#pseudo-device vnd 4 # disk-like interface to files 369