1# 2# MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/amd64 3# 4# Many definitions of minimal are possible. The one this file follows is 5# GENERIC, minus all functionality that can be replaced by loading kernel 6# modules. 7# 8# Exceptions: 9# o While UFS is buildable as a module, the current module lacks 10# some features (ACL, GJOURNAL) that GENERIC includes. 11# o acpi as a module has been reported flakey and not well tested, so 12# is included in the kernel. 13# o random is included due to uncertaty... 14# o Many networking things are included 15# 16# For now, please run changes to these list past imp@freebsd.org 17# 18# For more information on this file, please read the config(5) manual page, 19# and/or the handbook section on Kernel Configuration Files: 20# 21# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 22# 23# The handbook is also available locally in /usr/share/doc/handbook 24# if you've installed the doc distribution, otherwise always see the 25# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 26# latest information. 27# 28# An exhaustive list of options and more detailed explanations of the 29# device lines is also present in the ../../conf/NOTES and NOTES files. 30# If you are in doubt as to the purpose or necessity of a line, check first 31# in NOTES. 32# 33# $FreeBSD$ 34 35cpu HAMMER 36ident MINIMAL 37 38makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 39makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 40 41options SCHED_ULE # ULE scheduler 42options NUMA # Non-Uniform Memory Architecture support 43options PREEMPTION # Enable kernel thread preemption 44options INET # InterNETworking 45options INET6 # IPv6 communications protocols 46options TCP_OFFLOAD # TCP offload 47options SCTP # Stream Control Transmission Protocol 48options FFS # Berkeley Fast Filesystem 49options SOFTUPDATES # Enable FFS soft updates support 50options UFS_ACL # Support for access control lists 51options UFS_DIRHASH # Improve performance on big directories 52options UFS_GJOURNAL # Enable gjournal-based UFS journaling 53options QUOTA # Enable disk quotas for UFS 54options MD_ROOT # MD is a potential root device 55options COMPAT_FREEBSD32 # Compatible with i386 binaries 56options COMPAT_FREEBSD4 # Compatible with FreeBSD4 57options COMPAT_FREEBSD5 # Compatible with FreeBSD5 58options COMPAT_FREEBSD6 # Compatible with FreeBSD6 59options COMPAT_FREEBSD7 # Compatible with FreeBSD7 60options COMPAT_FREEBSD9 # Compatible with FreeBSD9 61options COMPAT_FREEBSD10 # Compatible with FreeBSD10 62options COMPAT_FREEBSD11 # Compatible with FreeBSD11 63options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 64options KTRACE # ktrace(1) support 65options STACK # stack(9) support 66options SYSVSHM # SYSV-style shared memory 67options SYSVMSG # SYSV-style message queues 68options SYSVSEM # SYSV-style semaphores 69options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 70options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 71options KBD_INSTALL_CDEV # install a CDEV entry in /dev 72options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 73options AUDIT # Security event auditing 74options CAPABILITY_MODE # Capsicum capability mode 75options CAPABILITIES # Capsicum capabilities 76options MAC # TrustedBSD MAC Framework 77options KDTRACE_FRAME # Ensure frames are compiled in 78options KDTRACE_HOOKS # Kernel DTrace hooks 79options DDB_CTF # Kernel ELF linker loads CTF data 80options INCLUDE_CONFIG_FILE # Include this file in kernel 81 82# Debugging support. Always need this: 83options KDB # Enable kernel debugger support. 84options KDB_TRACE # Print a stack trace for a panic. 85# For full debugger support use (turn off in stable branch): 86options DDB # Support DDB. 87options GDB # Support remote GDB. 88options DEADLKRES # Enable the deadlock resolver 89options INVARIANTS # Enable calls of extra sanity checking 90options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 91options WITNESS # Enable checks to detect deadlocks and cycles 92options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 93options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 94options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default 95 96# Make an SMP-capable kernel by default 97options SMP # Symmetric MultiProcessor Kernel 98options EARLY_AP_STARTUP 99 100# CPU frequency control 101device cpufreq 102 103# Bus support. 104device acpi 105options ACPI_DMAR 106device pci 107 108# atkbdc0 controls both the keyboard and the PS/2 mouse 109device atkbdc # AT keyboard controller 110device atkbd # AT keyboard 111device psm # PS/2 mouse 112 113device kbdmux # keyboard multiplexer 114 115device vga # VGA video card driver 116options VESA # Add support for VESA BIOS Extensions (VBE) 117 118device splash # Splash screen and screen saver support 119 120# syscons is the default console driver, resembling an SCO console 121device sc 122options SC_PIXEL_MODE # add support for the raster text mode 123 124# vt is the new video console driver 125device vt 126device vt_vga 127device vt_efifb 128 129device agp # support several AGP chipsets 130 131# Pseudo devices. 132device loop # Network loopback 133device random # Entropy device 134device padlock_rng # VIA Padlock RNG 135device rdrand_rng # Intel Bull Mountain RNG 136device ether # Ethernet support 137device vlan # 802.1Q VLAN support 138device tun # Packet tunnel. 139device gif # IPv6 and IPv4 tunneling 140 141# The `bpf' device enables the Berkeley Packet Filter. 142# Be aware of the administrative consequences of enabling this! 143# Note that 'bpf' is required for DHCP. 144device bpf # Berkeley packet filter 145 146# Xen HVM Guest Optimizations 147# NOTE: XENHVM depends on xenpci. They must be added or removed together. 148options XENHVM # Xen HVM kernel infrastructure 149device xenpci # Xen HVM Hypervisor services driver 150 151# evdev interface 152options EVDEV_SUPPORT # evdev support in legacy drivers 153device evdev # input event device support 154device uinput # install /dev/uinput cdev 155