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 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
16 # For now, please run changes to these list past imp@freebsd.org
18 # For more information on this file, please read the config(5) manual page,
19 # and/or the handbook section on Kernel Configuration Files:
21 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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
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
38 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
39 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
41 options SCHED_ULE # ULE scheduler
42 options NUMA # Non-Uniform Memory Architecture support
43 options PREEMPTION # Enable kernel thread preemption
44 options INET # InterNETworking
45 options INET6 # IPv6 communications protocols
46 options TCP_OFFLOAD # TCP offload
47 options SCTP_SUPPORT # Allow kldload of SCTP
48 options FFS # Berkeley Fast Filesystem
49 options SOFTUPDATES # Enable FFS soft updates support
50 options UFS_ACL # Support for access control lists
51 options UFS_DIRHASH # Improve performance on big directories
52 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
53 options QUOTA # Enable disk quotas for UFS
54 options MD_ROOT # MD is a potential root device
55 options COMPAT_FREEBSD32 # Compatible with i386 binaries
56 options COMPAT_FREEBSD4 # Compatible with FreeBSD4
57 options COMPAT_FREEBSD5 # Compatible with FreeBSD5
58 options COMPAT_FREEBSD6 # Compatible with FreeBSD6
59 options COMPAT_FREEBSD7 # Compatible with FreeBSD7
60 options COMPAT_FREEBSD9 # Compatible with FreeBSD9
61 options COMPAT_FREEBSD10 # Compatible with FreeBSD10
62 options COMPAT_FREEBSD11 # Compatible with FreeBSD11
63 options COMPAT_FREEBSD12 # Compatible with FreeBSD12
64 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
65 options KTRACE # ktrace(1) support
66 options STACK # stack(9) support
67 options SYSVSHM # SYSV-style shared memory
68 options SYSVMSG # SYSV-style message queues
69 options SYSVSEM # SYSV-style semaphores
70 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
71 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
72 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
73 options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
74 options AUDIT # Security event auditing
75 options CAPABILITY_MODE # Capsicum capability mode
76 options CAPABILITIES # Capsicum capabilities
77 options MAC # TrustedBSD MAC Framework
78 options KDTRACE_FRAME # Ensure frames are compiled in
79 options KDTRACE_HOOKS # Kernel DTrace hooks
80 options DDB_CTF # Kernel ELF linker loads CTF data
81 options INCLUDE_CONFIG_FILE # Include this file in kernel
83 # Debugging support. Always need this:
84 options KDB # Enable kernel debugger support.
85 options KDB_TRACE # Print a stack trace for a panic.
87 # Make an SMP-capable kernel by default
88 options SMP # Symmetric MultiProcessor Kernel
89 options EARLY_AP_STARTUP
91 # CPU frequency control
99 # atkbdc0 controls both the keyboard and the PS/2 mouse
100 device atkbdc # AT keyboard controller
101 device atkbd # AT keyboard
102 device psm # PS/2 mouse
104 device kbdmux # keyboard multiplexer
106 device vga # VGA video card driver
107 options VESA # Add support for VESA BIOS Extensions (VBE)
109 device splash # Splash screen and screen saver support
111 # syscons is the default console driver, resembling an SCO console
113 options SC_PIXEL_MODE # add support for the raster text mode
115 # vt is the new video console driver
121 device agp # support several AGP chipsets
124 device loop # Network loopback
125 device padlock_rng # VIA Padlock RNG
126 device rdrand_rng # Intel Bull Mountain RNG
127 device ether # Ethernet support
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.
132 device bpf # Berkeley packet filter
134 # Linux KVM paravirtualization support
135 device kvm_clock # KVM paravirtual clock driver
137 # Xen HVM Guest Optimizations
138 # NOTE: XENHVM depends on xenpci and xentimer.
139 # They must be added or removed together.
140 options XENHVM # Xen HVM kernel infrastructure
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