1 1.60 tsutsui # $NetBSD: DISKLESS,v 1.60 2009/01/17 07:31:57 tsutsui Exp $ 2 1.3 gwr 3 1.28 gwr # DISKLESS - Root and swap on NFS 4 1.28 gwr # Desktop machines only (3/50, 3/60, 3/110) 5 1.28 gwr # 6 1.10 gwr # Includes devices needed to run as an X-terminal 7 1.1 gwr 8 1.14 jtc include "arch/sun3/conf/std.sun3" 9 1.38 atatat 10 1.38 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11 1.1 gwr 12 1.58 tsutsui makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 13 1.58 tsutsui 14 1.26 gwr # Machines to be supported by this kernel 15 1.6 gwr options FPU_EMULATE 16 1.7 gwr options HAVECACHE # Sun3/260 VAC 17 1.1 gwr 18 1.1 gwr # Needs to be set per system. i.e change these as you see fit 19 1.20 gwr maxusers 2 20 1.9 gwr 21 1.1 gwr # Standard system options 22 1.28 gwr #options KTRACE # system call tracing 23 1.28 gwr #options SYSVMSG # System V message queues 24 1.28 gwr #options SYSVSEM # System V semaphores 25 1.28 gwr #options SYSVSHM # System V shared memory 26 1.20 gwr #options SHMMAXPGS=1024 # 1024 pages is the default 27 1.20 gwr #options INSECURE # disable kernel security level 28 1.40 lukem options USERCONF # userconf(4) support 29 1.56 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 30 1.43 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 31 1.15 thorpej 32 1.20 gwr # Which kernel debugger? Uncomment either this: 33 1.28 gwr #options DDB 34 1.18 gwr # ... or these for KGDB (gdb remote target) 35 1.35 lukem #makeoptions DEBUG="-g" # debugging symbols for gdb 36 1.20 gwr #options KGDB 37 1.34 lukem #options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 38 1.20 gwr 39 1.20 gwr # Other debugging options 40 1.21 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB 41 1.20 gwr #options DEBUG # kernel debugging code 42 1.20 gwr #options DIAGNOSTIC # extra kernel sanity checking 43 1.20 gwr #options KMEMSTATS # kernel memory statistics (vmstat -m) 44 1.20 gwr #options PMAP_DEBUG 45 1.20 gwr 46 1.32 wiz # Compatibility options 47 1.28 gwr #options COMPAT_SUNOS # can run SunOS 4.1.1 executables 48 1.28 gwr #options COMPAT_43 # and 4.3BSD and ... 49 1.28 gwr #options COMPAT_10 # NetBSD 1.0 50 1.28 gwr #options COMPAT_11 # NetBSD 1.1 51 1.28 gwr #options COMPAT_12 # NetBSD 1.2 52 1.22 kleink options COMPAT_13 # NetBSD 1.3 53 1.29 augustss options COMPAT_14 # NetBSD 1.4 54 1.55 manu options COMPAT_15 # NetBSD 1.5 55 1.42 cl options COMPAT_16 # NetBSD 1.6 56 1.45 tsutsui options COMPAT_20 # NetBSD 2.0 57 1.56 tsutsui options COMPAT_30 # NetBSD 3.0 58 1.60 tsutsui options COMPAT_40 # NetBSD 4.0 59 1.60 tsutsui options COMPAT_50 # NetBSD 5.0 compatibility. 60 1.28 gwr #options COMPAT_LINUX # can run Linux/m68k executables 61 1.33 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 62 1.56 tsutsui options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 63 1.1 gwr 64 1.1 gwr # Filesystem options 65 1.20 gwr #file-system FFS # Berkeley Fast Filesystem 66 1.20 gwr file-system NFS # Sun NFS client support 67 1.20 gwr #file-system CD9660 # ISO 9660 + Rock Ridge file system 68 1.28 gwr #file-system FDESC # /dev/fd/* 69 1.28 gwr #file-system KERNFS # /kern 70 1.28 gwr #file-system NULLFS # loopback file system 71 1.28 gwr #file-system PROCFS # /proc 72 1.20 gwr #file-system UNION # union file system 73 1.20 gwr #file-system MFS # memory-based filesystem 74 1.49 christos #file-system PTYFS # /dev/pts/N support 75 1.17 thorpej 76 1.20 gwr #options NFSSERVER # nfs server support 77 1.20 gwr #options QUOTA # FFS quotas 78 1.28 gwr #options FFS_EI # FFS Endian Independant support 79 1.1 gwr 80 1.1 gwr # Networking options 81 1.50 isaki options INET # IP protocol stack support 82 1.20 gwr #options GATEWAY # IP packet forwarding 83 1.20 gwr #options ISO,TPIP # OSI networking 84 1.20 gwr #options EON # OSI tunneling over IP 85 1.20 gwr #options PFIL_HOOKS # pfil(9) packet filter hooks. 86 1.33 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 87 1.20 gwr 88 1.20 gwr # Work-around for root on slow servers (insurance...) 89 1.6 gwr options NFS_BOOT_RWSIZE=1024 90 1.24 gwr options NFS_BOOT_BOOTPARAM 91 1.1 gwr 92 1.17 thorpej config netbsd root on ? type nfs 93 1.1 gwr 94 1.25 gwr # On-board I/O space (required) 95 1.25 gwr include "arch/sun3/conf/obio.sun3" 96 1.25 gwr 97 1.25 gwr # On-board memory (optional) 98 1.25 gwr # See frame-buffers 99 1.25 gwr obmem0 at mainbus? 100 1.25 gwr 101 1.25 gwr # VME bus support (optional) 102 1.28 gwr # (none on desktop machines) 103 1.25 gwr 104 1.11 gwr # 105 1.12 gwr # Serial ports 106 1.12 gwr # 107 1.19 lukem zstty0 at zsc1 channel 0 # ttya 108 1.19 lukem zstty1 at zsc1 channel 1 # ttyb 109 1.12 gwr 110 1.19 lukem kbd0 at zsc0 channel 0 # keyboard 111 1.19 lukem ms0 at zsc0 channel 1 # mouse 112 1.12 gwr 113 1.12 gwr # 114 1.11 gwr # Network devices 115 1.11 gwr # 116 1.1 gwr 117 1.11 gwr # Intel Ethernet (onboard, or VME) 118 1.28 gwr #ie0 at obio0 addr 0x0C0000 ipl 3 119 1.35 lukem #ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 120 1.6 gwr 121 1.11 gwr # Lance Ethernet (only onboard) 122 1.25 gwr le0 at obio0 addr 0x120000 ipl 3 123 1.23 gwr 124 1.25 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be 125 1.25 gwr # presumed to have the old, buggy LANCE chip. (Rev. C) 126 1.25 gwr options LANCE_REVC_BUG 127 1.25 gwr 128 1.11 gwr # 129 1.11 gwr # Frame buffer devices 130 1.11 gwr # 131 1.11 gwr 132 1.26 gwr include "arch/sun3/conf/bw2.sun3" 133 1.26 gwr include "arch/sun3/conf/cg4.sun3" 134 1.11 gwr 135 1.11 gwr # 3/60 P4 accelerated 8-bit color frame buffer 136 1.26 gwr # cgsix0 at obmem0 addr 0xff000000 137 1.11 gwr 138 1.11 gwr # 3/60 P4 24-bit color frame buffer 139 1.26 gwr # cgeight0 at obmem0 addr 0xff300000 140 1.11 gwr 141 1.25 gwr # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 142 1.28 gwr # cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 143 1.11 gwr 144 1.25 gwr # Support for the CG9 24-bit frame buffer (VME A32/D32). 145 1.25 gwr # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 146 1.11 gwr 147 1.11 gwr # Misc. 148 1.20 gwr pseudo-device loop 1 # network loopback 149 1.52 rpaulo pseudo-device bpfilter # packet filter 150 1.53 cube pseudo-device sl # CSLIP 151 1.53 cube pseudo-device ppp # PPP 152 1.53 cube pseudo-device tun # network tunneling over tty 153 1.53 cube #pseudo-device gre # generic L3 over IP tunnel 154 1.20 gwr #pseudo-device ipfilter # ip filter 155 1.6 gwr 156 1.30 jdolecek pseudo-device pty # pseudo-terminals 157 1.39 lukem pseudo-device clockctl # user control of clock subsystem 158