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 (non-loaded) random is included due to uncertainty... 10# o Many networking things are included 11# 12# For now, please run changes to these list past imp@freebsd.org 13# 14# For more information on this file, please read the config(5) manual page, 15# and/or the handbook section on Kernel Configuration Files: 16# 17# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 18# 19# The handbook is also available locally in /usr/share/doc/handbook 20# if you've installed the doc distribution, otherwise always see the 21# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 22# latest information. 23# 24# An exhaustive list of options and more detailed explanations of the 25# device lines is also present in the ../../conf/NOTES and NOTES files. 26# If you are in doubt as to the purpose or necessity of a line, check first 27# in NOTES. 28# 29 30cpu HAMMER 31ident MINIMAL 32 33makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 34makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 35 36options SCHED_ULE # ULE scheduler 37options NUMA # Non-Uniform Memory Architecture support 38options PREEMPTION # Enable kernel thread preemption 39options INET # InterNETworking 40options INET6 # IPv6 communications protocols 41options TCP_OFFLOAD # TCP offload 42options SCTP_SUPPORT # Allow kldload of SCTP 43options SOFTUPDATES # Enable FFS soft updates support 44options UFS_ACL # Support for access control lists 45options UFS_DIRHASH # Improve performance on big directories 46options UFS_GJOURNAL # Enable gjournal-based UFS journaling 47options QUOTA # Enable disk quotas for UFS 48options MD_ROOT # MD is a potential root device 49options GEOM_LABEL # Provides labelization 50options COMPAT_FREEBSD32 # Compatible with i386 binaries 51options COMPAT_FREEBSD4 # Compatible with FreeBSD4 52options COMPAT_FREEBSD5 # Compatible with FreeBSD5 53options COMPAT_FREEBSD6 # Compatible with FreeBSD6 54options COMPAT_FREEBSD7 # Compatible with FreeBSD7 55options COMPAT_FREEBSD9 # Compatible with FreeBSD9 56options COMPAT_FREEBSD10 # Compatible with FreeBSD10 57options COMPAT_FREEBSD11 # Compatible with FreeBSD11 58options COMPAT_FREEBSD12 # Compatible with FreeBSD12 59options COMPAT_FREEBSD13 # Compatible with FreeBSD13 60options COMPAT_FREEBSD14 # Compatible with FreeBSD14 61options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 62options KTRACE # ktrace(1) support 63options STACK # stack(9) support 64options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 65options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 66options KBD_INSTALL_CDEV # install a CDEV entry in /dev 67options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 68options AUDIT # Security event auditing 69options CAPABILITY_MODE # Capsicum capability mode 70options CAPABILITIES # Capsicum capabilities 71options MAC # TrustedBSD MAC Framework 72options KDTRACE_FRAME # Ensure frames are compiled in 73options KDTRACE_HOOKS # Kernel DTrace hooks 74options DDB_CTF # Kernel ELF linker loads CTF data 75options INCLUDE_CONFIG_FILE # Include this file in kernel 76 77# Debugging support. Always need this: 78options KDB # Enable kernel debugger support. 79options KDB_TRACE # Print a stack trace for a panic. 80 81# Make an SMP-capable kernel by default 82options SMP # Symmetric MultiProcessor Kernel 83 84# CPU frequency control 85device cpufreq 86 87# Bus support. 88device acpi 89options IOMMU 90device pci 91 92# atkbdc0 controls both the keyboard and the PS/2 mouse 93device atkbdc # AT keyboard controller 94device atkbd # AT keyboard 95device psm # PS/2 mouse 96 97device kbdmux # keyboard multiplexer 98 99# syscons is the legacy console driver, resembling an SCO console 100device vga # VGA video card driver 101device splash # Splash screen and screen saver support 102device sc 103options SC_PIXEL_MODE # add support for the raster text mode 104 105# vt is the default video console driver 106device vt 107device vt_vga 108device vt_efifb 109device vt_vbefb 110 111device agp # support several AGP chipsets 112 113# Serial (COM) ports 114device uart # Generic UART driver 115 116# Pseudo devices. 117device loop # Network loopback 118device padlock_rng # VIA Padlock RNG 119device rdrand_rng # Intel Bull Mountain RNG 120device ether # Ethernet support 121 122# The `bpf' device enables the Berkeley Packet Filter. 123# Be aware of the administrative consequences of enabling this! 124# Note that 'bpf' is required for DHCP. 125device bpf # Berkeley packet filter 126 127# VirtIO support 128device virtio # Generic VirtIO bus (required) 129device virtio_pci # VirtIO PCI device 130device vtnet # VirtIO Ethernet device 131device virtio_blk # VirtIO Block device 132device virtio_balloon # VirtIO Memory Balloon device 133 134# Linux KVM paravirtualization support 135device kvm_clock # KVM paravirtual clock driver 136 137# Xen HVM Guest Optimizations 138# NOTE: XENHVM depends on xenpci and xentimer. 139# They must be added or removed together. 140options XENHVM # Xen HVM kernel infrastructure 141device xenefi # Xen EFI timer device 142device xenpci # Xen HVM Hypervisor services driver 143device xentimer # Xen x86 PV timer device 144 145# evdev interface 146options EVDEV_SUPPORT # evdev support in legacy drivers 147device evdev # input event device support 148device uinput # install /dev/uinput cdev 149