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