Subject: Re: effective configuration from config(8) after "no foo"
To: Quentin Garnier <cube@cubidou.net>
From: Rhialto <rhialto@falu.nl>
List: current-users
Date: 12/20/2007 20:10:06
--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu 20 Dec 2007 at 02:36:14 +0100, Quentin Garnier wrote:
> Merely configuring this:
> 
> include "arch/i386/conf/GENERIC"
> no mca
> 
> works, so I'm wondering what your configuration file exactly looks like.

I've fiddled with it some more, but I can re-create the error condition.
(This is with a -current from about a week ago, in case it matters)

../../../../arch/i386/conf/GENERIC:864: `ed* at edc?' is orphaned (nothing matching `edc?' found)
../../../../arch/i386/conf/GENERIC:1338: `wsmouse* at btms?' is orphaned (nothing matching `btms?' found)
*** Stop.

The config file is attached since it is a bit long to put it inline.

> I'm pretty sure I still have it, so I can do it :)

That sounds very useful to me. Please go ahead with committing it.

> Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.

--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=NEW

# LOELAPPIE

include 	"arch/i386/conf/GENERIC.NOACPI"


no options 	VM86		# virtual 8086 emulation

# Enhanced SpeedStep Technology in the Pentium M
no options 	ENHANCED_SPEEDSTEP
#options 	EST_FREQ_USERWRITE	# any user can set frequency

# AMD PowerNow! K7
no options 	POWERNOW_DEBUG

# AMD PowerNow! and Cool`n'Quiet technology
no options 	POWERNOW_K8

no options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# The size of the kernel message buffer, default 2*NBPG.
options		MSGBUFSIZE="(4*NBPG)"

# Compatibility options
no options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
no options 	COMPAT_09	# NetBSD 0.9
no options 	COMPAT_10	# NetBSD 1.0
no options 	COMPAT_11	# NetBSD 1.1
no options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
no options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
no options 	COMPAT_14	# NetBSD 1.4
no options 	COMPAT_15	# NetBSD 1.5
no options 	COMPAT_16	# NetBSD 1.6
no options 	COMPAT_20	# NetBSD 2.0
no options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI

no options 	COMPAT_SVR4	# binary compatibility with SVR4
no options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
no options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD

# File systems
no file-system 	EXT2FS		# second extended file system (linux)
no file-system 	LFS		# log-structured file system
no file-system 	MFS		# memory file system
no file-system 	NTFS		# Windows/NT file system (experimental)
no file-system 	OVERLAY		# overlay file system
no file-system 	UMAPFS		# NULLFS + uid and gid remapping
no file-system	CODA		# Coda File System; also needs vcoda (below)
no file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
no file-system	TMPFS		# Efficient memory file-system
file-system	PUFFS		# experimental - Userspace file system support
pseudo-device	putter		# for PUFFS

# File system options
no options 	QUOTA		# UFS quotas

# Networking options
no options 	NETATALK	# AppleTalk networking protocols
no options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
no options 	PPP_DEFLATE	# Deflate compression support for PPP
no options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
no options 	IPFILTER_LOOKUP	# ippool(8) support

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
no options 	ACPIVERBOSE	# verbose ACPI device autoconfig messages
no options 	EISAVERBOSE	# verbose EISA device autoconfig messages
no options 	MIIVERBOSE	# verbose PHY autoconfig messages
no options 	MCAVERBOSE	# verbose MCA device autoconfig messages

#
# wscons options
#
# builtin terminal emulations
options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"

# Kernel root file system and dump configuration.
config		netbsdtest	root on ? type ?
#config		netbsd	root on sd0a type ffs
#config		netbsd	root on ? type nfs

#
# Device configuration
#

# Basic Bus Support

# Advanced Configuration and Power Interface

# This option can be used to retrieve CPU and APIC information.
# that I/O APICs can be used if ACPI is enabled below.
# To use the I/O APIC(s), enable the ioapic line above.
options 	MPBIOS		# configure CPUs and APICs using MPBIOS
options 	MPBIOS_SCANPCI	# find PCI roots using MPBIOS
no options 	ACPI_SCANPCI	# find PCI roots using ACPI

# PCI bus support
no pci*	at pchb?

# Configure PCI using BIOS information

# PCI fixups, for both PCIBIOS and ACPI
no options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
no options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
# options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing

# System Controllers
no elansc
no gpio

# PCI bridges
no pceb					# PCI-EISA bridges 
no pcmb					# PCI-MCA bridges
no puc					# PCI "universal" comm. cards
no device at puc?

no eisa
no device at eisa?

# No MicroChannel
no mca
no device at mca?
#no edc
#no device at edc?

# No isapnp
no isapnp

# ISA PCMCIA controllers
no pcic1
no pcic2
no tcic0

