Custom Kernel Config for FreeBSD 8-Stable

For FreeBSD system upgrades, my # make buildkernel is instructed to use a custom kernel config at /usr/src/sys/amd64/conf/CUSTOM64. It includes:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
include GENERIC
machine amd64
cpu HAMMER # aka K8, aka Opteron & Athlon64
nocpu i486_CPU
ident CUSTOM64
nomakeoption DEBUG
## No IPv6
nooptions INET6
nooptions SCTP # Stream Control Transmission Protocol
## No Debugging stuff
nooptions INVARIANTS
nooptions INVARIANT_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN
nodevice eisa
nodevice fdc
## Disable various ATA systems we will never have
nodevice atapicd # ATAPI CDROM drives
nodevice atapifd # ATAPI floppy drives
nodevice atapist # ATAPI tape drives
nooptions MSDOSFS # MSDOS Filesystem
nooptions CD9660 # ISO 9660 Filesystem
device ahci
nodevice urio
nodevice uscanner
nodevice aue
nodevice axe
nodevice cdce
nodevice cue
nodevice kue
nodevice rue
# PCMCIA and cardbus bridge support
nodevice cbb # cardbus (yenta) bridge
nodevice pccard # PC Card (16-bit) bus
nodevice cardbus # CardBus (32-bit) bus
# Parallel port
nodevice ppc
nodevice ppbus # Parallel port bus (required)
nodevice lpt # Printer
nodevice plip # TCP/IP over parallel
nodevice ppi # Parallel port interface device
# FireWire support
nodevice firewire # FireWire bus code
nodevice sbp # SCSI over FireWire (Requires scbus and da)
nodevice fwe # Ethernet over FireWire (non-standard!)
nodevice fwip # IP over FireWire (RFC 2734,3146)
nodevice dcons # Dumb console driver
nodevice dcons_crom # Configuration ROM for dcons