1*af8cf710SWarner Losh# 2*af8cf710SWarner Losh# MINIMAL -- Mostly Minimal kernel configuration file for FreeBSD/amd64 3*af8cf710SWarner Losh# 4*af8cf710SWarner Losh# Many definitions of minimal are possible. The one this file follows is 5*af8cf710SWarner Losh# GENERIC, minus all functionality that can be replaced by loading kernel 6*af8cf710SWarner Losh# modules. 7*af8cf710SWarner Losh# 8*af8cf710SWarner Losh# Exceptions: 9*af8cf710SWarner Losh# o While UFS is buildable as a module, the current module lacks 10*af8cf710SWarner Losh# some features (ACL, GJOURNAL) that GENERIC includes. 11*af8cf710SWarner Losh# o acpi as a module has been reported flakey and not well tested, so 12*af8cf710SWarner Losh# is included in the kernel. 13*af8cf710SWarner Losh# o random is included due to uncertaty... 14*af8cf710SWarner Losh# o Many networking things are included 15*af8cf710SWarner Losh# 16*af8cf710SWarner Losh# For now, please run changes to these list past imp@freebsd.org 17*af8cf710SWarner Losh# 18*af8cf710SWarner Losh# For more information on this file, please read the config(5) manual page, 19*af8cf710SWarner Losh# and/or the handbook section on Kernel Configuration Files: 20*af8cf710SWarner Losh# 21*af8cf710SWarner Losh# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 22*af8cf710SWarner Losh# 23*af8cf710SWarner Losh# The handbook is also available locally in /usr/share/doc/handbook 24*af8cf710SWarner Losh# if you've installed the doc distribution, otherwise always see the 25*af8cf710SWarner Losh# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 26*af8cf710SWarner Losh# latest information. 27*af8cf710SWarner Losh# 28*af8cf710SWarner Losh# An exhaustive list of options and more detailed explanations of the 29*af8cf710SWarner Losh# device lines is also present in the ../../conf/NOTES and NOTES files. 30*af8cf710SWarner Losh# If you are in doubt as to the purpose or necessity of a line, check first 31*af8cf710SWarner Losh# in NOTES. 32*af8cf710SWarner Losh# 33*af8cf710SWarner Losh# $FreeBSD$ 34*af8cf710SWarner Losh 35*af8cf710SWarner Loshcpu HAMMER 36*af8cf710SWarner Loshident MINIMAL 37*af8cf710SWarner Losh 38*af8cf710SWarner Loshmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 39*af8cf710SWarner Loshmakeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 40*af8cf710SWarner Losh 41*af8cf710SWarner Loshoptions SCHED_ULE # ULE scheduler 42*af8cf710SWarner Loshoptions PREEMPTION # Enable kernel thread preemption 43*af8cf710SWarner Loshoptions INET # InterNETworking 44*af8cf710SWarner Loshoptions INET6 # IPv6 communications protocols 45*af8cf710SWarner Loshoptions TCP_OFFLOAD # TCP offload 46*af8cf710SWarner Loshoptions SCTP # Stream Control Transmission Protocol 47*af8cf710SWarner Loshoptions FFS # Berkeley Fast Filesystem 48*af8cf710SWarner Loshoptions SOFTUPDATES # Enable FFS soft updates support 49*af8cf710SWarner Loshoptions UFS_ACL # Support for access control lists 50*af8cf710SWarner Loshoptions UFS_DIRHASH # Improve performance on big directories 51*af8cf710SWarner Loshoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 52*af8cf710SWarner Loshoptions QUOTA # Enable disk quotas for UFS 53*af8cf710SWarner Loshoptions MD_ROOT # MD is a potential root device 54*af8cf710SWarner Loshoptions COMPAT_FREEBSD32 # Compatible with i386 binaries 55*af8cf710SWarner Loshoptions COMPAT_FREEBSD4 # Compatible with FreeBSD4 56*af8cf710SWarner Loshoptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 57*af8cf710SWarner Loshoptions COMPAT_FREEBSD6 # Compatible with FreeBSD6 58*af8cf710SWarner Loshoptions COMPAT_FREEBSD7 # Compatible with FreeBSD7 59*af8cf710SWarner Loshoptions COMPAT_FREEBSD9 # Compatible with FreeBSD9 60*af8cf710SWarner Loshoptions COMPAT_FREEBSD10 # Compatible with FreeBSD10 61*af8cf710SWarner Loshoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 62*af8cf710SWarner Loshoptions KTRACE # ktrace(1) support 63*af8cf710SWarner Loshoptions STACK # stack(9) support 64*af8cf710SWarner Loshoptions SYSVSHM # SYSV-style shared memory 65*af8cf710SWarner Loshoptions SYSVMSG # SYSV-style message queues 66*af8cf710SWarner Loshoptions SYSVSEM # SYSV-style semaphores 67*af8cf710SWarner Loshoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 68*af8cf710SWarner Loshoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 69*af8cf710SWarner Loshoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 70*af8cf710SWarner Loshoptions HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 71*af8cf710SWarner Loshoptions AUDIT # Security event auditing 72*af8cf710SWarner Loshoptions CAPABILITY_MODE # Capsicum capability mode 73*af8cf710SWarner Loshoptions CAPABILITIES # Capsicum capabilities 74*af8cf710SWarner Loshoptions MAC # TrustedBSD MAC Framework 75*af8cf710SWarner Loshoptions KDTRACE_FRAME # Ensure frames are compiled in 76*af8cf710SWarner Loshoptions KDTRACE_HOOKS # Kernel DTrace hooks 77*af8cf710SWarner Loshoptions DDB_CTF # Kernel ELF linker loads CTF data 78*af8cf710SWarner Loshoptions INCLUDE_CONFIG_FILE # Include this file in kernel 79*af8cf710SWarner Losh 80*af8cf710SWarner Losh# Debugging support. Always need this: 81*af8cf710SWarner Loshoptions KDB # Enable kernel debugger support. 82*af8cf710SWarner Loshoptions KDB_TRACE # Print a stack trace for a panic. 83*af8cf710SWarner Losh# For full debugger support use (turn off in stable branch): 84*af8cf710SWarner Loshoptions DDB # Support DDB. 85*af8cf710SWarner Loshoptions GDB # Support remote GDB. 86*af8cf710SWarner Loshoptions DEADLKRES # Enable the deadlock resolver 87*af8cf710SWarner Loshoptions INVARIANTS # Enable calls of extra sanity checking 88*af8cf710SWarner Loshoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 89*af8cf710SWarner Loshoptions WITNESS # Enable checks to detect deadlocks and cycles 90*af8cf710SWarner Loshoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 91*af8cf710SWarner Loshoptions MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 92*af8cf710SWarner Losh 93*af8cf710SWarner Losh# Make an SMP-capable kernel by default 94*af8cf710SWarner Loshoptions SMP # Symmetric MultiProcessor Kernel 95*af8cf710SWarner Losh 96*af8cf710SWarner Losh# CPU frequency control 97*af8cf710SWarner Loshdevice cpufreq 98*af8cf710SWarner Losh 99*af8cf710SWarner Losh# Bus support. 100*af8cf710SWarner Loshdevice acpi 101*af8cf710SWarner Loshoptions ACPI_DMAR 102*af8cf710SWarner Loshdevice pci 103*af8cf710SWarner Losh 104*af8cf710SWarner Losh# atkbdc0 controls both the keyboard and the PS/2 mouse 105*af8cf710SWarner Loshdevice atkbdc # AT keyboard controller 106*af8cf710SWarner Loshdevice atkbd # AT keyboard 107*af8cf710SWarner Loshdevice psm # PS/2 mouse 108*af8cf710SWarner Losh 109*af8cf710SWarner Loshdevice kbdmux # keyboard multiplexer 110*af8cf710SWarner Losh 111*af8cf710SWarner Loshdevice vga # VGA video card driver 112*af8cf710SWarner Loshoptions VESA # Add support for VESA BIOS Extensions (VBE) 113*af8cf710SWarner Losh 114*af8cf710SWarner Loshdevice splash # Splash screen and screen saver support 115*af8cf710SWarner Losh 116*af8cf710SWarner Losh# syscons is the default console driver, resembling an SCO console 117*af8cf710SWarner Loshdevice sc 118*af8cf710SWarner Loshoptions SC_PIXEL_MODE # add support for the raster text mode 119*af8cf710SWarner Losh 120*af8cf710SWarner Losh# vt is the new video console driver 121*af8cf710SWarner Loshdevice vt 122*af8cf710SWarner Loshdevice vt_vga 123*af8cf710SWarner Loshdevice vt_efifb 124*af8cf710SWarner Losh 125*af8cf710SWarner Loshdevice agp # support several AGP chipsets 126*af8cf710SWarner Losh 127*af8cf710SWarner Losh# Pseudo devices. 128*af8cf710SWarner Loshdevice loop # Network loopback 129*af8cf710SWarner Loshdevice random # Entropy device 130*af8cf710SWarner Loshdevice padlock_rng # VIA Padlock RNG 131*af8cf710SWarner Loshdevice rdrand_rng # Intel Bull Mountain RNG 132*af8cf710SWarner Loshdevice ether # Ethernet support 133*af8cf710SWarner Loshdevice vlan # 802.1Q VLAN support 134*af8cf710SWarner Loshdevice tun # Packet tunnel. 135*af8cf710SWarner Loshdevice gif # IPv6 and IPv4 tunneling 136*af8cf710SWarner Losh 137*af8cf710SWarner Losh# The `bpf' device enables the Berkeley Packet Filter. 138*af8cf710SWarner Losh# Be aware of the administrative consequences of enabling this! 139*af8cf710SWarner Losh# Note that 'bpf' is required for DHCP. 140*af8cf710SWarner Loshdevice bpf # Berkeley packet filter 141*af8cf710SWarner Losh 142*af8cf710SWarner Losh# Xen HVM Guest Optimizations 143*af8cf710SWarner Losh# NOTE: XENHVM depends on xenpci. They must be added or removed together. 144*af8cf710SWarner Loshoptions XENHVM # Xen HVM kernel infrastructure 145*af8cf710SWarner Loshdevice xenpci # Xen HVM Hypervisor services driver 146