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