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