xref: /freebsd/sys/i386/conf/MINIMAL (revision eb6b6622fe858fef7896bb25a8a79dbd08b01335)
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# $FreeBSD$
34
35cpu		I486_CPU
36cpu		I586_CPU
37cpu		I686_CPU
38ident		MINIMAL
39
40makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
41makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
42
43options 	SCHED_ULE		# ULE scheduler
44options 	PREEMPTION		# Enable kernel thread preemption
45options 	INET			# InterNETworking
46options 	INET6			# IPv6 communications protocols
47options		CC_NEWRENO		# include newreno congestion control
48options		CC_DEFAULT=\"newreno\"	# define our default CC module it should be compiled in.
49options 	TCP_OFFLOAD		# TCP offload
50options 	SCTP_SUPPORT		# Allow kldload of SCTP
51options 	FFS			# Berkeley Fast Filesystem
52options 	SOFTUPDATES		# Enable FFS soft updates support
53options 	UFS_ACL			# Support for access control lists
54options 	UFS_DIRHASH		# Improve performance on big directories
55options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
56options 	QUOTA			# Enable disk quotas for UFS
57options 	MD_ROOT			# MD is a potential root device
58options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
59options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
60options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
61options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
62options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
63options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
64options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
65options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
66options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
67options 	KTRACE			# ktrace(1) support
68options 	STACK			# stack(9) support
69options 	SYSVSHM			# SYSV-style shared memory
70options 	SYSVMSG			# SYSV-style message queues
71options 	SYSVSEM			# SYSV-style semaphores
72options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
73options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
74options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
75options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
76options 	AUDIT			# Security event auditing
77options 	CAPABILITY_MODE		# Capsicum capability mode
78options 	CAPABILITIES		# Capsicum capabilities
79options 	MAC			# TrustedBSD MAC Framework
80options 	KDTRACE_FRAME		# Ensure frames are compiled in
81options 	KDTRACE_HOOKS		# Kernel DTrace hooks
82options 	DDB_CTF			# Kernel ELF linker loads CTF data
83options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
84
85# Debugging support.  Always need this:
86options 	KDB			# Enable kernel debugger support.
87options 	KDB_TRACE		# Print a stack trace for a panic.
88# For full debugger support use (turn off in stable branch):
89options 	DDB			# Support DDB.
90options 	GDB			# Support remote GDB.
91options 	DEADLKRES		# Enable the deadlock resolver
92options 	INVARIANTS		# Enable calls of extra sanity checking
93options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
94options 	WITNESS			# Enable checks to detect deadlocks and cycles
95options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
96options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
97options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
98
99# Make an SMP-capable kernel by default
100options 	SMP			# Symmetric MultiProcessor Kernel
101options 	EARLY_AP_STARTUP
102device		apic
103
104# CPU frequency control
105device		cpufreq
106
107# Bus support.
108device		acpi
109device		smbios
110device		pci
111
112# atkbdc0 controls both the keyboard and the PS/2 mouse
113device		atkbdc			# AT keyboard controller
114device		atkbd			# AT keyboard
115device		psm			# PS/2 mouse
116
117device		kbdmux			# keyboard multiplexer
118
119device		vga			# VGA video card driver
120options 	VESA			# Add support for VESA BIOS Extensions (VBE)
121
122device		splash			# Splash screen and screen saver support
123
124# syscons is the default console driver, resembling an SCO console
125device		sc
126options 	SC_PIXEL_MODE		# add support for the raster text mode
127
128# vt is the new video console driver
129device		vt
130device		vt_vga
131device		vt_efifb
132device		vt_vbefb
133
134device		agp			# support several AGP chipsets
135
136# Pseudo devices.
137device		loop			# Network loopback
138device		padlock_rng		# VIA Padlock RNG
139device		rdrand_rng		# Intel Bull Mountain RNG
140device		ether			# Ethernet support
141device		vlan			# 802.1Q VLAN support
142device		tuntap			# Packet tunnel.
143device		gif			# IPv6 and IPv4 tunneling
144
145# The `bpf' device enables the Berkeley Packet Filter.
146# Be aware of the administrative consequences of enabling this!
147# Note that 'bpf' is required for DHCP.
148device		bpf			# Berkeley packet filter
149
150# Linux KVM paravirtualization support
151device		kvm_clock		# KVM paravirtual clock driver
152
153# Xen HVM Guest Optimizations
154# NOTE: XENHVM depends on xenpci.  They must be added or removed together.
155options 	XENHVM			# Xen HVM kernel infrastructure
156device		xenpci			# Xen HVM Hypervisor services driver
157device		xentimer	# Xen x86 PV timer device
158
159# evdev interface
160options 	EVDEV_SUPPORT		# evdev support in legacy drivers
161device		evdev			# input event device support
162device		uinput			# install /dev/uinput cdev
163