DISKLESS revision 1.73
1# $NetBSD: DISKLESS,v 1.73 2017/07/28 19:26:16 maxv 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" # 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 47#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 48#options COMPAT_SVR4 # can run SVR4 executables 49#options COMPAT_43 # and 4.3BSD and ... 50#options COMPAT_10 # NetBSD 1.0, 51#options COMPAT_11 # NetBSD 1.1, 52#options COMPAT_12 # NetBSD 1.2, 53options COMPAT_13 # NetBSD 1.3, 54options COMPAT_14 # NetBSD 1.4, 55options COMPAT_15 # NetBSD 1.5, 56options COMPAT_16 # NetBSD 1.6, 57options COMPAT_20 # NetBSD 2.0, 58options COMPAT_30 # NetBSD 3.0, 59options COMPAT_40 # NetBSD 4.0, 60options COMPAT_50 # NetBSD 5.0, 61options COMPAT_60 # NetBSD 6.0, and 62options COMPAT_70 # NetBSD 7.0 compatibility. 63#options COMPAT_AOUT_M68K # support for NetBSD a.out executables 64#options COMPAT_LINUX # can run Linux/m68k executables 65#options EXEC_AOUT # support for a.out executables 66options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 67 68# Filesystem options 69#file-system FFS # Berkeley Fast Filesystem 70file-system NFS # Sun NFS client support 71#file-system CD9660 # ISO 9660 + Rock Ridge file system 72#file-system FDESC # /dev/fd/* 73#file-system KERNFS # /kern 74#file-system NULLFS # loopback file system 75#file-system OVERLAY # overlay file system 76#file-system PROCFS # /proc 77#file-system UNION # union file system 78#file-system MFS # memory-based filesystem 79#file-system PTYFS # /dev/pts/N support 80#file-system TMPFS # Efficient memory file-system 81#file-system UDF # experimental - OSTA UDF CD/DVD file-system 82 83#options NFSSERVER # nfs server support 84#options QUOTA # legacy UFS quotas 85#options QUOTA2 # new, in-filesystem UFS quotas 86#options FFS_EI # FFS Endian Independent support 87#options WAPBL # File system journaling support 88#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 89#options FFS_NO_SNAPSHOT # No FFS snapshot support 90 91# Networking options 92options INET # IP protocol stack support 93#options INET6 # IPV6 94#options IPSEC # IP security 95#options IPSEC_DEBUG # debug for IP security 96#options GATEWAY # IP packet forwarding 97#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 98 99# Work-around for root on slow servers (insurance...) 100options NFS_BOOT_RWSIZE=1024 101options NFS_BOOT_BOOTPARAM 102 103config netbsd root on ? type nfs 104 105# On-board I/O space (required) 106include "arch/sun3/conf/obio.sun3" 107 108# On-board memory (optional) 109# See frame-buffers 110obmem0 at mainbus? 111 112# VME bus support (optional) 113# (none on desktop machines) 114 115# 116# Serial ports 117# 118zstty0 at zsc1 channel 0 # ttya 119zstty1 at zsc1 channel 1 # ttyb 120 121kbd0 at zsc0 channel 0 # keyboard 122ms0 at zsc0 channel 1 # mouse 123 124# 125# Network devices 126# 127 128# Intel Ethernet (onboard, or VME) 129ie0 at obio0 addr 0x0C0000 ipl 3 130#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 131 132# Lance Ethernet (only onboard) 133le0 at obio0 addr 0x120000 ipl 3 134 135# All Sun3 machines with an "le" (3/50, 3/60) should be 136# presumed to have the old, buggy LANCE chip. (Rev. C) 137options LANCE_REVC_BUG 138 139# 140# Frame buffer devices 141# 142 143include "arch/sun3/conf/bw2.sun3" 144include "arch/sun3/conf/cg4.sun3" 145 146# 3/60 P4 accelerated 8-bit color frame buffer 147# cgsix0 at obmem0 addr 0xff000000 148 149# 3/60 P4 24-bit color frame buffer 150# cgeight0 at obmem0 addr 0xff300000 151 152# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 153# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 154 155# Support for the CG9 24-bit frame buffer (VME A32/D32). 156# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 157 158# Misc. 159pseudo-device loop # network loopback 160pseudo-device bpfilter # packet filter 161#pseudo-device carp # Common Address Redundancy Protocol 162pseudo-device sl # CSLIP 163pseudo-device ppp # PPP 164#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 165#pseudo-device tun # network tunneling over tty 166#pseudo-device tap # virtual Ethernet 167#pseudo-device gre # generic L3 over IP tunnel 168#pseudo-device ipfilter # ip filter 169#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 170#pseudo-device faith # IPv[46] tcp relay translation i/f 171#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 172#pseudo-device vlan # IEEE 802.1q encapsulation 173#pseudo-device bridge # simple inter-network bridging 174#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 175#pseudo-device agr # IEEE 802.3ad link aggregation 176 177pseudo-device pty # pseudo-terminals 178pseudo-device clockctl # user control of clock subsystem 179