DISKLESS revision 1.80
1# $NetBSD: DISKLESS,v 1.80 2021/01/21 06:51:56 nia Exp $ 2 3# DISKLESS - Root and swap on NFS 4# Desktop machines only (3/50, 3/60, 3/110) 5# 6# Includes devices needed to run as an X-terminal 7 8include "arch/sun3/conf/std.sun3" 9 10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11 12makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) 13 14# Machines to be supported by this kernel 15options FPU_EMULATE 16options HAVECACHE # Sun3/260 VAC 17 18# Needs to be set per system. i.e change these as you see fit 19maxusers 2 20 21# Standard system options 22#options KTRACE # system call tracing 23#options SYSVMSG # System V message queues 24#options SYSVSEM # System V semaphores 25#options SYSVSHM # System V shared memory 26#options INSECURE # disable kernel security level 27options USERCONF # userconf(4) support 28#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 29#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 30 31# Which kernel debugger? Uncomment either this: 32#options DDB 33# ... or these for KGDB (gdb remote target) 34#makeoptions DEBUG="-g" # debugging symbols for gdb 35#options KGDB 36#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 37 38# Other debugging options 39#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 40#options DEBUG # kernel debugging code 41#options DIAGNOSTIC # extra kernel sanity checking 42#options PMAP_DEBUG 43#options SCSIDEBUG 44#options SCSIVERBOSE # Verbose SCSI errors 45 46# Compatibility options 47include "conf/compat_netbsd13.config" 48 49#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 50#options COMPAT_AOUT_M68K # support for NetBSD a.out executables 51#options COMPAT_LINUX # can run Linux/m68k executables 52#options COMPAT_OSSAUDIO # can run Linux/m68k executables 53#options EXEC_AOUT # support for a.out executables 54 55# Filesystem options 56#file-system FFS # Berkeley Fast Filesystem 57file-system NFS # Sun NFS client support 58#file-system CD9660 # ISO 9660 + Rock Ridge file system 59#file-system FDESC # /dev/fd/* 60#file-system KERNFS # /kern 61#file-system NULLFS # loopback file system 62#file-system OVERLAY # overlay file system 63#file-system PROCFS # /proc 64#file-system UNION # union file system 65#file-system MFS # memory-based filesystem 66#file-system PTYFS # /dev/pts/N support 67#file-system TMPFS # Efficient memory file-system 68#file-system UDF # experimental - OSTA UDF CD/DVD file-system 69 70#options NFSSERVER # nfs server support 71#options QUOTA # legacy UFS quotas 72#options QUOTA2 # new, in-filesystem UFS quotas 73#options FFS_EI # FFS Endian Independent support 74#options WAPBL # File system journaling support 75#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 76#options FFS_NO_SNAPSHOT # No FFS snapshot support 77 78# Networking options 79options INET # IP protocol stack support 80#options INET6 # IPV6 81#options IPSEC # IP security 82#options IPSEC_DEBUG # debug for IP security 83#options GATEWAY # IP packet forwarding 84#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 85 86# Work-around for root on slow servers (insurance...) 87options NFS_BOOT_RWSIZE=1024 88options NFS_BOOT_BOOTPARAM 89 90config netbsd root on ? type nfs 91 92# On-board I/O space (required) 93include "arch/sun3/conf/obio.sun3" 94 95# On-board memory (optional) 96# See frame-buffers 97obmem0 at mainbus? 98 99# VME bus support (optional) 100# (none on desktop machines) 101 102# 103# Serial ports 104# 105zstty0 at zsc1 channel 0 # ttya 106zstty1 at zsc1 channel 1 # ttyb 107 108kbd0 at zsc0 channel 0 # keyboard 109ms0 at zsc0 channel 1 # mouse 110 111# 112# Network devices 113# 114 115# Intel Ethernet (onboard, or VME) 116ie0 at obio0 addr 0x0C0000 ipl 3 117#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 118 119# Lance Ethernet (only onboard) 120le0 at obio0 addr 0x120000 ipl 3 121 122# All Sun3 machines with an "le" (3/50, 3/60) should be 123# presumed to have the old, buggy LANCE chip. (Rev. C) 124options LANCE_REVC_BUG 125 126# 127# Frame buffer devices 128# 129 130include "arch/sun3/conf/bw2.sun3" 131include "arch/sun3/conf/cg4.sun3" 132 133# 3/60 P4 accelerated 8-bit color frame buffer 134# cgsix0 at obmem0 addr 0xff000000 135 136# 3/60 P4 24-bit color frame buffer 137# cgeight0 at obmem0 addr 0xff300000 138 139# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 140# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 141 142# Support for the CG9 24-bit frame buffer (VME A32/D32). 143# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 144 145# Misc. 146pseudo-device loop # network loopback 147pseudo-device bpfilter # packet filter 148#pseudo-device carp # Common Address Redundancy Protocol 149pseudo-device sl # CSLIP 150pseudo-device ppp # PPP 151#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 152#pseudo-device tun # network tunneling over tty 153#pseudo-device tap # virtual Ethernet 154#pseudo-device gre # generic L3 over IP tunnel 155#pseudo-device npf # NPF packet filter 156#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 157#pseudo-device faith # IPv[46] tcp relay translation i/f 158#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 159#pseudo-device vlan # IEEE 802.1q encapsulation 160#pseudo-device bridge # simple inter-network bridging 161#pseudo-device vether # Virtual Ethernet for bridge 162#pseudo-device agr # IEEE 802.3ad link aggregation 163 164pseudo-device pty # pseudo-terminals 165pseudo-device clockctl # user control of clock subsystem 166