# PCI PCMCIA controllers
no pcic0

# Console Devices

# wscons
no vga0		at isa?
#no pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
#no wsdisplay*	at pcdisplay?
no pcdisplay	# summarise the above

# Serial Devices

no cy
no cz

# PCMCIA serial interfaces
no com*	at pcmcia?			# Modems and serial cards

#no pcmcom*	at pcmcia? 		# PCMCIA multi-port serial cards
#no device	at pcmcom? 		# ...and the slave devices
no pcmcom	# summarise the above

# CardBus serial interfaces
no com*	at cardbus? 			# Modems and serial cards

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
com1	at isa? port 0x2f8 irq 3
no com2	at isa?

# Parallel Printer Interfaces

# ISA parallel printer interfaces
no lpt1
no lpt2

# Hardware monitors

no amdpm
no options         INTEL_CORETEMP
no ichsmb
#no device at ichsmb?

# NVIDIA nForce2/3/4 SMBus controller
# Remove trees bottom-up
no nfsmb
no nfsmbc

no piixpm
#no device at piixpm?

# VIA VT82C686A/VT8231 Hardware Monitor and Power Management Timer
#viaenv*	at pci? dev ? function ?

# I2O devices
no iop*		# I/O processor
no device at iop?

# SCSI Controllers and Devices

# PCI SCSI controllers
no adv			# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
no adw			# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
no ahc			# Adaptec [23]94x, aic78x0 SCSI
no ahd			# Adaptec 29320, 39320 (aic790x) SCSI
no bha			# BusLogic 9xx SCSI
no dpt			# DPT SmartCache/SmartRAID
no iha			# Initio INIC-940/950 SCSI
no isp			# Qlogic ISP [12]0x0 SCSI/FibreChannel
no mfi			# LSI MegaRAID SAS
no mly			# Mylex AcceleRAID and eXtremeRAID
no mpt			# LSI Fusion SCSI/FC
no njs			# Workbit NinjaSCSI-32
no pcscp		# AMD 53c974 PCscsi-PCI SCSI
no siop		# Symbios 53c8xx SCSI
no esiop		# Symbios 53c875 SCSI and newer

# PCMCIA SCSI controllers
no aic			# Adaptec APA-1460 SCSI
no esp			# Qlogic ESP406/FAS408 SCSI

# ISA SCSI controllers
no aha			 # Adaptec 154[02] SCSI
no aic	 # Adaptec 152[02] SCSI
no bha	 # BusLogic [457]4X SCSI
no sea	 # Seagate/Future Domain SCSI
no uha	 # UltraStor [13]4f SCSI
no wds	 # WD7000 and TMC-7000 controllers


# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
no acardide		# Acard IDE controllers
no aceride 		# Acer Lab IDE controllers
no cmdide 		# CMD tech IDE controllers
no cypide 		# Cypress IDE controllers
no hptide 		# Triones/HighPoint IDE controllers
no optiide 		# Opti IDE controllers
no piixide 		# Intel IDE controllers
no pdcide 		# Promise IDE controllers
no siside 		# SiS IDE controllers
no slide  		# Symphony Labs IDE controllers

no njata

# ISA ST506, ESDI, and IDE controllers
no wdc

# ATA (IDE) bus support
no options	ATADEBUG

# ATA RAID configuration support, as found on some Promise controllers.
no pseudo-device   ataraid
no ld*     at ataraid?

# Miscellaneous mass storage devices

# PCI network interfaces
no an		# Aironet PC4500/PC4800 (802.11)
no ath		# Atheros 5210/5211/5212 802.11
no atw		# ADMtek ADM8211 (802.11)
no bce 		# Broadcom 4401 10/100 Ethernet
no bge 		# Broadcom 570x gigabit Ethernet
no bnx 		# Broadcom NetXtremeII gigabit Ethernet
no dge		# Intel 82597 10GbE LR
no en		# ENI/Adaptec ATM
no ep		# 3Com 3c59x
no epic		# SMC EPIC/100 Ethernet
no esh		# Essential HIPPI card
no ex		# 3Com 90x[BC]
no fpa		# DEC DEFPA FDDI
no fxp		# Intel EtherExpress PRO 10+/100B
no gsip		# NS83820 Gigabit Ethernet
no hme		# Sun Microelectronics STP2002-STQ
no ipw		# Intel PRO/Wireless 2100
no iwi		# Intel PRO/Wireless 2200BG
no le		# PCnet-PCI Ethernet
no lmc		# Lan Media Corp SSI/HSSI/DS3
no mskc		# Marvell Yukon 2 Gigabit Ethernet
no device at mskc
no msk				# Marvell Yukon 2 Gigabit Ethernet
no mtd		# Myson MTD803 3-in-1 Ethernet
no ne		# NE2000-compatible Ethernet
no nfe			# NVIDIA nForce Ethernet
no ntwoc		# Riscom/N2 PCI Sync Serial
no pcn	# AMD PCnet-PCI Ethernet
no ral	# Ralink Technology RT25x0 802.11a/b/g
no re	# Realtek 8139C+/8169/8169S/8110S
no rtk	# Realtek 8129/8139
no rtw	# Realtek 8180L (802.11)
no sf	# Adaptec AIC-6915 Ethernet
no sip	# SiS 900/DP83815 Ethernet
no skc	# SysKonnect SK9821 Gigabit Ethernet
no device at skc?
no sk		# SysKonnect SK9821 Gigabit Ethernet
no ste	# Sundance ST-201 Ethernet
no stge	# Sundance/Tamarack TC9021 Gigabit
no ti	# Alteon ACEnic gigabit Ethernet
no tl	# ThunderLAN-based Ethernet
no tlp	# DECchip 21x4x and clones
no txp	# 3com 3cr990
no vge	# VIATech VT612X Gigabit Ethernet
no wi	# Intersil Prism Mini-PCI (802.11b)
no wm	# Intel 8254x gigabit
no wpi	# Intel PRO/Wireless 3945ABG
no xge	# Neterion (S2io) Xframe-I 10GbE

