私の使っているカーネルコンフィグレーションファイルです。
FreeBSDが良く分かってないので不要な物があるかも知れませんが、その時は教えてください

戻る


#
#       PC110 Configuration
#

machine         "i386"
cpu             "I486_CPU"
ident           "PC110"
maxusers        10

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MFS                     #Memory Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

# laptop-specific configuration
options         LAPTOP

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options         APM_PCCARD_RESUME
options         PCIC_RESUME_RESET

# Don't suspend the system immediately before the system is resumed
# from suspended mode (Default 3 seconds)
options         "APM_NOSUSPEND_IMMEDIATE=3"

# Only SLOT-1 Enable
options         "PCIC_MAX_SLOTS=1"
# Sio Bug
options         COM_IRQ_BUG
options         SIO_IRQ_BUG

config          kernel  root on wd0 

controller      isa0

# Dont remove these two lines!
controller      crd0
device          pcic0   at crd?
device          pcic1   at crd?

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
# PC110 Internal
disk            wd0     at wdc0 drive 0
# Smart PICO Flash
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
# PCMCIA 2nd SLOT
disk            wd2     at wdc1 drive 0

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM

device          wcd0    #IDE CD-ROM

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" flags 0x01 irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device          apm0    at isa?         # Advanced Power Management
options         APM_BROKEN_STATCLOCK    # Workaround some buggy APM BIOS

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? disable port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? disable port "IO_COM3" tty irq 5 vector siointr
device          sio3    at isa? disable port "IO_COM4" tty irq 9 vector siointr
device          sio4    at isa? disable port "IO_COM3" tty irq 5 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? disable port 0x280 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? disable port 0x300 net irq  5 iomem 0xd8000 vector edintr
device ep0 at isa? disable port 0x300 net irq 10 vector epintr
device ep1 at isa? disable port 0x300 net irq 10 vector epintr
device fe0 at isa? disable port 0x300 net irq 10 vector feintr
device fe1 at isa? disable port 0x300 net irq 10 vector feintr
r
device sn0 at isa? disable port 0x300 net irq 10 vector snintr
device sn1 at isa? disable port 0x300 net irq 10 vector snintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   sl      1
# DHCP uses BPF (Berkeley Packet Filter)
pseudo-device   bpfilter        4
# ijppp uses tun instead of ppp device
#pseudo-device  ppp     1
pseudo-device   tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn              #Vnode driver (turns a file into a device)

options         DDB

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options        KTRACE          #kernel tracing

# PC110 Sound Device
controller      snd0
device  sb0     at isa? port 0x220 irq 5 drq 1 vector sbintr
device  pca0    at isa? port IO_TIMER1 tty

戻る