Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 14:02:38 -0500
From:      "Brian Henning" <b1henning@hotmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   kernel config optimized
Message-ID:  <BAY15-DAV46i7FTzKrq0002a047@hotmail.com>

next in thread | raw e-mail | index | archive | help
The following is a copy of my kernel config file. I am trying to optimize it as
much as possible.

do i need any of these psudo devices?
pseudo-device loop     # Network loopback
pseudo-device ether    # Ethernet support
pseudo-device sl 1     # Kernel SLIP
pseudo-device ppp 1    # Kernel PPP
pseudo-device tun      # Packet tunnel.
pseudo-device pty      # Pseudo-ttys (telnet etc)
pseudo-device md       # Memory "disks"
pseudo-device gif      # IPv6 and IPv4 tunneling
pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)
pseudo-device   splash

do i need any of these devices?
device atadisk             # ATA disk drives
device atapicd             # ATAPI CDROM drives
options     ATA_STATIC_ID  # Static device numbering


Thanks,

Brian



machine i386
cpu I686_CPU
ident PATRIOT
maxusers 0

options MATH_EMULATE        #Support for x87 emulation
options INET                #InterNETworking
options INET6               #IPv6 communications protocols
options FFS                 #Berkeley Fast Filesystem
options FFS_ROOT            #FFS usable as root device [keep this!]
options SOFTUPDATES         #Enable FFS soft updates support
options UFS_DIRHASH         #Improve performance on big directories
options MFS                 #Memory Filesystem
options MD_ROOT             #MD is a potential root device
options NFS                 #Network Filesystem
options NFS_ROOT            #NFS usable as root device, NFS required
options MSDOSFS             #MSDOS Filesystem
options CD9660              #ISO 9660 Filesystem
options CD9660_ROOT         #CD-ROM usable as root, CD9660 required
options PROCFS              #Process filesystem
options COMPAT_43           #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000    #Delay (in ms) before probing SCSI
options UCONSOLE            #Allow users to grab the console
options USERCONFIG          #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE              #ktrace(1) support
options SYSVSHM             #SYSV-style shared memory
options SYSVMSG             #SYSV-style message queues
options SYSVSEM             #SYSV-style semaphores
options P1003_1B            #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM            #Rate limit bad replies
options KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                # output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                # output.  Adds ~215k to driver.

# Standard busses
device isa
device pci
device agp

# ATA and ATAPI devices
device ata
device atadisk             # ATA disk drives
device atapicd             # ATAPI CDROM drives
options     ATA_STATIC_ID  # Static device numbering

# SCSI devices
device atapicam  # emulate ATAPI devices as SCSI
device scbus     # SCSI bus (required)
device da        # Direct Access (disks)
device pass      # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0  at atkbdc? irq 1 flags 0x1
device psm0    at atkbdc? irq 12

device vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
#device sc0 at isa? flags 0x100

# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13

# Ethernet devices
device miibus      # MII bus support
device dc          # DEC/Intel 21143 and various workalikes

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop     # Network loopback
pseudo-device ether    # Ethernet support
pseudo-device sl 1     # Kernel SLIP
pseudo-device ppp 1    # Kernel PPP
pseudo-device tun      # Packet tunnel.
pseudo-device pty      # Pseudo-ttys (telnet etc)
pseudo-device md       # Memory "disks"
pseudo-device gif      # IPv6 and IPv4 tunneling
pseudo-device faith 1  # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     #Berkeley packet filter

# USB devices
device uhci    # UHCI PCI->USB interface
device ohci    # OHCI PCI->USB interface
device usb     # USB Bus (required)
device ugen    # Generic
device umass   # Disks/Mass storage - Requires scbus and da
device ums     # Mouse

# Audio devices
device pcm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY15-DAV46i7FTzKrq0002a047>