DISKLESS revision 1.64 1 1.64 apb # $NetBSD: DISKLESS,v 1.64 2012/10/17 14:48:17 apb 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 INSECURE # disable kernel security level
27 1.40 lukem options USERCONF # userconf(4) support
28 1.56 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
29 1.43 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
30 1.15 thorpej
31 1.20 gwr # Which kernel debugger? Uncomment either this:
32 1.28 gwr #options DDB
33 1.18 gwr # ... or these for KGDB (gdb remote target)
34 1.35 lukem #makeoptions DEBUG="-g" # debugging symbols for gdb
35 1.20 gwr #options KGDB
36 1.34 lukem #options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01
37 1.20 gwr
38 1.20 gwr # Other debugging options
39 1.21 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
40 1.20 gwr #options DEBUG # kernel debugging code
41 1.20 gwr #options DIAGNOSTIC # extra kernel sanity checking
42 1.20 gwr #options KMEMSTATS # kernel memory statistics (vmstat -m)
43 1.20 gwr #options PMAP_DEBUG
44 1.20 gwr
45 1.32 wiz # Compatibility options
46 1.28 gwr #options COMPAT_SUNOS # can run SunOS 4.1.1 executables
47 1.28 gwr #options COMPAT_43 # and 4.3BSD and ...
48 1.28 gwr #options COMPAT_10 # NetBSD 1.0
49 1.28 gwr #options COMPAT_11 # NetBSD 1.1
50 1.28 gwr #options COMPAT_12 # NetBSD 1.2
51 1.22 kleink options COMPAT_13 # NetBSD 1.3
52 1.29 augustss options COMPAT_14 # NetBSD 1.4
53 1.55 manu options COMPAT_15 # NetBSD 1.5
54 1.42 cl options COMPAT_16 # NetBSD 1.6
55 1.45 tsutsui options COMPAT_20 # NetBSD 2.0
56 1.56 tsutsui options COMPAT_30 # NetBSD 3.0
57 1.60 tsutsui options COMPAT_40 # NetBSD 4.0
58 1.60 tsutsui options COMPAT_50 # NetBSD 5.0 compatibility.
59 1.64 apb options COMPAT_60 # NetBSD 6.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.62 bouyer #options QUOTA # legacy UFS quotas
78 1.62 bouyer #options QUOTA2 # new, in-filesystem UFS quotas
79 1.63 wiz #options FFS_EI # FFS Endian Independent support
80 1.1 gwr
81 1.1 gwr # Networking options
82 1.50 isaki options INET # IP protocol stack support
83 1.20 gwr #options GATEWAY # IP packet forwarding
84 1.20 gwr #options ISO,TPIP # OSI networking
85 1.20 gwr #options EON # OSI tunneling over IP
86 1.20 gwr #options PFIL_HOOKS # pfil(9) packet filter hooks.
87 1.33 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
88 1.20 gwr
89 1.20 gwr # Work-around for root on slow servers (insurance...)
90 1.6 gwr options NFS_BOOT_RWSIZE=1024
91 1.24 gwr options NFS_BOOT_BOOTPARAM
92 1.1 gwr
93 1.17 thorpej config netbsd root on ? type nfs
94 1.1 gwr
95 1.25 gwr # On-board I/O space (required)
96 1.25 gwr include "arch/sun3/conf/obio.sun3"
97 1.25 gwr
98 1.25 gwr # On-board memory (optional)
99 1.25 gwr # See frame-buffers
100 1.25 gwr obmem0 at mainbus?
101 1.25 gwr
102 1.25 gwr # VME bus support (optional)
103 1.28 gwr # (none on desktop machines)
104 1.25 gwr
105 1.11 gwr #
106 1.12 gwr # Serial ports
107 1.12 gwr #
108 1.19 lukem zstty0 at zsc1 channel 0 # ttya
109 1.19 lukem zstty1 at zsc1 channel 1 # ttyb
110 1.12 gwr
111 1.19 lukem kbd0 at zsc0 channel 0 # keyboard
112 1.19 lukem ms0 at zsc0 channel 1 # mouse
113 1.12 gwr
114 1.12 gwr #
115 1.11 gwr # Network devices
116 1.11 gwr #
117 1.1 gwr
118 1.11 gwr # Intel Ethernet (onboard, or VME)
119 1.28 gwr #ie0 at obio0 addr 0x0C0000 ipl 3
120 1.35 lukem #ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
121 1.6 gwr
122 1.11 gwr # Lance Ethernet (only onboard)
123 1.25 gwr le0 at obio0 addr 0x120000 ipl 3
124 1.23 gwr
125 1.25 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be
126 1.25 gwr # presumed to have the old, buggy LANCE chip. (Rev. C)
127 1.25 gwr options LANCE_REVC_BUG
128 1.25 gwr
129 1.11 gwr #
130 1.11 gwr # Frame buffer devices
131 1.11 gwr #
132 1.11 gwr
133 1.26 gwr include "arch/sun3/conf/bw2.sun3"
134 1.26 gwr include "arch/sun3/conf/cg4.sun3"
135 1.11 gwr
136 1.11 gwr # 3/60 P4 accelerated 8-bit color frame buffer
137 1.26 gwr # cgsix0 at obmem0 addr 0xff000000
138 1.11 gwr
139 1.11 gwr # 3/60 P4 24-bit color frame buffer
140 1.26 gwr # cgeight0 at obmem0 addr 0xff300000
141 1.11 gwr
142 1.25 gwr # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
143 1.28 gwr # cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
144 1.11 gwr
145 1.25 gwr # Support for the CG9 24-bit frame buffer (VME A32/D32).
146 1.25 gwr # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
147 1.11 gwr
148 1.11 gwr # Misc.
149 1.20 gwr pseudo-device loop 1 # network loopback
150 1.52 rpaulo pseudo-device bpfilter # packet filter
151 1.53 cube pseudo-device sl # CSLIP
152 1.53 cube pseudo-device ppp # PPP
153 1.53 cube pseudo-device tun # network tunneling over tty
154 1.53 cube #pseudo-device gre # generic L3 over IP tunnel
155 1.20 gwr #pseudo-device ipfilter # ip filter
156 1.6 gwr
157 1.30 jdolecek pseudo-device pty # pseudo-terminals
158 1.39 lukem pseudo-device clockctl # user control of clock subsystem
159