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