While building a new (CURRENT) kernel today, I noticed this:
WARNING: duplicate option `DEV_ISA' encountered.
WARNING: duplicate device `isa' encountered.
WARNING: duplicate option `DEV_MEM' encountered.
WARNING: duplicate device `mem' encountered.
WARNING: duplicate option `DEV_IO' encountered.
WARNING: duplicate device `io' encountered.
at the top. It's only a warning, but I'd like to fix if
possible.
Where does this come from?
(Config is appended.)
Robert Huff
#
# JERUSALEM
#
# For more information read the handbook part System Administration -
# Configuring the FreeBSD Kernel - The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# URL:http://www.FreeBSD.ORG/
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $
machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident JERUSALEM
maxusers0
#optionsSCHED_4BSD
options SCHED_ULE
options PREEMPTION
options INET#InterNETworking
options INET6 #IPv6 communications protocols
options MAXDSIZ=(1024*1024*1024)
options MAXSSIZ=(256*1024*1024)
options FFS #Berkeley Fast Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options SCSI_DELAY=100 #Be pessimistic about Joe SCSI
# note: value is in
milliseconds
#optionsSAFETY
# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB #Enable the kernel debugger
makeoptions DEBUG=-g
options INVARIANTS #Enable calls of extra sanity checking
options INVARIANT_SUPPORT #Extra sanity checks of
#internal structures, required
by INVARIANTS
options WITNESS #Enable checks to detect deadlocks and
cycles
options WITNESS_SKIPSPIN#Don't run witness on spinlocks for
speed
#optionsCOMPAT_43 #Compatible with BSD 4.3 [KEEP
THIS!]
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options COMPAT_AOUT
# see java/62837
#optionsCOMPAT_LINUX
#optionsLINPROCFS
options PROCFS
options PSEUDOFS
# For StarOffice
#options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
#options _KPOSIX_VERSION=199309L
#optionsMD5
#
#
#config kernel root on da0
device isa
device eisa
device pci
device fdc
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it. Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
device ahc
device scbus
device da # SCSI disk
device sa # SCSI tape
device pass
# added 2006/11/14 for USB external drive system replacing tape drive
device umass #
device cd # Only need one of these, the code dynamically
grows
# syscons is the default console driver, resembling an SCO console
device sc
# at isa? port IO_KBD conflicts tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
## 2/3/1999: new model console stuff
#device atkbdc
#device atkbd
#device vt
device vga
device drm
device mgadrm
device agp
#optionsXSERVER # support for X server
device sio
# Parallel-Port