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