# PCMCIA network interfaces
no an			# Aironet PC4500/PC4800 (802.11)
no awi			# BayStack 650/660 (802.11FH/DS)
no cnw			# Xircom/Netwave AirSurfer
no ep			# 3Com 3c589 and 3c562 Ethernet
no mbe			# MB8696x based Ethernet
no ne			# NE2000-compatible Ethernet
no ray			# Raytheon Raylink (802.11)
no sm			# Megahertz Ethernet
no wi			# Lucent WaveLan IEEE (802.11)
no xi			# Xircom CreditCard Ethernet

no mhzc			# Megahertz Ethernet/Modem combo cards
no device at  mhzc?

# CardBus network cards
no atw		# ADMtek ADM8211 (802.11)
no ex		# 3Com 3C575TX
no fxp		# Intel i8255x
no rtk		# Realtek 8129/8139
no tlp		# DECchip 21143

# MII/PHY support
no dmphy				# Davicom DM9101 PHYs
no exphy				# 3Com internal PHYs
no icsphy				# Integrated Circuit Systems ICS189x
no inphy				# Intel 82555 PHYs
no iophy				# Intel 82553 PHYs
no lxtphy				# Level One LXT-970 PHYs
no nsphy				# NS83840 PHYs
nsphyter* at mii? phy ?			# NS83843 PHYs
no qsphy				# Quality Semiconductor QS6612 PHYs
no sqphy				# Seeq 80220/80221/80223 PHYs
no tlphy				# ThunderLAN PHYs
no tqphy				# TDK Semiconductor PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs


# USB Controller and Devices

# PCI USB controllers
# The EHCI is not ready for prime time.
no ehci					# Enhanced Host Controller
no gcscehci				# Enhanced Host Controller (Geode CSC) 
no slhci				# ScanLogic SL811HS

# USB IrDA
# USB-IrDA bridge spec
no uirda
no irframe

no ustir

# oboe - Toshiba OBOE IrDA SIR/FIR driver
no oboe

# USB Ethernet adapters
no aue		# ADMtek AN986 Pegasus based adapters
no cue		# CATC USB-EL1201A based adapters
no kue		# Kawasaki LSI KL5KUSB101B based adapters

# Prolific PL2301/PL2302 host-to-host adapter
no upl

# Serial adapters
no ubsa		# Belkin serial adapter
#no ucom*	at ubsa?

no uftdi				# FTDI FT8U100AX serial adapter
#no ucom*	at uftdi? portno ?

no uplcom				# I/O DATA USB-RSAQ2 serial adapter
#no ucom*	at uplcom? portno ?

no umct		# MCT USB-RS232 serial adapter
#no ucom*	at umct? portno ?

# Diamond Multimedia Rio 500
no urio

# USB Handspring Visor
no uvisor
#no ucom*	at uvisor?

# Y@P firmware loader
no uyap

# IrDA and Consumer Ir devices

# Toshiba Oboe
no oboe
#no irframe* at oboe?


# Audio Devices

# PCI audio devices
no auacer	# ALi M5455 integrated AC'97 Audio
no auich	# Intel ICH integrated AC'97 Audio
no auixp	# ATI IXP AC'97 Audio
no autri	# Trident 4DWAVE based AC'97 Audio
no azalia	# High Definition Audio
no clcs	# Cirrus Logic CS4280
no clct	# Cirrus Logic CS4281
no cmpci	# C-Media CMI8338/8738
no eap	# Ensoniq AudioPCI
no emuxki	# Creative SBLive! and PCI512
no esa	# ESS Allegro-1 / Maestro-3 PCI Audio
no esm	# ESS Maestro-1/2/2e PCI Audio Accelerator
no eso	# ESS Solo-1 PCI AudioDrive
no fms	# Forte Media FM801
no neo	# NeoMagic 256 AC'97 Audio
no sv	# S3 SonicVibes
no yds	# Yamaha DS-1 PCI Audio
#auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio

