xref: /freebsd/sys/i386/conf/MINIMAL (revision d0b2dbfa)
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 	INET			# InterNETworking
45options 	INET6			# IPv6 communications protocols
46options 	TCP_OFFLOAD		# TCP offload
47options 	SCTP_SUPPORT		# Allow kldload of SCTP
48options 	FFS			# Berkeley Fast Filesystem
49options 	SOFTUPDATES		# Enable FFS soft updates support
50options 	UFS_ACL			# Support for access control lists
51options 	UFS_DIRHASH		# Improve performance on big directories
52options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
53options 	QUOTA			# Enable disk quotas for UFS
54options 	MD_ROOT			# MD is a potential root device
55options 	GEOM_LABEL		# Provides labelization
56options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
57options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
58options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
59options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
60options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
61options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
62options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
63options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
64options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
65options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
66options 	KTRACE			# ktrace(1) support
67options 	STACK			# stack(9) support
68options 	SYSVSHM			# SYSV-style shared memory
69options 	SYSVMSG			# SYSV-style message queues
70options 	SYSVSEM			# SYSV-style semaphores
71options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
72options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
73options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
74options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
75options 	AUDIT			# Security event auditing
76options 	CAPABILITY_MODE		# Capsicum capability mode
77options 	CAPABILITIES		# Capsicum capabilities
78options 	MAC			# TrustedBSD MAC Framework
79options 	KDTRACE_FRAME		# Ensure frames are compiled in
80options 	KDTRACE_HOOKS		# Kernel DTrace hooks
81options 	DDB_CTF			# Kernel ELF linker loads CTF data
82options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
83
84# Debugging support.  Always need this:
85options 	KDB			# Enable kernel debugger support.
86options 	KDB_TRACE		# Print a stack trace for a panic.
87
88# Make an SMP-capable kernel by default
89options 	SMP			# Symmetric MultiProcessor Kernel
90device		apic
91
92# CPU frequency control
93device		cpufreq
94
95# Bus support.
96device		acpi
97device		smbios
98device		pci
99
100# atkbdc0 controls both the keyboard and the PS/2 mouse
101device		atkbdc			# AT keyboard controller
102device		atkbd			# AT keyboard
103device		psm			# PS/2 mouse
104
105device		kbdmux			# keyboard multiplexer
106
107# syscons is the legacy console driver, resembling an SCO console
108device		vga			# VGA video card driver
109device		splash			# Splash screen and screen saver support
110device		sc
111options 	SC_PIXEL_MODE		# add support for the raster text mode
112
113# vt is the default video console driver
114device		vt
115device		vt_vga
116device		vt_efifb
117device		vt_vbefb
118
119device		agp			# support several AGP chipsets
120
121# Serial (COM) ports
122device		uart			# Generic UART driver
123
124# Pseudo devices.
125device		loop			# Network loopback
126device		padlock_rng		# VIA Padlock RNG
127device		rdrand_rng		# Intel Bull Mountain RNG
128device		ether			# Ethernet support
129
130# The `bpf' device enables the Berkeley Packet Filter.
131# Be aware of the administrative consequences of enabling this!
132# Note that 'bpf' is required for DHCP.
133device		bpf			# Berkeley packet filter
134
135# VirtIO support
136device		virtio			# Generic VirtIO bus (required)
137device		virtio_pci		# VirtIO PCI device
138device		vtnet			# VirtIO Ethernet device
139device		virtio_blk		# VirtIO Block device
140device		virtio_balloon		# VirtIO Memory Balloon device
141
142# Linux KVM paravirtualization support
143device		kvm_clock		# KVM paravirtual clock driver
144
145# Xen HVM Guest Optimizations
146# NOTE: XENHVM depends on xenpci and xentimer.
147# They must be added or removed together.
148options 	XENHVM			# Xen HVM kernel infrastructure
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