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