Advertisement
Guest User

freebsd kernel configuration file

a guest
Aug 3rd, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.02 KB | None | 0 0
  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/amd64
  3. #
  4. # For more information on this file, please read the config(5) manual page,
  5. # and/or the handbook section on Kernel Configuration Files:
  6. #
  7. # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
  8. #
  9. # The handbook is also available locally in /usr/share/doc/handbook
  10. # if you've installed the doc distribution, otherwise always see the
  11. # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
  12. # latest information.
  13. #
  14. # An exhaustive list of options and more detailed explanations of the
  15. # device lines is also present in the ../../conf/NOTES and NOTES files.
  16. # If you are in doubt as to the purpose or necessity of a line, check first
  17. # in NOTES.
  18. #
  19.  
  20. cpu HAMMER
  21. ident HPPVG4
  22.  
  23. #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
  24. makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
  25.  
  26. options SCHED_ULE # ULE scheduler
  27. #options NUMA # Non-Uniform Memory Architecture support
  28. options PREEMPTION # Enable kernel thread preemption
  29. #options VIMAGE # Subsystem virtualization, e.g. VNET
  30. options INET # InterNETworking
  31. options INET6 # IPv6 communications protocols
  32. options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
  33. options IPSEC_OFFLOAD # Inline ipsec offload infra
  34. options ROUTE_MPATH # Multipath routing support
  35. options FIB_ALGO # Modular fib lookups
  36. options TCP_OFFLOAD # TCP offload
  37. options TCP_BLACKBOX # Enhanced TCP event logging
  38. options TCP_HHOOK # hhook(9) framework for TCP
  39. options TCP_RFC7413 # TCP Fast Open
  40. options SCTP_SUPPORT # Allow kldload of SCTP
  41. options KERN_TLS # TLS transmit & receive offload
  42. options FFS # Berkeley Fast Filesystem
  43. options SOFTUPDATES # Enable FFS soft updates support
  44. options UFS_ACL # Support for access control lists
  45. options UFS_DIRHASH # Improve performance on big directories
  46. options UFS_GJOURNAL # Enable gjournal-based UFS journaling
  47. options QUOTA # Enable disk quotas for UFS
  48. options MD_ROOT # MD is a potential root device
  49. #options NFSCL # Network Filesystem Client
  50. #options NFSD # Network Filesystem Server
  51. #options NFSLOCKD # Network Lock Manager
  52. #options NFS_ROOT # NFS usable as /, requires NFSCL
  53. options MSDOSFS # MSDOS Filesystem
  54. options CD9660 # ISO 9660 Filesystem
  55. options PROCFS # Process filesystem (requires PSEUDOFS)
  56. options PSEUDOFS # Pseudo-filesystem framework
  57. options TMPFS # Efficient memory filesystem
  58. #options GEOM_RAID # Soft RAID functionality.
  59. options GEOM_LABEL # Provides labelization
  60. options EFIRT # EFI Runtime Services support
  61. options COMPAT_FREEBSD32 # Compatible with i386 binaries
  62. options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  63. options COMPAT_FREEBSD5 # Compatible with FreeBSD5
  64. options COMPAT_FREEBSD6 # Compatible with FreeBSD6
  65. options COMPAT_FREEBSD7 # Compatible with FreeBSD7
  66. options COMPAT_FREEBSD9 # Compatible with FreeBSD9
  67. options COMPAT_FREEBSD10 # Compatible with FreeBSD10
  68. options COMPAT_FREEBSD11 # Compatible with FreeBSD11
  69. options COMPAT_FREEBSD12 # Compatible with FreeBSD12
  70. options COMPAT_FREEBSD13 # Compatible with FreeBSD13
  71. options COMPAT_FREEBSD14 # Compatible with FreeBSD14
  72. options SCSI_DELAY=2500 # Delay (in ms) before probing SCSI
  73. options KTRACE # ktrace(1) support
  74. options STACK # stack(9) support
  75. options SYSVSHM # SYSV-style shared memory
  76. options SYSVMSG # SYSV-style message queues
  77. options SYSVSEM # SYSV-style semaphores
  78. options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  79. options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
  80. options KBD_INSTALL_CDEV # install a CDEV entry in /dev
  81. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
  82. options AUDIT # Security event auditing
  83. options CAPABILITY_MODE # Capsicum capability mode
  84. options CAPABILITIES # Capsicum capabilities
  85. options MAC # TrustedBSD MAC Framework
  86. options KDTRACE_FRAME # Ensure frames are compiled in
  87. options KDTRACE_HOOKS # Kernel DTrace hooks
  88. options DDB_CTF # Kernel ELF linker loads CTF data
  89. #options INCLUDE_CONFIG_FILE # Include this file in kernel
  90. options RACCT # Resource accounting framework
  91. options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
  92. options RCTL # Resource limits
  93.  
  94. # Debugging support. Always need this:
  95. options KDB # Enable kernel debugger support.
  96. options KDB_TRACE # Print a stack trace for a panic.
  97. # For full debugger support use (turn off in stable branch):
  98. include "std.debug"
  99.  
  100. # Kernel dump features.
  101. options EKCD # Support for encrypted kernel dumps
  102. #options GZIO # gzip-compressed kernel and user dumps
  103. options ZSTDIO # zstd-compressed kernel and user dumps
  104. #options DEBUGNET # debugnet networking
  105. #options NETDUMP # netdump(4) client support
  106. #options NETGDB # netgdb(4) client support
  107.  
  108. # Make an SMP-capable kernel by default
  109. options SMP # Symmetric MultiProcessor Kernel
  110.  
  111. # CPU frequency control
  112. device cpufreq
  113.  
  114. # Bus support.
  115. device acpi
  116. device smbios
  117. options IOMMU
  118. device pci
  119. #options PCI_HP # PCI-Express native HotPlug
  120. options PCI_IOV # PCI SR-IOV support
  121.  
  122. options COMPAT_LINUXKPI
  123.  
  124. # Enable support for the kernel PLL to use an external PPS signal,
  125. # under supervision of [x]ntpd(8)
  126. # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
  127.  
  128. options PPS_SYNC
  129.  
  130. # Floppy drives
  131. device fdc
  132.  
  133. # ATA controllers
  134. device ahci # AHCI-compatible SATA controllers
  135. #device ata # Legacy ATA/SATA controllers
  136. #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
  137. #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
  138.  
  139. # SCSI Controllers
  140. #device ahc # AHA2940 and onboard AIC7xxx devices
  141. #device ahd # AHA39320/29320 and onboard AIC79xx devices
  142. #device hptiop # Highpoint RocketRaid 3xxx series
  143. #device isp # Qlogic family
  144. #device ispfw # Firmware for QLogic HBAs- normally a module
  145. #device mpt # LSI-Logic MPT-Fusion
  146. #device mps # LSI-Logic MPT-Fusion 2
  147. #device mpr # LSI-Logic MPT-Fusion 3
  148. #device sym # NCR/Symbios Logic
  149. #device isci # Intel C600 SAS controller
  150. #device ocs_fc # Emulex FC adapters
  151. #device pvscsi # VMware PVSCSI
  152.  
  153. # ATA/SCSI peripherals
  154. device scbus # SCSI bus (required for ATA/SCSI)
  155. #device ch # SCSI media changers
  156. device da # Direct Access (disks)
  157. #device sa # Sequential Access (tape etc)
  158. device cd # CD
  159. #device pass # Passthrough device (direct ATA/SCSI access)
  160. #device ses # Enclosure Services (SES and SAF-TE)
  161. #device ctl # CAM Target Layer
  162.  
  163. # RAID controllers interfaced to the SCSI subsystem
  164. #device arcmsr # Areca SATA II RAID
  165. #device ciss # Compaq Smart RAID 5*
  166. #device ips # IBM (Adaptec) ServeRAID
  167. #device smartpqi # Microsemi smartpqi driver
  168. #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
  169.  
  170. # RAID controllers
  171. #device aac # Adaptec FSA RAID
  172. #device aacp # SCSI passthrough for aac (requires CAM)
  173. #device aacraid # Adaptec by PMC RAID
  174. #device ida # Compaq Smart RAID
  175. #device mfi # LSI MegaRAID SAS
  176. #device mlx # Mylex DAC960 family
  177. #device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
  178. #XXX pointer/int warnings
  179. #device pst # Promise Supertrak SX6000
  180.  
  181. # NVM Express (NVMe) support
  182. #device nvme # base NVMe driver
  183. #device nvd # expose NVMe namespaces as disks, depends on nvme
  184.  
  185. # Intel Volume Management Device (VMD) support
  186. #device vmd
  187.  
  188. # atkbdc0 controls both the keyboard and the PS/2 mouse
  189. device atkbdc # AT keyboard controller
  190. device atkbd # AT keyboard
  191. device psm # PS/2 mouse
  192.  
  193. device kbdmux # keyboard multiplexer
  194.  
  195. # syscons is the legacy console driver, resembling an SCO console
  196. device vga # VGA video card driver
  197. device splash # Splash screen and screen saver support
  198. device sc
  199. options SC_PIXEL_MODE # add support for the raster text mode
  200.  
  201. # vt is the default video console driver
  202. device vt
  203. device vt_vga
  204. #device vt_efifb
  205. device vt_vbefb
  206.  
  207. device agp # support several AGP chipsets
  208.  
  209. # CardBus bridge support
  210. device cbb # CardBus (yenta) bridge
  211. device cardbus # CardBus (32-bit) bus
  212.  
  213. # Serial (COM) ports
  214. #device uart # Generic UART driver
  215.  
  216. # Parallel port
  217. #device ppc
  218. #device ppbus # Parallel port bus (required)
  219. #device lpt # Printer
  220. #device ppi # Parallel port interface device
  221. #device vpo # Requires scbus and da
  222.  
  223. #device puc # Multi I/O cards and multi-channel UARTs
  224.  
  225. # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
  226. #device iflib
  227. #device em # Intel PRO/1000 Gigabit Ethernet Family
  228. #device igc # Intel I225 2.5G Ethernet
  229. #device ix # Intel PRO/10GbE PCIE PF Ethernet
  230. #device ixv # Intel PRO/10GbE PCIE VF Ethernet
  231. #device ixl # Intel 700 Series Physical Function
  232. #device iavf # Intel Adaptive Virtual Function
  233. #device ice # Intel 800 Series Physical Function
  234. #device vmx # VMware VMXNET3 Ethernet
  235. #device axp # AMD EPYC integrated NIC (requires miibus)
  236.  
  237. # PCI Ethernet NICs.
  238. #device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
  239. #device le # AMD Am7900 LANCE and Am79C9xx PCnet
  240. #device ti # Alteon Networks Tigon I/II gigabit Ethernet
  241.  
  242. # Nvidia/Mellanox Connect-X 4 and later, Ethernet only
  243. # o requires COMPAT_LINUXKPI and xz(4)
  244. # o mlx5ib requires ibcore infra and is not included by default
  245. #device mlx5 # Base driver
  246. #device mlxfw # Firmware update
  247. #device mlx5en # Ethernet driver
  248.  
  249. # PCI Ethernet NICs that use the common MII bus controller code.
  250. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  251. device miibus # MII bus support
  252. #device ae # Attansic/Atheros L2 FastEthernet
  253. #device age # Attansic/Atheros L1 Gigabit Ethernet
  254. #device alc # Atheros AR8131/AR8132 Ethernet
  255. #device ale # Atheros AR8121/AR8113/AR8114 Ethernet
  256. #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
  257. #device bfe # Broadcom BCM440x 10/100 Ethernet
  258. #device bge # Broadcom BCM570xx Gigabit Ethernet
  259. #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn
  260. #device dc # DEC/Intel 21143 and various workalikes
  261. #device et # Agere ET1310 10/100/Gigabit Ethernet
  262. #device fxp # Intel EtherExpress PRO/100B (82557, 82558)
  263. #device gem # Sun GEM/Sun ERI/Apple GMAC
  264. #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
  265. #device lge # Level 1 LXT1001 gigabit Ethernet
  266. #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
  267. #device nfe # nVidia nForce MCP on-board Ethernet
  268. #device nge # NatSemi DP83820 gigabit Ethernet
  269. device re # RealTek 8139C+/8169/8169S/8110S
  270. #device rl # RealTek 8129/8139
  271. #device sge # Silicon Integrated Systems SiS190/191
  272. #device sis # Silicon Integrated Systems SiS 900/SiS 7016
  273. #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
  274. #device ste # Sundance ST201 (D-Link DFE-550TX)
  275. #device stge # Sundance/Tamarack TC9021 gigabit Ethernet
  276. #device vge # VIA VT612x gigabit Ethernet
  277. #device vr # VIA Rhine, Rhine II
  278. #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
  279.  
  280. # Wireless NIC cards
  281. device wlan # 802.11 support
  282. #options IEEE80211_DEBUG # enable debug msgs
  283. options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
  284. device wlan_wep # 802.11 WEP support
  285. device wlan_ccmp # 802.11 CCMP support
  286. device wlan_tkip # 802.11 TKIP support
  287. device wlan_amrr # AMRR transmit rate control algorithm
  288. #device ath # Atheros CardBus/PCI NICs
  289. #device ath_hal # Atheros CardBus/PCI chip support
  290. #options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
  291. #device ath_rate_sample # SampleRate tx rate control for ath
  292. device bwi # Broadcom BCM430x/BCM431x wireless NICs.
  293. device bwn # Broadcom BCM43xx wireless NICs.
  294. #device ipw # Intel 2100 wireless NICs.
  295. #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs.
  296. #device iwn # Intel 4965/1000/5000/6000 wireless NICs.
  297. #device malo # Marvell Libertas wireless NICs.
  298. #device mwl # Marvell 88W8363 802.11n wireless NICs.
  299. #device ral # Ralink Technology RT2500 wireless NICs.
  300. #device wpi # Intel 3945ABG wireless NICs.
  301.  
  302. # Pseudo devices.
  303. device crypto # core crypto support
  304. device aesni # AES-NI OpenCrypto module
  305. device loop # Network loopback
  306. #device padlock_rng # VIA Padlock RNG
  307. #device rdrand_rng # Intel Bull Mountain RNG
  308. device ether # Ethernet support
  309. device vlan # 802.1Q VLAN support
  310. device tuntap # Packet tunnel.
  311. device md # Memory "disks"
  312. device gif # IPv6 and IPv4 tunneling
  313. device firmware # firmware assist module
  314. device xz # lzma decompression
  315.  
  316. # The `bpf' device enables the Berkeley Packet Filter.
  317. # Be aware of the administrative consequences of enabling this!
  318. # Note that 'bpf' is required for DHCP.
  319. device bpf # Berkeley packet filter
  320.  
  321. # USB support
  322. #options USB_DEBUG # enable debug msgs
  323. device uhci # UHCI PCI->USB interface
  324. device ohci # OHCI PCI->USB interface
  325. device ehci # EHCI PCI->USB interface (USB 2.0)
  326. device xhci # XHCI PCI->USB interface (USB 3.0)
  327. device usb # USB Bus (required)
  328. device usbhid # USB HID Transport
  329. device hkbd # HID Keyboard
  330. device ukbd # USB Keyboard
  331. device umass # Disks/Mass storage - Requires scbus and da
  332.  
  333. # Sound support
  334. device sound # Generic sound driver (required)
  335. #device snd_cmi # CMedia CMI8338/CMI8738
  336. #device snd_csa # Crystal Semiconductor CS461x/428x
  337. #device snd_emu10kx # Creative SoundBlaster Live! and Audigy
  338. #device snd_es137x # Ensoniq AudioPCI ES137x
  339. device snd_hda # Intel High Definition Audio
  340. #device snd_ich # Intel, NVidia and other ICH AC'97 Audio
  341. #device snd_via8233 # VIA VT8233x Audio
  342.  
  343. # MMC/SD
  344. device mmc # MMC/SD bus
  345. device mmcsd # MMC/SD memory card
  346. device sdhci # Generic PCI SD Host Controller
  347.  
  348. # VirtIO support
  349. #device virtio # Generic VirtIO bus (required)
  350. #device virtio_pci # VirtIO PCI device
  351. #device vtnet # VirtIO Ethernet device
  352. #device virtio_blk # VirtIO Block device
  353. #device virtio_scsi # VirtIO SCSI device
  354. #device virtio_balloon # VirtIO Memory Balloon device
  355.  
  356. # Linux KVM paravirtualization support
  357. #device kvm_clock # KVM paravirtual clock driver
  358.  
  359. # HyperV drivers and enhancement support
  360. #device hyperv # HyperV drivers
  361.  
  362. # Xen HVM Guest Optimizations
  363. # NOTE: XENHVM depends on xenpci and xentimer.
  364. # They must be added or removed together.
  365. #options XENHVM # Xen HVM kernel infrastructure
  366. #device xenefi # Xen EFI timer device
  367. #device xenpci # Xen HVM Hypervisor services driver
  368. #device xentimer # Xen x86 PV timer device
  369.  
  370. # Netmap provides direct access to TX/RX rings on supported NICs
  371. #device netmap # netmap(4) support
  372.  
  373. # evdev interface
  374. options EVDEV_SUPPORT # evdev support in legacy drivers
  375. device evdev # input event device support
  376. device uinput # install /dev/uinput cdev
  377.  
  378. # HID support
  379. #options HID_DEBUG # enable debug msgs
  380. device hid # Generic HID support
  381. device hidbus # Generic HID Bus
  382. options IICHID_SAMPLING # Workaround missing GPIO INTR support
  383.  
  384. # EFI devices
  385. #device efidev # EFI pseudo-device
  386. #device efirtc # EFI RTC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement