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