question about buildkernel warning

2008-01-25 Thread Robert Huff

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 

Re: question about buildkernel warning

2008-01-25 Thread Robert Huff
Philip M. Gollucci writes:

   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.

  These options are already in the DEFAULT file in the same
  directory as your kernel config.

That did it.
Thank you.


Robert Huff



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about buildkernel warning

2008-01-25 Thread Philip M. Gollucci

Robert Huff wrote:

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.
These options are already in the DEFAULT file in the same directory as 
your kernel  config.

--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]