1 1.1 jmcneill # 2 1.49 simonb # $NetBSD: GENERIC.common,v 1.49 2022/08/07 02:52:25 simonb Exp $ 3 1.1 jmcneill # 4 1.1 jmcneill # GENERIC evbarm kernel config (template) 5 1.1 jmcneill # 6 1.1 jmcneill 7 1.1 jmcneill # estimated number of users 8 1.1 jmcneill 9 1.1 jmcneill maxusers 32 10 1.1 jmcneill 11 1.1 jmcneill # Standard system options 12 1.1 jmcneill 13 1.1 jmcneill options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 14 1.20 jakllsch options NTP # NTP phase/frequency locked loop 15 1.1 jmcneill 16 1.1 jmcneill # CPU options 17 1.37 ad #options PMAPCOUNTERS 18 1.32 skrll options BUSDMA_COUNTERS 19 1.1 jmcneill 20 1.1 jmcneill # Architecture options 21 1.1 jmcneill 22 1.1 jmcneill # File systems 23 1.2 jmcneill include "conf/filesystems.config" 24 1.2 jmcneill no file-system LFS 25 1.2 jmcneill no file-system CODA 26 1.2 jmcneill no pseudo-device vcoda 27 1.1 jmcneill 28 1.1 jmcneill # File system options 29 1.49 simonb options FFS_EI # FFS Endian Independent support 30 1.49 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 31 1.42 jmcneill options QUOTA # legacy UFS quotas 32 1.42 jmcneill options QUOTA2 # new, in-filesystem UFS quotas 33 1.49 simonb options UFS_ACL # UFS Access Control Lists 34 1.49 simonb #options UFS_DIRHASH # UFS Large Directory Hashing 35 1.49 simonb #options UFS_EXTATTR # Extended attribute support for UFS1 36 1.49 simonb options WAPBL # File system journaling support 37 1.34 rin options DISKLABEL_EI # disklabel Endian Independent support 38 1.49 simonb options NFSSERVER # Network File System server 39 1.1 jmcneill 40 1.1 jmcneill # Networking options 41 1.1 jmcneill 42 1.1 jmcneill #options GATEWAY # packet forwarding 43 1.1 jmcneill options INET # IP + ICMP + TCP + UDP 44 1.1 jmcneill options INET6 # IPV6 45 1.10 riz options IPSEC # IP security 46 1.1 jmcneill #options IPSEC_DEBUG # debug for IP security 47 1.1 jmcneill #options MROUTING # IP multicast routing 48 1.1 jmcneill #options PIM # Protocol Independent Multicast 49 1.1 jmcneill #options NETATALK # AppleTalk networking 50 1.44 jmcneill options PPP_BSDCOMP # BSD-Compress compression support for PPP 51 1.44 jmcneill options PPP_DEFLATE # Deflate compression support for PPP 52 1.44 jmcneill options PPP_FILTER # Active filter support for PPP (requires bpf) 53 1.1 jmcneill #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 54 1.1 jmcneill 55 1.6 matt # JIT compiler for bpfilter 56 1.6 matt #options SLJIT 57 1.6 matt options BPFJIT 58 1.6 matt 59 1.4 jmcneill #options NFS_BOOT_BOOTP 60 1.4 jmcneill options NFS_BOOT_DHCP 61 1.2 jmcneill #options NFS_BOOT_BOOTSTATIC 62 1.2 jmcneill #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 63 1.2 jmcneill #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 64 1.2 jmcneill #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 65 1.2 jmcneill #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 66 1.2 jmcneill #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 67 1.1 jmcneill 68 1.3 matt options NFS_BOOT_RWSIZE=1024 69 1.1 jmcneill 70 1.1 jmcneill # Compatibility options 71 1.1 jmcneill 72 1.22 mrg include "conf/compat_netbsd60.config" 73 1.41 jmcneill options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 74 1.41 jmcneill # on arm or arm binaries on arm64 75 1.1 jmcneill 76 1.1 jmcneill # Shared memory options 77 1.1 jmcneill 78 1.1 jmcneill options SYSVMSG # System V-like message queues 79 1.1 jmcneill options SYSVSEM # System V-like semaphores 80 1.1 jmcneill #options SEMMNI=10 # number of semaphore identifiers 81 1.1 jmcneill #options SEMMNS=60 # number of semaphores in system 82 1.1 jmcneill #options SEMUME=10 # max number of undo entries per process 83 1.1 jmcneill #options SEMMNU=30 # number of undo structures in system 84 1.1 jmcneill options SYSVSHM # System V-like memory sharing 85 1.1 jmcneill 86 1.1 jmcneill # Device options 87 1.1 jmcneill 88 1.1 jmcneill #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 89 1.1 jmcneill #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 90 1.1 jmcneill #options MEMORY_DISK_DYNAMIC 91 1.1 jmcneill #options MINIROOTSIZE=1000 # Size in blocks 92 1.1 jmcneill #options MEMORY_DISK_IS_ROOT # use memory disk as root 93 1.1 jmcneill #options MEMORY_DISK_FBFLAGS=RB_SINGLE 94 1.1 jmcneill 95 1.1 jmcneill # Miscellaneous kernel options 96 1.17 skrll options KTRACE # system call tracing, a la ktrace(1) 97 1.17 skrll #options SCSIVERBOSE # Verbose SCSI errors 98 1.17 skrll #options MIIVERBOSE # Verbose MII autoconfuration messages 99 1.48 jmcneill options USERCONF # userconf(4) support 100 1.17 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 101 1.1 jmcneill 102 1.8 skrll # Wedge support 103 1.6 matt options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 104 1.6 matt options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 105 1.6 matt 106 1.1 jmcneill # Alternate buffer queue strategies for better responsiveness under high 107 1.1 jmcneill # disk I/O load. 108 1.1 jmcneill #options BUFQ_READPRIO 109 1.1 jmcneill options BUFQ_PRIOCSCAN 110 1.1 jmcneill 111 1.1 jmcneill # Development and Debugging options 112 1.1 jmcneill 113 1.11 skrll options DIAGNOSTIC # internal consistency checks 114 1.1 jmcneill #options DEBUG 115 1.17 skrll options KDTRACE_HOOKS # kernel DTrace hooks 116 1.1 jmcneill #options LOCKDEBUG 117 1.36 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 118 1.1 jmcneill #options VERBOSE_INIT_ARM # verbose bootstraping messages 119 1.1 jmcneill options DDB # in-kernel debugger 120 1.3 matt options DDB_ONPANIC=1 121 1.1 jmcneill options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 122 1.1 jmcneill #options DDB_COMMANDONENTER="bt" 123 1.1 jmcneill #options KGDB 124 1.1 jmcneill 125 1.1 jmcneill # Pseudo-Devices 126 1.1 jmcneill 127 1.7 jmcneill # crypto pseudo-devices 128 1.7 jmcneill pseudo-device crypto # /dev/crypto device 129 1.7 jmcneill pseudo-device swcrypto # software crypto implementation 130 1.7 jmcneill 131 1.1 jmcneill # disk/mass storage pseudo-devices 132 1.1 jmcneill #pseudo-device md # memory disk device (ramdisk) 133 1.1 jmcneill pseudo-device vnd # disk-like interface to files 134 1.45 jmcneill options VND_COMPRESSION # compressed vnd(4) 135 1.40 uwe pseudo-device fss # file system snapshot device 136 1.1 jmcneill pseudo-device drvctl # driver control 137 1.35 riastrad pseudo-device cgd # cryptographic disk devices 138 1.38 mrg pseudo-device raid # RAIDframe disk driver 139 1.38 mrg options RAID_AUTOCONFIG # auto-configuration of RAID components 140 1.38 mrg #Options to enable various other RAIDframe RAID types. 141 1.38 mrg #options RF_INCLUDE_EVENODD=1 142 1.38 mrg #options RF_INCLUDE_RAID5_RS=1 143 1.38 mrg #options RF_INCLUDE_PARITYLOGGING=1 144 1.38 mrg #options RF_INCLUDE_CHAINDECLUSTER=1 145 1.38 mrg #options RF_INCLUDE_INTERDECLUSTER=1 146 1.38 mrg #options RF_INCLUDE_PARITY_DECLUSTERING=1 147 1.38 mrg #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 148 1.1 jmcneill 149 1.1 jmcneill # network pseudo-devices 150 1.1 jmcneill pseudo-device bpfilter # Berkeley packet filter 151 1.33 sevan pseudo-device carp # Common Address Redundancy Protocol 152 1.1 jmcneill pseudo-device loop # network loopback 153 1.7 jmcneill pseudo-device bridge # simple inter-network bridging 154 1.39 roy pseudo-device vether # Virtual Ethernet for bridge 155 1.7 jmcneill pseudo-device vlan # IEEE 802.1q encapsulation 156 1.7 jmcneill pseudo-device ppp # Point-to-Point Protocol 157 1.7 jmcneill pseudo-device pppoe # PPP over Ethernet (RFC 2516) 158 1.7 jmcneill pseudo-device tun # network tunneling over tty 159 1.7 jmcneill pseudo-device tap # virtual Ethernet 160 1.24 skrll pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 161 1.25 jmcneill pseudo-device ipsecif # interface for routing-based ipsec 162 1.7 jmcneill pseudo-device gre # generic L3 over IP tunnel 163 1.7 jmcneill pseudo-device npf # NPF packet filter 164 1.1 jmcneill 165 1.1 jmcneill # miscellaneous pseudo-devices 166 1.47 nia pseudo-device pad # pseudo audio device 167 1.1 jmcneill pseudo-device pty # pseudo-terminals 168 1.3 matt #options RND_COM 169 1.31 martin pseudo-device clockctl # user control of clock subsystem 170 1.1 jmcneill pseudo-device ksyms # /dev/ksyms 171 1.1 jmcneill pseudo-device lockstat # lock profiling 172 1.13 christos 173 1.33 sevan include "dev/veriexec.config" 174 1.13 christos 175 1.13 christos options PAX_ASLR_DEBUG=1 # PaX ASLR debug 176 1.13 christos options PAX_SEGVGUARD=0 # PaX Segmentation fault guard 177 1.13 christos options PAX_MPROTECT=1 # PaX mprotect(2) restrictions 178 1.13 christos options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug 179 1.13 christos options PAX_ASLR=1 # PaX Address Space Layout Randomization 180