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