# ISA audio devices
# the "aria" probe might give false hits
no aria	# Aria
no ess	# ESS 18XX
no gus	# Gravis Ultra Sound
no pas	# ProAudio Spectrum
no sb	# SoundBlaster
no wss	# Windows Sound System

# PCMCIA audio devices
no esl	# ESS 1688 AudioDrive

#cms0	at isa? port 0x220			# Creative Music System

# OPL[23] FM synthesizers
#opl0	at isa? port 0x388	# use only if not attached to sound card
#opl*	at cmpci? flags 1
#opl*	at esl?
#opl*	at eso?
#opl*	at ess?
#opl*	at fms?
#opl*	at sb?
#opl*	at sv?
#opl*	at wss?
#opl*	at yds?
#opl*	at ym?
no opl

# MPU 401 UARTs
#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
#mpu*	at isapnp?
#mpu*	at cmpci?
#mpu*	at eso?
#mpu*	at fms?
#mpu*	at sb?
#mpu*	at yds?
#mpu*	at ym?
no mpu

# MIDI support
#midi*	at midibus?
#midi*	at pcppi?		# MIDI interface to the PC speaker
no midi

# TV cards

# Brooktree 848/849/878/879 based TV cards
no bktr
no radio


# Bluetooth Controller and Device support

# Bluetooth PCMCIA Controllers
no bt3c		# 3Com 3CRWB6096-A
no btbc		# AnyCom BlueCard LSE041/039/139

# Bluetooth USB Controllers
no ubt

# Bluetooth Mouse
no btms
#no wsmouse* at btms? mux 0

# Bluetooth Keyboard
no wskbd
no btkbd

# Bluetooth Audio support
no btsco

# Bluetooth HID support
no bthidev

# Bluetooth Device Hub
no bthub
no device at bthub?


# Mice

# ISA busmice
#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
#lms1	at isa? port 0x238 irq 5
#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
#mms1	at isa? port 0x238 irq 5
#wsmouse*	at lms? mux 0
#wsmouse*	at mms? mux 0
no lms
no mms

# Joysticks

#joy*		at pnpbios? index ?	# Game port

# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0	at isa? port 0x201


# Miscellaneous Devices


# Pull in optional local configuration
include	"arch/i386/conf/GENERIC.local"


# Pseudo-Devices

no pseudo-device 	crypto		# /dev/crypto device
no pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
no pseudo-device	bio		# RAID control device driver
no pseudo-device	ccd		# concatenated/striped disk devices
no pseudo-device	cgd		# cryptographic disk devices
no pseudo-device	raid		# RAIDframe disk driver
no options 	RAID_AUTOCONFIG		# auto-configuration of RAID components

# network pseudo-devices
no pseudo-device	ppp		# Point-to-Point Protocol
no pseudo-device	pppoe		# PPP over Ethernet (RFC 2516)
no pseudo-device	sl		# Serial Line IP
no pseudo-device	strip		# Starmode Radio IP (Metricom)
no pseudo-device	irframetty	# IrDA frame line discipline
no pseudo-device	gre		# generic L3 over IP tunnel
no pseudo-device	stf		# 6to4 IPv6 over IPv4 encapsulation
no pseudo-device	vlan		# IEEE 802.1q encapsulation

# miscellaneous pseudo-devices
no pseudo-device	sequencer	# MIDI sequencer
no pseudo-device	lockstat	# lock profiling
no pseudo-device	bcsp		# BlueCore Serial Protocol
no pseudo-device	btuart		# Bluetooth HCI UART (H4)

# a pseudo device needed for Coda	# also needs CODA (above)
no pseudo-device	vcoda		# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
no pseudo-device	nsmb			# experimental - SMB requester

pseudo-device   drvctl                  # drvctl({4,8})
no options 	FILEASSOC		# fileassoc(9) - required for Veriexec

# Veriexec
no pseudo-device	veriexec
#
no options VERIFIED_EXEC_FP_RMD160
no options VERIFIED_EXEC_FP_SHA256
no options VERIFIED_EXEC_FP_SHA384
no options VERIFIED_EXEC_FP_SHA512
no options VERIFIED_EXEC_FP_SHA1
no options VERIFIED_EXEC_FP_MD5

no options PAX_MPROTECT			# PaX mprotect(2) restrictions

--Yylu36WmvOXNoKYn--