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