xref: /freebsd/sys/i386/conf/MINIMAL (revision a4a10b37d422dcdff2b0d700ab073b3078627a08)
16e423878SConrad Meyer#
26e423878SConrad Meyer# MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/i386
36e423878SConrad Meyer#
46e423878SConrad Meyer# Many definitions of minimal are possible. The one this file follows is
56e423878SConrad Meyer# GENERIC, minus all functionality that can be replaced by loading kernel
66e423878SConrad Meyer# modules.
76e423878SConrad Meyer#
86e423878SConrad Meyer# Exceptions:
96e423878SConrad Meyer# o While UFS is buildable as a module, the current module lacks
106e423878SConrad Meyer#   some features (ACL, GJOURNAL) that GENERIC includes.
116e423878SConrad Meyer# o acpi as a module has been reported flakey and not well tested, so
126e423878SConrad Meyer#   is included in the kernel.
13c363b16cSConrad Meyer# o (non-loaded) random is included due to uncertainty...
146e423878SConrad Meyer# o Many networking things are included
156e423878SConrad Meyer#
166e423878SConrad Meyer# For now, please run changes to these list past imp@freebsd.org
176e423878SConrad Meyer#
186e423878SConrad Meyer# For more information on this file, please read the config(5) manual page,
196e423878SConrad Meyer# and/or the handbook section on Kernel Configuration Files:
206e423878SConrad Meyer#
216e423878SConrad Meyer#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
226e423878SConrad Meyer#
236e423878SConrad Meyer# The handbook is also available locally in /usr/share/doc/handbook
246e423878SConrad Meyer# if you've installed the doc distribution, otherwise always see the
256e423878SConrad Meyer# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
266e423878SConrad Meyer# latest information.
276e423878SConrad Meyer#
286e423878SConrad Meyer# An exhaustive list of options and more detailed explanations of the
296e423878SConrad Meyer# device lines is also present in the ../../conf/NOTES and NOTES files.
306e423878SConrad Meyer# If you are in doubt as to the purpose or necessity of a line, check first
316e423878SConrad Meyer# in NOTES.
326e423878SConrad Meyer#
336e423878SConrad Meyer# $FreeBSD$
346e423878SConrad Meyer
356e423878SConrad Meyercpu		I486_CPU
366e423878SConrad Meyercpu		I586_CPU
376e423878SConrad Meyercpu		I686_CPU
386e423878SConrad Meyerident		MINIMAL
396e423878SConrad Meyer
406e423878SConrad Meyermakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
416e423878SConrad Meyermakeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
426e423878SConrad Meyer
436e423878SConrad Meyeroptions 	SCHED_ULE		# ULE scheduler
446e423878SConrad Meyeroptions 	PREEMPTION		# Enable kernel thread preemption
456e423878SConrad Meyeroptions 	INET			# InterNETworking
466e423878SConrad Meyeroptions 	INET6			# IPv6 communications protocols
476e423878SConrad Meyeroptions 	TCP_OFFLOAD		# TCP offload
48e64080e7SMark Johnstonoptions 	SCTP_SUPPORT		# Allow kldload of SCTP
496e423878SConrad Meyeroptions 	FFS			# Berkeley Fast Filesystem
506e423878SConrad Meyeroptions 	SOFTUPDATES		# Enable FFS soft updates support
516e423878SConrad Meyeroptions 	UFS_ACL			# Support for access control lists
526e423878SConrad Meyeroptions 	UFS_DIRHASH		# Improve performance on big directories
536e423878SConrad Meyeroptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
546e423878SConrad Meyeroptions 	QUOTA			# Enable disk quotas for UFS
556e423878SConrad Meyeroptions 	MD_ROOT			# MD is a potential root device
566e423878SConrad Meyeroptions 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
576e423878SConrad Meyeroptions 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
586e423878SConrad Meyeroptions 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
596e423878SConrad Meyeroptions 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
606e423878SConrad Meyeroptions 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
616e423878SConrad Meyeroptions 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
626e423878SConrad Meyeroptions 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
63d6745408SConrad Meyeroptions 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
646e423878SConrad Meyeroptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
656e423878SConrad Meyeroptions 	KTRACE			# ktrace(1) support
666e423878SConrad Meyeroptions 	STACK			# stack(9) support
676e423878SConrad Meyeroptions 	SYSVSHM			# SYSV-style shared memory
686e423878SConrad Meyeroptions 	SYSVMSG			# SYSV-style message queues
696e423878SConrad Meyeroptions 	SYSVSEM			# SYSV-style semaphores
706e423878SConrad Meyeroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
716e423878SConrad Meyeroptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
726e423878SConrad Meyeroptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
736e423878SConrad Meyeroptions 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
746e423878SConrad Meyeroptions 	AUDIT			# Security event auditing
756e423878SConrad Meyeroptions 	CAPABILITY_MODE		# Capsicum capability mode
766e423878SConrad Meyeroptions 	CAPABILITIES		# Capsicum capabilities
776e423878SConrad Meyeroptions 	MAC			# TrustedBSD MAC Framework
786e423878SConrad Meyeroptions 	KDTRACE_FRAME		# Ensure frames are compiled in
796e423878SConrad Meyeroptions 	KDTRACE_HOOKS		# Kernel DTrace hooks
806e423878SConrad Meyeroptions 	DDB_CTF			# Kernel ELF linker loads CTF data
816e423878SConrad Meyeroptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
826e423878SConrad Meyer
836e423878SConrad Meyer# Debugging support.  Always need this:
846e423878SConrad Meyeroptions 	KDB			# Enable kernel debugger support.
856e423878SConrad Meyeroptions 	KDB_TRACE		# Print a stack trace for a panic.
866e423878SConrad Meyer# For full debugger support use (turn off in stable branch):
876e423878SConrad Meyeroptions 	DDB			# Support DDB.
886e423878SConrad Meyeroptions 	GDB			# Support remote GDB.
896e423878SConrad Meyeroptions 	DEADLKRES		# Enable the deadlock resolver
906e423878SConrad Meyeroptions 	INVARIANTS		# Enable calls of extra sanity checking
916e423878SConrad Meyeroptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
926e423878SConrad Meyeroptions 	WITNESS			# Enable checks to detect deadlocks and cycles
936e423878SConrad Meyeroptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
946e423878SConrad Meyeroptions 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
9590ba2725SKyle Evansoptions 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
966e423878SConrad Meyer
976e423878SConrad Meyer# Make an SMP-capable kernel by default
986e423878SConrad Meyeroptions 	SMP			# Symmetric MultiProcessor Kernel
996e423878SConrad Meyeroptions 	EARLY_AP_STARTUP
1006e423878SConrad Meyerdevice		apic
1016e423878SConrad Meyer
1026e423878SConrad Meyer# CPU frequency control
1036e423878SConrad Meyerdevice		cpufreq
1046e423878SConrad Meyer
1056e423878SConrad Meyer# Bus support.
1066e423878SConrad Meyerdevice		acpi
1076e423878SConrad Meyerdevice		pci
1086e423878SConrad Meyer
1096e423878SConrad Meyer# atkbdc0 controls both the keyboard and the PS/2 mouse
1106e423878SConrad Meyerdevice		atkbdc			# AT keyboard controller
1116e423878SConrad Meyerdevice		atkbd			# AT keyboard
1126e423878SConrad Meyerdevice		psm			# PS/2 mouse
1136e423878SConrad Meyer
1146e423878SConrad Meyerdevice		kbdmux			# keyboard multiplexer
1156e423878SConrad Meyer
1166e423878SConrad Meyerdevice		vga			# VGA video card driver
1176e423878SConrad Meyeroptions 	VESA			# Add support for VESA BIOS Extensions (VBE)
1186e423878SConrad Meyer
1196e423878SConrad Meyerdevice		splash			# Splash screen and screen saver support
1206e423878SConrad Meyer
1216e423878SConrad Meyer# syscons is the default console driver, resembling an SCO console
1226e423878SConrad Meyerdevice		sc
1236e423878SConrad Meyeroptions 	SC_PIXEL_MODE		# add support for the raster text mode
1246e423878SConrad Meyer
1256e423878SConrad Meyer# vt is the new video console driver
1266e423878SConrad Meyerdevice		vt
1276e423878SConrad Meyerdevice		vt_vga
1286e423878SConrad Meyerdevice		vt_efifb
129*a4a10b37SToomas Soomedevice		vt_vbefb
1306e423878SConrad Meyer
1316e423878SConrad Meyerdevice		agp			# support several AGP chipsets
1326e423878SConrad Meyer
1336e423878SConrad Meyer# Pseudo devices.
1346e423878SConrad Meyerdevice		loop			# Network loopback
1356e423878SConrad Meyerdevice		padlock_rng		# VIA Padlock RNG
1366e423878SConrad Meyerdevice		rdrand_rng		# Intel Bull Mountain RNG
1376e423878SConrad Meyerdevice		ether			# Ethernet support
1386e423878SConrad Meyerdevice		vlan			# 802.1Q VLAN support
139251a32b5SKyle Evansdevice		tuntap			# Packet tunnel.
1406e423878SConrad Meyerdevice		gif			# IPv6 and IPv4 tunneling
1416e423878SConrad Meyer
1426e423878SConrad Meyer# The `bpf' device enables the Berkeley Packet Filter.
1436e423878SConrad Meyer# Be aware of the administrative consequences of enabling this!
1446e423878SConrad Meyer# Note that 'bpf' is required for DHCP.
1456e423878SConrad Meyerdevice		bpf			# Berkeley packet filter
1466e423878SConrad Meyer
1476e423878SConrad Meyer# Xen HVM Guest Optimizations
1486e423878SConrad Meyer# NOTE: XENHVM depends on xenpci.  They must be added or removed together.
1496e423878SConrad Meyeroptions 	XENHVM			# Xen HVM kernel infrastructure
1506e423878SConrad Meyerdevice		xenpci			# Xen HVM Hypervisor services driver
151af14df77SNiclas Zeising
152af14df77SNiclas Zeising# evdev interface
153af14df77SNiclas Zeisingoptions 	EVDEV_SUPPORT		# evdev support in legacy drivers
154af14df77SNiclas Zeisingdevice		evdev			# input event device support
155af14df77SNiclas Zeisingdevice		uinput			# install /dev/uinput cdev
156