Skip to content

Instantly share code, notes, and snippets.

@attilagyorffy
Last active July 3, 2016 18:02
Show Gist options
  • Save attilagyorffy/6bd3f1cf01252ef85d7c to your computer and use it in GitHub Desktop.
Save attilagyorffy/6bd3f1cf01252ef85d7c to your computer and use it in GitHub Desktop.
Latest working FreeBSD kernel on Vultr
# /boot/loader.conf
autoboot_delay="3" # Reduce countdown on splash screen (defaults to 10 seconds)
beastie_disable="YES" # Turn off the "Beastie" menu and revert to the standard loader countdown
# /usr/src/sys/amd64/conf/REWIREMIN
ident GENERIC
cpu HAMMER
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
device acpi
device adv # Advansys SCSI adapters
device bpf # Berkeley packet filter
device cpufreq
device da # Direct Access (disks)
device ether # ?? Ethernet support
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
device gif # IPv6 and IPv4 tunneling
device loop # Network loopback
device md # Memory "disks"
device pass # Passthrough device (direct ATA/SCSI access)
device pci # ??
device ppbus # Parallel port bus (required)
device ppi # ?? Parallel port interface device
device random # Entropy device
device rdrand_rng # Intel Bull Mountain RNG
device sc
device scbus # SCSI bus (required for ATA/SCSI)
device tun # Packet tunnel.
device uart # Generic UART driver
device usb # USB Bus (required)
device vga # ?? VGA video card driver
device virtio # Generic VirtIO bus (required)
device virtio_balloon # VirtIO Memory Balloon device
device virtio_blk # VirtIO Block device
device virtio_pci # VirtIO PCI device
device virtio_scsi # VirtIO SCSI device
device vlan # 802.1Q VLAN support
device vtnet # VirtIO Ethernet device
options ACPI_DMAR
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
options ATA_STATIC_ID # Static device numbering
options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
options AUDIT # Security event auditing
options CAPABILITIES # Capsicum capabilities
options CAPABILITY_MODE # Capsicum capability mode
options CD9660 # ISO 9660 Filesystem
options DDB_CTF # Kernel ELF linker loads CTF data
options FFS # Berkeley Fast Filesystem
options GEOM_LABEL # Provides labelization
options GEOM_PART_GPT # GUID Partition Tables.
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options INCLUDE_CONFIG_FILE # Include this file in kernel
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options KDB # Enable kernel debugger support.
options KDB_TRACE # Print a stack trace for a panic.
options KDTRACE_FRAME # Ensure frames are compiled in
options KDTRACE_HOOKS # Kernel DTrace hooks
options KTRACE # ktrace(1) support
options MAC # TrustedBSD MAC Framework
options MD_ROOT # MD is a potential root device
options NFSCL # New Network Filesystem Client
options NFSD # New Network Filesystem Server
options NFSLOCKD # Network Lock Manager
options NFS_ROOT # NFS usable as /, requires NFSCL
options PREEMPTION # Enable kernel thread preemption
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options PROCDESC # Support for process descriptors
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options QUOTA # Enable disk quotas for UFS
options SCHED_ULE # ULE scheduler
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options SCTP # Stream Control Transmission Protocol
options SC_PIXEL_MODE # add support for the raster text mode
options SMP # Symmetric MultiProcessor Kernel
options SOFTUPDATES # Enable FFS soft updates support
options STACK # stack(9) support
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options SYSVSHM # SYSV-style shared memory
options TCP_OFFLOAD # TCP offload
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment