1. #
  2. # VM4 -- Custom kernel configuration - adapted from GENERIC for 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. # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  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 (http://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. cpu HAMMER # aka K8, Opteron, Athlon64
  20. ident VM4 # Name for this kernel config
  21. options SCHED_ULE # ULE scheduler
  22. options PREEMPTION # Enable kernel thread preemption
  23. options INET # InterNETworking
  24. options INET6 # IPv6 communications protocols
  25. options TCP_OFFLOAD # TCP offload
  26. options SCTP # Stream Control Transmission Protocol
  27. options FFS # Berkeley Fast Filesystem
  28. options SOFTUPDATES # Enable FFS soft updates support
  29. options UFS_ACL # Support for access control lists
  30. options UFS_DIRHASH # Improve performance on big directories
  31. options UFS_GJOURNAL # Enable gjournal-based UFS journaling
  32. options QUOTA # Enable disk quotas for UFS
  33. options MD_ROOT # MD is a potential root device
  34. options NFSCL # New Network Filesystem Client
  35. options NFSD # New Network Filesystem Server
  36. options NFSLOCKD # Network Lock Manager
  37. options NFS_ROOT # NFS usable as /, requires NFSCL
  38. #options MSDOSFS # MSDOS Filesystem
  39. #options CD9660 # ISO 9660 Filesystem
  40. options PROCFS # Process filesystem (requires PSEUDOFS)
  41. options PSEUDOFS # Pseudo-filesystem framework
  42. options GEOM_PART_GPT # GUID Partition Tables.
  43. options GEOM_RAID # Soft RAID functionality.
  44. options GEOM_LABEL # Provides labelization
  45. options COMPAT_FREEBSD32 # Compatible with i386 binaries
  46. options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  47. options COMPAT_FREEBSD5 # Compatible with FreeBSD5
  48. options COMPAT_FREEBSD6 # Compatible with FreeBSD6
  49. options COMPAT_FREEBSD7 # Compatible with FreeBSD7
  50. options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
  51. #options KTRACE # ktrace(1) support
  52. options STACK # stack(9) support
  53. options SYSVSHM # SYSV-style shared memory
  54. options SYSVMSG # SYSV-style message queues
  55. options SYSVSEM # SYSV-style semaphores
  56. options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  57. options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
  58. options KBD_INSTALL_CDEV # install a CDEV entry in /dev
  59. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
  60. options AUDIT # Security event auditing
  61. options MAC # TrustedBSD MAC Framework
  62. #options KDTRACE_FRAME # Ensure frames are compiled in
  63. #options KDTRACE_HOOKS # Kernel DTrace hooks
  64. options INCLUDE_CONFIG_FILE # Include this file in kernel
  65. #options KDB # Enable kernel debugger support
  66. #options KDB_TRACE # Print a stack trace for a panic
  67. options DDB_CTF # kernel ELF linker loads CTF data
  68. # Make an SMP-capable kernel by default
  69. options SMP # Symmetric MultiProcessor Kernel
  70. # CPU frequency control
  71. device cpufreq
  72. # Bus support.
  73. device acpi
  74. device pci
  75. # ATA controllers
  76. device ahci # AHCI-compatible SATA controllers
  77. device ata # Legacy ATA/SATA controllers
  78. #options ATA_CAM # Handle legacy controllers with CAM
  79. options ATA_STATIC_ID # Static device numbering
  80. # ATA/SCSI peripherals
  81. device scbus # SCSI bus (required for ATA/SCSI)
  82. device ch # SCSI media changers
  83. device da # Direct Access (disks)
  84. device sa # Sequential Access (tape etc)
  85. device cd # CD
  86. device pass # Passthrough device (direct ATA/SCSI access)
  87. #device ses # Enclosure Services (SES and SAF-TE)
  88. #device ctl # CAM Target Layer
  89. # atkbdc0 controls both the keyboard and the PS/2 mouse
  90. device atkbdc # AT keyboard controller
  91. device atkbd # AT keyboard
  92. device psm # PS/2 mouse
  93. device kbdmux # keyboard multiplexer
  94. device vga # VGA video card driver
  95. options VESA # Add support for VESA BIOS Extensions (VBE)
  96. #device splash # Splash screen and screen saver support
  97. # syscons is the default console driver, resembling an SCO console
  98. device sc
  99. options SC_PIXEL_MODE # add support for the raster text mode
  100. device agp # support several AGP chipsets
  101. # PCCARD (PCMCIA) support
  102. # PCMCIA and cardbus bridge support
  103. device cbb # cardbus (yenta) bridge
  104. device pccard # PC Card (16-bit) bus
  105. device cardbus # CardBus (32-bit) bus
  106. # Serial (COM) ports
  107. device uart # Generic UART driver
  108. # Parallel port
  109. #device ppc
  110. #device ppbus # Parallel port bus (required)
  111. #device lpt # Printer
  112. #device plip # TCP/IP over parallel
  113. #device ppi # Parallel port interface device
  114. #device puc # Multi I/O cards and multi-channel UARTs
  115. # PCI Ethernet NICs.
  116. device em # Intel PRO/1000 Gigabit Ethernet Family
  117. # Pseudo devices.
  118. device loop # Network loopback
  119. device random # Entropy device
  120. device ether # Ethernet support
  121. device vlan # 802.1Q VLAN support
  122. device tun # Packet tunnel.
  123. #device pty # BSD-style compatibility pseudo ttys
  124. #device md # Memory "disks"
  125. device gif # IPv6 and IPv4 tunneling
  126. device faith # IPv6-to-IPv4 relaying (translation)
  127. device firmware # firmware assist module
  128. # The `bpf' device enables the Berkeley Packet Filter.
  129. # Be aware of the administrative consequences of enabling this!
  130. # Note that 'bpf' is required for DHCP.
  131. device bpf # Berkeley packet filter
  132. # USB support
  133. #options USB_DEBUG # enable debug msgs
  134. device uhci # UHCI PCI->USB interface
  135. device ohci # OHCI PCI->USB interface
  136. device ehci # EHCI PCI->USB interface (USB 2.0)
  137. device xhci # XHCI PCI->USB interface (USB 3.0)
  138. device usb # USB Bus (required)
  139. #device uhid # "Human Interface Devices"
  140. device ukbd # Keyboard
  141. #device ulpt # Printer
  142. device umass # Disks/Mass storage - Requires scbus and da
  143. #device ums # Mouse
  144. # USB Serial devices
  145. #device u3g # USB-based 3G modems (Option, Huawei, Sierra)
  146. # Sound support
  147. device sound # Generic sound driver (required)
  148. device snd_hda # Intel High Definition Audio
  149. device snd_ich # Intel, NVidia and other ICH AC'97 Audio
  150. # VirtIO support
  151. device virtio # Generic VirtIO bus (required)
  152. device virtio_pci # VirtIO PCI device
  153. device vtnet # VirtIO Ethernet device
  154. device virtio_blk # VirtIO Block device
  155. device virtio_scsi # VirtIO SCSI device
  156. device virtio_balloon # VirtIO Memory Balloon device#
  157. # VM4 -- Custom kernel configuration - adapted from GENERIC for amd64
  158. #
  159. # For more information on this file, please read the config(5) manual page,
  160. # and/or the handbook section on Kernel Configuration Files:
  161. #
  162. # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  163. #
  164. # The handbook is also available locally in /usr/share/doc/handbook
  165. # if you've installed the doc distribution, otherwise always see the
  166. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  167. # latest information.
  168. #
  169. # An exhaustive list of options and more detailed explanations of the
  170. # device lines is also present in the ../../conf/NOTES and NOTES files.
  171. # If you are in doubt as to the purpose or necessity of a line, check first
  172. # in NOTES.
  173. #
  174. cpu HAMMER # aka K8, Opteron, Athlon64
  175. ident VM4 # Name for this kernel config
  176. options SCHED_ULE # ULE scheduler
  177. options PREEMPTION # Enable kernel thread preemption
  178. options INET # InterNETworking
  179. options INET6 # IPv6 communications protocols
  180. options TCP_OFFLOAD # TCP offload
  181. options SCTP # Stream Control Transmission Protocol
  182. options FFS # Berkeley Fast Filesystem
  183. options SOFTUPDATES # Enable FFS soft updates support
  184. options UFS_ACL # Support for access control lists
  185. options UFS_DIRHASH # Improve performance on big directories
  186. options UFS_GJOURNAL # Enable gjournal-based UFS journaling
  187. options QUOTA # Enable disk quotas for UFS
  188. options MD_ROOT # MD is a potential root device
  189. options NFSCL # New Network Filesystem Client
  190. options NFSD # New Network Filesystem Server
  191. options NFSLOCKD # Network Lock Manager
  192. options NFS_ROOT # NFS usable as /, requires NFSCL
  193. #options MSDOSFS # MSDOS Filesystem
  194. #options CD9660 # ISO 9660 Filesystem
  195. options PROCFS # Process filesystem (requires PSEUDOFS)
  196. options PSEUDOFS # Pseudo-filesystem framework
  197. options GEOM_PART_GPT # GUID Partition Tables.
  198. options GEOM_RAID # Soft RAID functionality.
  199. options GEOM_LABEL # Provides labelization
  200. options COMPAT_FREEBSD32 # Compatible with i386 binaries
  201. options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  202. options COMPAT_FREEBSD5 # Compatible with FreeBSD5
  203. options COMPAT_FREEBSD6 # Compatible with FreeBSD6
  204. options COMPAT_FREEBSD7 # Compatible with FreeBSD7
  205. options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
  206. #options KTRACE # ktrace(1) support
  207. options STACK # stack(9) support
  208. options SYSVSHM # SYSV-style shared memory
  209. options SYSVMSG # SYSV-style message queues
  210. options SYSVSEM # SYSV-style semaphores
  211. options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  212. options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
  213. options KBD_INSTALL_CDEV # install a CDEV entry in /dev
  214. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
  215. options AUDIT # Security event auditing
  216. options MAC # TrustedBSD MAC Framework
  217. #options KDTRACE_FRAME # Ensure frames are compiled in
  218. #options KDTRACE_HOOKS # Kernel DTrace hooks
  219. options INCLUDE_CONFIG_FILE # Include this file in kernel
  220. #options KDB # Enable kernel debugger support
  221. #options KDB_TRACE # Print a stack trace for a panic
  222. options DDB_CTF # kernel ELF linker loads CTF data
  223. # Make an SMP-capable kernel by default
  224. options SMP # Symmetric MultiProcessor Kernel
  225. # CPU frequency control
  226. device cpufreq
  227. # Bus support.
  228. device acpi
  229. device pci
  230. # ATA controllers
  231. device ahci # AHCI-compatible SATA controllers
  232. device ata # Legacy ATA/SATA controllers
  233. #options ATA_CAM # Handle legacy controllers with CAM
  234. options ATA_STATIC_ID # Static device numbering
  235. # ATA/SCSI peripherals
  236. device scbus # SCSI bus (required for ATA/SCSI)
  237. device ch # SCSI media changers
  238. device da # Direct Access (disks)
  239. device sa # Sequential Access (tape etc)
  240. device cd # CD
  241. device pass # Passthrough device (direct ATA/SCSI access)
  242. #device ses # Enclosure Services (SES and SAF-TE)
  243. #device ctl # CAM Target Layer
  244. # atkbdc0 controls both the keyboard and the PS/2 mouse
  245. device atkbdc # AT keyboard controller
  246. device atkbd # AT keyboard
  247. device psm # PS/2 mouse
  248. device kbdmux # keyboard multiplexer
  249. device vga # VGA video card driver
  250. options VESA # Add support for VESA BIOS Extensions (VBE)
  251. #device splash # Splash screen and screen saver support
  252. # syscons is the default console driver, resembling an SCO console
  253. device sc
  254. options SC_PIXEL_MODE # add support for the raster text mode
  255. device agp # support several AGP chipsets
  256. # PCCARD (PCMCIA) support
  257. # PCMCIA and cardbus bridge support
  258. device cbb # cardbus (yenta) bridge
  259. device pccard # PC Card (16-bit) bus
  260. device cardbus # CardBus (32-bit) bus
  261. # Serial (COM) ports
  262. device uart # Generic UART driver
  263. # Parallel port
  264. #device ppc
  265. #device ppbus # Parallel port bus (required)
  266. #device lpt # Printer
  267. #device plip # TCP/IP over parallel
  268. #device ppi # Parallel port interface device
  269. #device puc # Multi I/O cards and multi-channel UARTs
  270. # PCI Ethernet NICs.
  271. device em # Intel PRO/1000 Gigabit Ethernet Family
  272. # Pseudo devices.
  273. device loop # Network loopback
  274. device random # Entropy device
  275. device ether # Ethernet support
  276. device vlan # 802.1Q VLAN support
  277. device tun # Packet tunnel.
  278. #device pty # BSD-style compatibility pseudo ttys
  279. #device md # Memory "disks"
  280. device gif # IPv6 and IPv4 tunneling
  281. device faith # IPv6-to-IPv4 relaying (translation)
  282. device firmware # firmware assist module
  283. # The `bpf' device enables the Berkeley Packet Filter.
  284. # Be aware of the administrative consequences of enabling this!
  285. # Note that 'bpf' is required for DHCP.
  286. device bpf # Berkeley packet filter
  287. # USB support
  288. #options USB_DEBUG # enable debug msgs
  289. device uhci # UHCI PCI->USB interface
  290. device ohci # OHCI PCI->USB interface
  291. device ehci # EHCI PCI->USB interface (USB 2.0)
  292. device xhci # XHCI PCI->USB interface (USB 3.0)
  293. device usb # USB Bus (required)
  294. #device uhid # "Human Interface Devices"
  295. device ukbd # Keyboard
  296. #device ulpt # Printer
  297. device umass # Disks/Mass storage - Requires scbus and da
  298. #device ums # Mouse
  299. # USB Serial devices
  300. #device u3g # USB-based 3G modems (Option, Huawei, Sierra)
  301. # Sound support
  302. device sound # Generic sound driver (required)
  303. device snd_hda # Intel High Definition Audio
  304. device snd_ich # Intel, NVidia and other ICH AC'97 Audio
  305. # VirtIO support
  306. device virtio # Generic VirtIO bus (required)
  307. device virtio_pci # VirtIO PCI device
  308. device vtnet # VirtIO Ethernet device
  309. device virtio_blk # VirtIO Block device
  310. device virtio_scsi # VirtIO SCSI device
  311. device virtio_balloon # VirtIO Memory Balloon device

Custom kernel config