1# 2# MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/i386 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 (non-loaded) random is included due to uncertainty... 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://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 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 34cpu I486_CPU 35cpu I586_CPU 36cpu I686_CPU 37ident MINIMAL 38 39makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 40makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 41 42options SCHED_ULE # ULE scheduler 43options PREEMPTION # Enable kernel thread preemption 44options VIMAGE # Subsystem virtualization, e.g. VNET 45options INET # InterNETworking 46options INET6 # IPv6 communications protocols 47options TCP_OFFLOAD # TCP offload 48options SCTP_SUPPORT # Allow kldload of SCTP 49options FFS # Berkeley Fast Filesystem 50options SOFTUPDATES # Enable FFS soft updates support 51options UFS_ACL # Support for access control lists 52options UFS_DIRHASH # Improve performance on big directories 53options UFS_GJOURNAL # Enable gjournal-based UFS journaling 54options QUOTA # Enable disk quotas for UFS 55options MD_ROOT # MD is a potential root device 56options GEOM_LABEL # Provides labelization 57options COMPAT_FREEBSD4 # Compatible with FreeBSD4 58options COMPAT_FREEBSD5 # Compatible with FreeBSD5 59options COMPAT_FREEBSD6 # Compatible with FreeBSD6 60options COMPAT_FREEBSD7 # Compatible with FreeBSD7 61options COMPAT_FREEBSD9 # Compatible with FreeBSD9 62options COMPAT_FREEBSD10 # Compatible with FreeBSD10 63options COMPAT_FREEBSD11 # Compatible with FreeBSD11 64options COMPAT_FREEBSD12 # Compatible with FreeBSD12 65options COMPAT_FREEBSD13 # Compatible with FreeBSD13 66options COMPAT_FREEBSD14 # Compatible with FreeBSD14 67options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 68options KTRACE # ktrace(1) support 69options STACK # stack(9) support 70options SYSVSHM # SYSV-style shared memory 71options SYSVMSG # SYSV-style message queues 72options SYSVSEM # SYSV-style semaphores 73options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 74options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 75options KBD_INSTALL_CDEV # install a CDEV entry in /dev 76options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 77options AUDIT # Security event auditing 78options CAPABILITY_MODE # Capsicum capability mode 79options CAPABILITIES # Capsicum capabilities 80options MAC # TrustedBSD MAC Framework 81options KDTRACE_FRAME # Ensure frames are compiled in 82options KDTRACE_HOOKS # Kernel DTrace hooks 83options DDB_CTF # Kernel ELF linker loads CTF data 84options INCLUDE_CONFIG_FILE # Include this file in kernel 85 86# Debugging support. Always need this: 87options KDB # Enable kernel debugger support. 88options KDB_TRACE # Print a stack trace for a panic. 89# For full debugger support use (turn off in stable branch): 90include "std.debug" 91 92# Make an SMP-capable kernel by default 93options SMP # Symmetric MultiProcessor Kernel 94device apic 95 96# CPU frequency control 97device cpufreq 98 99# Bus support. 100device acpi 101device smbios 102device pci 103 104# atkbdc0 controls both the keyboard and the PS/2 mouse 105device atkbdc # AT keyboard controller 106device atkbd # AT keyboard 107device psm # PS/2 mouse 108 109device kbdmux # keyboard multiplexer 110 111# syscons is the legacy console driver, resembling an SCO console 112device vga # VGA video card driver 113device splash # Splash screen and screen saver support 114device sc 115options SC_PIXEL_MODE # add support for the raster text mode 116 117# vt is the default video console driver 118device vt 119device vt_vga 120device vt_efifb 121device vt_vbefb 122 123device agp # support several AGP chipsets 124 125# Serial (COM) ports 126device uart # Generic UART driver 127 128# Pseudo devices. 129device loop # Network loopback 130device padlock_rng # VIA Padlock RNG 131device rdrand_rng # Intel Bull Mountain RNG 132device ether # Ethernet support 133 134# The `bpf' device enables the Berkeley Packet Filter. 135# Be aware of the administrative consequences of enabling this! 136# Note that 'bpf' is required for DHCP. 137device bpf # Berkeley packet filter 138 139# VirtIO support 140device virtio # Generic VirtIO bus (required) 141device virtio_pci # VirtIO PCI device 142device vtnet # VirtIO Ethernet device 143device virtio_blk # VirtIO Block device 144device virtio_balloon # VirtIO Memory Balloon device 145 146# Linux KVM paravirtualization support 147device kvm_clock # KVM paravirtual clock driver 148 149# Xen HVM Guest Optimizations 150# NOTE: XENHVM depends on xenpci and xentimer. 151# They must be added or removed together. 152options XENHVM # Xen HVM kernel infrastructure 153device xenpci # Xen HVM Hypervisor services driver 154device xentimer # Xen x86 PV timer device 155 156# evdev interface 157options EVDEV_SUPPORT # evdev support in legacy drivers 158device evdev # input event device support 159device uinput # install /dev/uinput cdev 160 161# NVM Express (NVMe) support 162device nvme # base NVMe driver 163 164# ATA controllers 165device ahci # AHCI-compatible SATA controllers 166 167# CAM 168device scbus # SCSI bus (required for ATA/SCSI) 169device da # Direct Access (disks) 170device cd # CD 171device pass # Passthrough device (direct ATA/SCSI access) 172