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