xref: /freebsd/sys/amd64/conf/MINIMAL (revision 14b8531c4ccb836d755ce8a4f1b384164b5d9d94)
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 	VIMAGE			# Subsystem virtualization, e.g. VNET
40options 	INET			# InterNETworking
41options 	INET6			# IPv6 communications protocols
42options 	TCP_OFFLOAD		# TCP offload
43options 	SCTP_SUPPORT		# Allow kldload of SCTP
44options 	SOFTUPDATES		# Enable FFS soft updates support
45options 	UFS_ACL			# Support for access control lists
46options 	UFS_DIRHASH		# Improve performance on big directories
47options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
48options 	QUOTA			# Enable disk quotas for UFS
49options 	MD_ROOT			# MD is a potential root device
50options 	GEOM_LABEL		# Provides labelization
51options 	COMPAT_FREEBSD32	# Compatible with i386 binaries
52options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
53options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
54options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
55options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
56options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
57options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
58options 	KTRACE			# ktrace(1) support
59options 	STACK			# stack(9) support
60options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
62options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
63options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
64options 	AUDIT			# Security event auditing
65options 	CAPABILITY_MODE		# Capsicum capability mode
66options 	CAPABILITIES		# Capsicum capabilities
67options 	MAC			# TrustedBSD MAC Framework
68options 	KDTRACE_FRAME		# Ensure frames are compiled in
69options 	KDTRACE_HOOKS		# Kernel DTrace hooks
70options 	DDB_CTF			# Kernel ELF linker loads CTF data
71options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
72
73# Debugging support.  Always need this:
74options 	KDB			# Enable kernel debugger support.
75options 	KDB_TRACE		# Print a stack trace for a panic.
76# For full debugger support use (turn off in stable branch):
77include "std.debug"
78
79# Compression support
80options 	GZIO			# gzip (dumps)
81options 	ZSTDIO			# zstd (dumps, tarfs, uzip, zfs)
82
83# Make an SMP-capable kernel by default
84options 	SMP			# Symmetric MultiProcessor Kernel
85
86# CPU frequency control
87device		cpufreq
88
89# Bus support.
90device		acpi
91options 	IOMMU
92device		pci
93
94# atkbdc0 controls both the keyboard and the PS/2 mouse
95device		atkbdc			# AT keyboard controller
96device		atkbd			# AT keyboard
97device		psm			# PS/2 mouse
98
99device		kbdmux			# keyboard multiplexer
100
101# syscons is the legacy console driver, resembling an SCO console
102device		vga			# VGA video card driver
103device		splash			# Splash screen and screen saver support
104device		sc
105options 	SC_PIXEL_MODE		# add support for the raster text mode
106
107# vt is the default video console driver
108device		vt
109device		vt_vga
110device		vt_efifb
111device		vt_vbefb
112
113device		agp			# support several AGP chipsets
114
115# Serial (COM) ports
116device		uart			# Generic UART driver
117
118# Pseudo devices.
119device		loop			# Network loopback
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# random(4)
128device		padlock_rng		# VIA Padlock RNG
129device		rdrand_rng		# Intel Bull Mountain RNG
130# Disabled for now since tpm(4) breaks suspend/resume.
131#device		tpm			# Trusted Platform Module
132options 	RANDOM_ENABLE_TPM	# enable entropy from TPM 2.0
133options 	RANDOM_ENABLE_KBD
134options 	RANDOM_ENABLE_MOUSE
135
136# VirtIO support
137device		virtio			# Generic VirtIO bus (required)
138device		virtio_pci		# VirtIO PCI device
139device		vtnet			# VirtIO Ethernet device
140device		virtio_blk		# VirtIO Block device
141device		virtio_balloon		# VirtIO Memory Balloon device
142device		virtio_scsi		# VirtIO SCSI device
143
144# Linux KVM paravirtualization support
145device		kvm_clock		# KVM paravirtual clock driver
146
147# Xen HVM Guest Optimizations
148# NOTE: XENHVM depends on xenpci and xentimer.
149# They must be added or removed together.
150options 	XENHVM			# Xen HVM kernel infrastructure
151device		xenefi			# Xen EFI timer device
152device		xenpci			# Xen HVM Hypervisor services driver
153device		xentimer		# Xen x86 PV timer device
154
155# evdev interface
156options 	EVDEV_SUPPORT		# evdev support in legacy drivers
157device		evdev			# input event device support
158device		uinput			# install /dev/uinput cdev
159
160# NVM Express (NVMe) support
161device		nvme			# base NVMe driver
162
163# ATA controllers
164device		ahci			# AHCI-compatible SATA controllers
165
166# CAM
167device		scbus			# SCSI bus (required for ATA/SCSI)
168device		da			# Direct Access (disks)
169device		cd			# CD
170device		pass			# Passthrough device (direct ATA/SCSI access)
171