我的 Acer 手提電腦 FreeBSD 9-Stable 核心配罝檔案
本帖最后由 ulovko 于 2012-08-01 09:57 编辑#===============================================================================
# 配置檔案識別名稱
#===============================================================================
ident ACER5552
#===============================================================================
# 架構是 HAMMER 即 amd64
#===============================================================================
cpu HAMMER
#===============================================================================
# 編譯選項:啟動 Kernel DTrace
#===============================================================================
makeoptions DEBUG="-g" # Build kernel with gdb(1) debug symbols
makeoptions WITH_CTF=1 # Build kernel support Dtrace
#options INCLUDE_CONFIG_FILE # Include this file in kernel
#===============================================================================
# 系統排程器選項
#===============================================================================
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
#===============================================================================
# 網絡通信協議選項
#===============================================================================
options SCTP # Stream Control Transmission Protocol
options INET # InterNETworking
options INET6 # IPv6 communications protocols
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
#===============================================================================
# NETGRAPH 子系統支援
#===============================================================================
options NETGRAPH
#===============================================================================
# PCI 滙流排選項
#===============================================================================
options NEW_PCIB # New PCI bridge codes
device pci
#===============================================================================
# GPT 啟動支援,UFS+J 啟動支援
#===============================================================================
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options GEOM_JOURNAL
#===============================================================================
# 檔案系統選項
#===============================================================================
options FFS # Berkeley Fast Filesystem
options UFS_ACL # Support for access control lists
options UFS_EXTATTR
options UFS_EXTATTR_AUTOSTART
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options QUOTA # enable disk quotas
options SUIDDIR
options MD_ROOT # MD is a potential root device
options MSDOSFS # MSDOS Filesystem
options NULLFS # NULL filesystem
options UDF # Universal Disk Format
options CD9660 # ISO 9660 Filesystem
options SMBFS # SMB/CIFS Filesystem
options NETSMB # SMB/CIFS requester
options LIBMCHAIN # mchain
options LIBICONV # kernel side iconv library
options CD9660_ICONV # Optional character code conversion
options MSDOSFS_ICONV # Optional character code conversion
options UDF_ICONV # Optional character code conversion
options FDESCFS # File descriptor filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
#===============================================================================
# Capsicum 沙盒支援
#===============================================================================
options CAPABILITIES # fine-grained rights on file descriptors
options CAPABILITY_MODE # sandboxes with no global namespace access
#===============================================================================
# 兼容支援選項,包括 Linux 32bit 支援
#===============================================================================
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD32 # Compatible with i386 binaries
options COMPAT_LINUX32 # Linux 32bit
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
#===============================================================================
# SYSV IPC 選項
#===============================================================================
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
#===============================================================================
# 保安架構選項
#===============================================================================
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
#===============================================================================
# 核心除錯器及 DTrace 支援
#===============================================================================
options DDB_CTF # kernel ELF linker loads CTF data
options KDTRACE_FRAME # Ensure frames are compiled in
options KDTRACE_HOOKS # Kernel DTrace hooks
options KDB # Kernel debugger related code
options KDB_TRACE # Print a stack trace for a panic
options KTRACE # ktrace(1) support
#===============================================================================
# PF 防火牆
#===============================================================================
device pf # packet filter
device pflog # packet filter
device pfsync # packet filter
#===============================================================================
# 其他核心選項
#===============================================================================
options FLOWTABLE # per-cpu routing cache
options STACK # stack(9) support
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
#===============================================================================
# AMD CPU 選項
#===============================================================================
options SMP # Symmetric MultiProcessor Kernel
device amdtemp
device cpufreq
#===============================================================================
# ACPI 選項
#===============================================================================
device acpi
device acpi_video
#===============================================================================
# SATA + CAM 選項
#===============================================================================
device ahci
device ata
options ATA_CAM
options ATA_STATIC_ID
#===============================================================================
# SCSI 選項
#===============================================================================
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device ada # SATA harddisk drive
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#===============================================================================
# AT 鍵盤,滑鼠, VGA
#===============================================================================
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device agp # AGP bus
device splash # Splash screen and screen saver support
device sc # syscon
#===============================================================================
# Serial Port
#===============================================================================
device uart # Generic UART driver
#===============================================================================
# 因特網介面支援及驅動程式
#===============================================================================
device miibus
device bge
device ether
#===============================================================================
# WiFi 無線介面支援及驅動程式
#===============================================================================
device wlan # 802.11 support
options IEEE80211_DEBUG # enable debug msgs
options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options IEEE80211_SUPPORT_MESH# enable 802.11s draft support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
device wlan_xauth
device ath # Atheros pci/cardbus NIC's
device ath_pci
device ath_hal # pci/cardbus chip support
options AH_SUPPORT_AR5416
device ath_rate_sample # SampleRate tx rate control for ath
#===============================================================================
# 虛擬網絡設備
#===============================================================================
device lagg # lagg interface
device loop # Network loopback
device tun # Packet tunnel.
device bpf # Berkeley packet filter
#===============================================================================
# 其他虛擬設備
#===============================================================================
device random # Entropy device
device pty # BSD-style compatibility pseudo ttys
device md # Memory "disks"
device firmware # firmware assist module
#===============================================================================
# USB 支援選項
#===============================================================================
options USB_DEBUG # enable debug msgs
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device udbp # USB Double Bulk Pipe devices
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uark # Technologies ARK3116 based serial adapters
device ubsa # Belkin F5U103 and compatible serial adapters
device uftdi # For FTDI usb serial adapters
device uipaq # Some WinCE based devices
device uplcom # Prolific PL-2303 serial adapters
device uslcom # SI Labs CP2101/CP2102 serial adapters
device uvisor # Visor and Palm devices
device uvscom # USB serial support for DDI pocket's PHS
#===============================================================================
# 音效支援選項
#===============================================================================
device sound # soundcard support
device snd_hda #
#===============================================================================
# 讀卡器支援選項
#===============================================================================
device mmc #
device mmcsd #
device sdhci #
FROM: http://wiki.honyucheung.net/doku.php?id=freebsd:mycustomkernel 配置内核了? 仔细看了一遍,很精简,不错!
sleepcat 发表于 2012-08-03 21:35 static/image/common/back.gif
仔细看了一遍,很精简,不错!
的确很精简 ^_^ 有勞版主轉載小弟的 wiki, 這幾週忙於工作,僅餘私人時間則學習實作 /ports-mgmt/pkgng + /ports-mgmt/poudriere 搭建 自設的 pkgng repository
實作方式可以閱讀 Bapt@FreeBSD.org 君的 http://blog.etoilebsd.net/post/Home_made_pkgng_repo
页:
[1]