GENERIC.common revision 1.2.2.8 1 1.2.2.2 skrll #
2 1.2.2.8 skrll # $NetBSD: GENERIC.common,v 1.2.2.8 2017/08/28 17:51:34 skrll Exp $
3 1.2.2.2 skrll #
4 1.2.2.2 skrll # GENERIC evbarm kernel config (template)
5 1.2.2.2 skrll #
6 1.2.2.2 skrll
7 1.2.2.2 skrll # estimated number of users
8 1.2.2.2 skrll
9 1.2.2.2 skrll maxusers 32
10 1.2.2.2 skrll
11 1.2.2.2 skrll # Standard system options
12 1.2.2.2 skrll
13 1.2.2.2 skrll options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
14 1.2.2.8 skrll options NTP # NTP phase/frequency locked loop
15 1.2.2.2 skrll
16 1.2.2.2 skrll # CPU options
17 1.2.2.2 skrll options PMAPCOUNTERS
18 1.2.2.2 skrll
19 1.2.2.2 skrll # Architecture options
20 1.2.2.2 skrll
21 1.2.2.2 skrll # File systems
22 1.2.2.2 skrll include "conf/filesystems.config"
23 1.2.2.2 skrll no file-system LFS
24 1.2.2.2 skrll no file-system CODA
25 1.2.2.2 skrll no pseudo-device vcoda
26 1.2.2.2 skrll
27 1.2.2.2 skrll # File system options
28 1.2.2.2 skrll #options QUOTA # legacy UFS quotas
29 1.2.2.2 skrll #options QUOTA2 # new, in-filesystem UFS quotas
30 1.2.2.8 skrll #options DISKLABEL_EI # disklabel Endian Independent support
31 1.2.2.4 skrll options FFS_EI # FFS Endian Independent support
32 1.2.2.5 skrll options NFSSERVER
33 1.2.2.2 skrll options WAPBL # File system journaling support
34 1.2.2.2 skrll #options FFS_NO_SNAPSHOT # No FFS snapshot support
35 1.2.2.2 skrll
36 1.2.2.2 skrll # Networking options
37 1.2.2.2 skrll
38 1.2.2.2 skrll #options GATEWAY # packet forwarding
39 1.2.2.2 skrll options INET # IP + ICMP + TCP + UDP
40 1.2.2.2 skrll options INET6 # IPV6
41 1.2.2.4 skrll options IPSEC # IP security
42 1.2.2.2 skrll #options IPSEC_DEBUG # debug for IP security
43 1.2.2.2 skrll #options MROUTING # IP multicast routing
44 1.2.2.2 skrll #options PIM # Protocol Independent Multicast
45 1.2.2.2 skrll #options NETATALK # AppleTalk networking
46 1.2.2.2 skrll #options PPP_BSDCOMP # BSD-Compress compression support for PPP
47 1.2.2.2 skrll #options PPP_DEFLATE # Deflate compression support for PPP
48 1.2.2.2 skrll #options PPP_FILTER # Active filter support for PPP (requires bpf)
49 1.2.2.2 skrll #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
50 1.2.2.2 skrll
51 1.2.2.3 skrll # JIT compiler for bpfilter
52 1.2.2.3 skrll #options SLJIT
53 1.2.2.3 skrll options BPFJIT
54 1.2.2.3 skrll
55 1.2.2.3 skrll #options NFS_BOOT_BOOTP
56 1.2.2.3 skrll options NFS_BOOT_DHCP
57 1.2.2.2 skrll #options NFS_BOOT_BOOTSTATIC
58 1.2.2.2 skrll #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
59 1.2.2.2 skrll #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
60 1.2.2.2 skrll #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
61 1.2.2.2 skrll #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
62 1.2.2.2 skrll #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
63 1.2.2.2 skrll
64 1.2.2.3 skrll options NFS_BOOT_RWSIZE=1024
65 1.2.2.2 skrll
66 1.2.2.2 skrll # Compatibility options
67 1.2.2.2 skrll
68 1.2.2.3 skrll options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
69 1.2.2.2 skrll #options COMPAT_43 # 4.3BSD compatibility.
70 1.2.2.2 skrll #options COMPAT_09 # NetBSD 0.9,
71 1.2.2.2 skrll #options COMPAT_10 # NetBSD 1.0,
72 1.2.2.2 skrll #options COMPAT_11 # NetBSD 1.1,
73 1.2.2.2 skrll #options COMPAT_12 # NetBSD 1.2,
74 1.2.2.2 skrll #options COMPAT_13 # NetBSD 1.3,
75 1.2.2.2 skrll #options COMPAT_14 # NetBSD 1.4,
76 1.2.2.2 skrll #options COMPAT_15 # NetBSD 1.5,
77 1.2.2.2 skrll #options COMPAT_16 # NetBSD 1.6,
78 1.2.2.2 skrll #options COMPAT_20 # NetBSD 2.0,
79 1.2.2.2 skrll #options COMPAT_30 # NetBSD 3.0,
80 1.2.2.2 skrll #options COMPAT_40 # NetBSD 4.0,
81 1.2.2.2 skrll #options COMPAT_50 # NetBSD 5.0,
82 1.2.2.2 skrll options COMPAT_60 # NetBSD 6.0, and
83 1.2.2.2 skrll options COMPAT_70 # NetBSD 7.0 binary compatibility.
84 1.2.2.2 skrll #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
85 1.2.2.2 skrll
86 1.2.2.2 skrll # Shared memory options
87 1.2.2.2 skrll
88 1.2.2.2 skrll options SYSVMSG # System V-like message queues
89 1.2.2.2 skrll options SYSVSEM # System V-like semaphores
90 1.2.2.2 skrll #options SEMMNI=10 # number of semaphore identifiers
91 1.2.2.2 skrll #options SEMMNS=60 # number of semaphores in system
92 1.2.2.2 skrll #options SEMUME=10 # max number of undo entries per process
93 1.2.2.2 skrll #options SEMMNU=30 # number of undo structures in system
94 1.2.2.2 skrll options SYSVSHM # System V-like memory sharing
95 1.2.2.2 skrll
96 1.2.2.2 skrll # Device options
97 1.2.2.2 skrll
98 1.2.2.2 skrll #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
99 1.2.2.2 skrll #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
100 1.2.2.2 skrll #options MEMORY_DISK_DYNAMIC
101 1.2.2.2 skrll #options MINIROOTSIZE=1000 # Size in blocks
102 1.2.2.2 skrll #options MEMORY_DISK_IS_ROOT # use memory disk as root
103 1.2.2.2 skrll #options MEMORY_DISK_FBFLAGS=RB_SINGLE
104 1.2.2.2 skrll
105 1.2.2.2 skrll # Miscellaneous kernel options
106 1.2.2.8 skrll options KTRACE # system call tracing, a la ktrace(1)
107 1.2.2.8 skrll #options SCSIVERBOSE # Verbose SCSI errors
108 1.2.2.8 skrll #options MIIVERBOSE # Verbose MII autoconfuration messages
109 1.2.2.8 skrll #options USERCONF # userconf(4) support
110 1.2.2.8 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
111 1.2.2.3 skrll
112 1.2.2.3 skrll # Wedge support
113 1.2.2.3 skrll options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
114 1.2.2.3 skrll options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
115 1.2.2.2 skrll
116 1.2.2.2 skrll # Alternate buffer queue strategies for better responsiveness under high
117 1.2.2.2 skrll # disk I/O load.
118 1.2.2.2 skrll #options BUFQ_READPRIO
119 1.2.2.2 skrll options BUFQ_PRIOCSCAN
120 1.2.2.2 skrll
121 1.2.2.2 skrll # Development and Debugging options
122 1.2.2.2 skrll
123 1.2.2.2 skrll #options PERFCTRS # performance counters
124 1.2.2.5 skrll options DIAGNOSTIC # internal consistency checks
125 1.2.2.2 skrll #options DEBUG
126 1.2.2.8 skrll options KDTRACE_HOOKS # kernel DTrace hooks
127 1.2.2.2 skrll #options LOCKDEBUG
128 1.2.2.2 skrll #options PMAP_DEBUG # Enable pmap_debug_level code
129 1.2.2.2 skrll #options IPKDB # remote kernel debugging
130 1.2.2.2 skrll #options VERBOSE_INIT_ARM # verbose bootstraping messages
131 1.2.2.2 skrll options DDB # in-kernel debugger
132 1.2.2.3 skrll options DDB_ONPANIC=1
133 1.2.2.2 skrll options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
134 1.2.2.2 skrll #options DDB_COMMANDONENTER="bt"
135 1.2.2.2 skrll #options KGDB
136 1.2.2.2 skrll
137 1.2.2.2 skrll # Pseudo-Devices
138 1.2.2.2 skrll
139 1.2.2.3 skrll # crypto pseudo-devices
140 1.2.2.3 skrll pseudo-device crypto # /dev/crypto device
141 1.2.2.3 skrll pseudo-device swcrypto # software crypto implementation
142 1.2.2.3 skrll
143 1.2.2.2 skrll # disk/mass storage pseudo-devices
144 1.2.2.2 skrll #pseudo-device md # memory disk device (ramdisk)
145 1.2.2.2 skrll pseudo-device vnd # disk-like interface to files
146 1.2.2.2 skrll #pseudo-device fss # file system snapshot device
147 1.2.2.2 skrll pseudo-device drvctl # driver control
148 1.2.2.2 skrll
149 1.2.2.2 skrll # network pseudo-devices
150 1.2.2.2 skrll pseudo-device bpfilter # Berkeley packet filter
151 1.2.2.2 skrll pseudo-device loop # network loopback
152 1.2.2.3 skrll pseudo-device bridge # simple inter-network bridging
153 1.2.2.3 skrll pseudo-device vlan # IEEE 802.1q encapsulation
154 1.2.2.3 skrll pseudo-device ppp # Point-to-Point Protocol
155 1.2.2.3 skrll pseudo-device pppoe # PPP over Ethernet (RFC 2516)
156 1.2.2.3 skrll pseudo-device tun # network tunneling over tty
157 1.2.2.3 skrll pseudo-device tap # virtual Ethernet
158 1.2.2.3 skrll pseudo-device gre # generic L3 over IP tunnel
159 1.2.2.3 skrll pseudo-device npf # NPF packet filter
160 1.2.2.2 skrll
161 1.2.2.2 skrll # miscellaneous pseudo-devices
162 1.2.2.2 skrll pseudo-device pty # pseudo-terminals
163 1.2.2.3 skrll #options RND_COM
164 1.2.2.2 skrll #pseudo-device clockctl # user control of clock subsystem
165 1.2.2.2 skrll pseudo-device ksyms # /dev/ksyms
166 1.2.2.2 skrll pseudo-device lockstat # lock profiling
167 1.2.2.6 skrll
168 1.2.2.8 skrll options FILEASSOC # fileassoc(9) - required for Veriexec
169 1.2.2.7 skrll # and PAX_SEGVGUARD
170 1.2.2.6 skrll
171 1.2.2.6 skrll # Veriexec
172 1.2.2.6 skrll #
173 1.2.2.6 skrll # a pseudo device needed for veriexec
174 1.2.2.6 skrll pseudo-device veriexec
175 1.2.2.6 skrll #
176 1.2.2.6 skrll # Uncomment the fingerprint methods below that are desired. Note that
177 1.2.2.6 skrll # removing fingerprint methods will have almost no impact on the kernel
178 1.2.2.6 skrll # code size.
179 1.2.2.6 skrll #
180 1.2.2.6 skrll options VERIFIED_EXEC_FP_RMD160
181 1.2.2.6 skrll options VERIFIED_EXEC_FP_SHA256
182 1.2.2.6 skrll options VERIFIED_EXEC_FP_SHA384
183 1.2.2.6 skrll options VERIFIED_EXEC_FP_SHA512
184 1.2.2.6 skrll options VERIFIED_EXEC_FP_SHA1
185 1.2.2.6 skrll options VERIFIED_EXEC_FP_MD5
186 1.2.2.6 skrll
187 1.2.2.6 skrll
188 1.2.2.6 skrll options PAX_ASLR_DEBUG=1 # PaX ASLR debug
189 1.2.2.6 skrll options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
190 1.2.2.6 skrll options PAX_MPROTECT=1 # PaX mprotect(2) restrictions
191 1.2.2.6 skrll options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug
192 1.2.2.6 skrll options PAX_ASLR=1 # PaX Address Space Layout Randomization
193