Subject: Re: NetBSD 3.99.21: ATAPI CDROM takes so long to be recognized
To: Juan RP <juan@xtrarom.org>
From: MKD <claudiomkd@gmail.com>
List: current-users
Date: 07/01/2006 12:18:09
This is a multi-part message in MIME format.
--------------030301070501040300020202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Juan RP wrote:
> Can you post full dmesg output and the kernel config?
>   
Sure, here you are, as attachments.

-- 
Claudio M. Camacho
http://www.claudiocamacho.org


--------------030301070501040300020202
Content-Type: text/plain;
 name="dmesg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg"

nfigured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0A05 [Generic Container Device] at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
WEC0518 at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855PM MCH Host Controller (rev. 0x21)
agp0 at pchb0: aperture at 0xb0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x21)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ATI Technologies Radeon Mobility 9600/9700 (M10/11) NP (VGA display) at pci1 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x03)
ehci0: interrupting at irq 7
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x83)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci2 dev 0 function 0 not configured
rtk0 at pci2 dev 1 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:02:3f:08:ba:95
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
iwi0 at pci2 dev 2 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:0e:35:6f:5a:f7
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ENE Technology CB1410 CardBus Controller (CardBus bridge, revision 0x01) at pci2 dev 3 function 0 not configured
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801DB ISA Bridge (rev. 0x03)
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: SpeedStep enabled
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Avance Logic unknown (0x414c4752) codec; headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Tsunami product 0x1177, rev 1.10/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
wd0 at atabus0 drive 0: <FUJITSU MHT2080AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
cd0 at atapibus0 drive 0: <TOSHIBA ODD-DVD SD-R6372, 949H503012, 1030> cdrom removable
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
cd0: 32-bit data port
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)
wsdisplay0: screen 5 added (fb, vt100 emulation)
wsdisplay0: screen 6 added (fb, vt100 emulation)
wsdisplay0: screen 7 added (fb, vt100 emulation)
syncing disks... 2 done
unmounting file systems... done
rebooting...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.21 (MYKERNEL) #4: Sat Jul  1 12:00:08 EEST 2006
	root@kultani:/usr/obj/sys/arch/i386/compile/MYKERNEL
total memory = 511 MB
avail memory = 498 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xe9790
mainbus0 (root)
pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005800
pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005808
pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005810
pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x0000580c
pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x20000000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1694.61 MHz, id 0x6d6
cpu0: features afe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features afe9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9f9bf<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.70GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep (1340 mV) 1700 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 1700 1400 1200 1000 800 600
cpu0: 64 page colors
vesabios0 at mainbus0: version 2.0, ATI Technologies Inc. P11 
vesafb0 at vesabios0: VESA frame buffer
vesafb0: fb 1024x768x16 @0xa8000000
vesafb0: VBE/PM 1.0 [standby] [suspend] [off]
wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <INSYDE,RSDT_000,00000001>, AslId <_CSI,00010101>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi0: fixed-feature sleep button present
ACPI Error (evxfevnt-0292): Could not enable SleepButton event [20060217]
ACPI Warning (evxface-0236): Could not enable fixed event 3 [20060217]
acpi0: unable to install handler for fixed sleep button: AE_NO_HARDWARE_RESPONSE
acpitimer_test(): 10
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
timecounter: selected timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated WEC0518
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
SYN0702 at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0A05 [Generic Container Device] at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
WEC0518 at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855PM MCH Host Controller (rev. 0x21)
agp0 at pchb0: aperture at 0xb0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x21)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ATI Technologies Radeon Mobility 9600/9700 (M10/11) NP (VGA display) at pci1 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x03)
ehci0: interrupting at irq 7
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x83)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci2 dev 0 function 0 not configured
rtk0 at pci2 dev 1 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:02:3f:08:ba:95
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
iwi0 at pci2 dev 2 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:0e:35:6f:5a:f7
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ENE Technology CB1410 CardBus Controller (CardBus bridge, revision 0x01) at pci2 dev 3 function 0 not configured
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801DB ISA Bridge (rev. 0x03)
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: SpeedStep enabled
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Avance Logic unknown (0x414c4752) codec; headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Tsunami product 0x1177, rev 1.10/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
wd0 at atabus0 drive 0: <FUJITSU MHT2080AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
cd0 at atapibus0 drive 0: <TOSHIBA ODD-DVD SD-R6372, 949H503012, 1030> cdrom removable
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
cd0: 32-bit data port
piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2piixide0:1:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)
wsdisplay0: screen 5 added (fb, vt100 emulation)
wsdisplay0: screen 6 added (fb, vt100 emulation)
wsdisplay0: screen 7 added (fb, vt100 emulation)

--------------030301070501040300020202
Content-Type: text/plain;
 name="MYKERNEL"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="MYKERNEL"

include 	"arch/i386/conf/std.i386"
options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
ident 		"MYKERNEL"
maxusers	64		# estimated number of users

# CPU support.  At least one is REQUIRED.
options 	I686_CPU	# i686 architecture support
options		MULTIBOOT	# multiboot(8) support
options 	MATH_EMULATE	# floating point emulation
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
#options 	PIC_DELAY
options 	ENHANCED_SPEEDSTEP
options 	EST_FREQ_USERWRITE	# any user can set frequency
options 	MTRR		# memory-type range register syscall support
#options 	PERFCTRS	# performance-monitoring counters support

# Standard system options
options 	INSECURE	# disable kernel security levels - X needs this
options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
#options 	NO_TSC_TIME	# Don't use TSC microtime, even if available.
options 	KTRACE		# system call tracing via ktrace(1)
options 	SYSTRACE	# system call vetting via systrace(1)
options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
options 	LKM		# loadable kernel modules
options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Compatibility options
options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
options 	COMPAT_09	# NetBSD 0.9
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
options 	COMPAT_14	# NetBSD 1.4
options 	COMPAT_15	# NetBSD 1.5
options 	COMPAT_16	# NetBSD 1.6
options 	COMPAT_20	# NetBSD 2.0
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
options 	COMPAT_386BSD_MBRPART # recognize old partition ID
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
#options 	COMPAT_SVR4	# binary compatibility with SVR4
#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
#options 	COMPAT_MACH	# binary compatibility with Mach binaries
#options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries
#options 	EXEC_MACHO	# exec MACH-O binaries
#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# File systems
file-system 	FFS		# UFS
options 	BUFQ_READPRIO	# read() IO priority
#options 	BUFQ_PRIOCSCAN	# scan() IO priority
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	PROCFS		# /proc
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system

# File system options
#options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# ffs snapshots
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	ISO,TPIP	# OSI

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	ACPIVERBOSE	# verbose ACPI device autoconfig messages
#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
options 	MIIVERBOSE	# verbose PHY autoconfig messages
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options 	SCSIVERBOSE	# human readable SCSI error messages
options 	USBVERBOSE	# verbose USB device autoconfig messages
#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
#options 	I2OVERBOSE	# verbose I2O driver messages
#options 	MCAVERBOSE	# verbose MCA device autoconfig messages

# wscons options
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
options 	PCKBD_CNATTACH_MAY_FAIL
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver 
options 	WSDISPLAY_DEFAULTSCREENS=1
options 	PCDISPLAY_SOFTCURSOR
#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
#options 	WSDISPLAY_CHARFUNCS		# mouse console support
options 	WSDISPLAY_SCROLLSUPPORT
#options 	VGA_RASTERCONSOLE
#options		SPLASHSCREEN
#options		SPLASHSCREEN_PROGRESS

# Kernel root file system and dump configuration.
config		netbsd	root on wd0a type ffs

# Device configuration
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus?

# Basic Bus Support
# 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
options 	MPACPI		# configure CPUs and APICs using ACPI
options 	MPACPI_SCANPCI	# find PCI roots using MPACPI
acpi0 		at mainbus0
options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
#options 	ACPICA_PEDANTIC		# force strict conformance to the Spec.
#options 	ACPI_DISABLE_ON_POWEROFF	# disable acpi on power off

# ACPI devices
acpiacad* 	at acpi?		# ACPI AC Adapter
acpibat* 	at acpi?		# ACPI Battery
acpibut* 	at acpi?		# ACPI Button
acpiec* 	at acpi?		# ACPI Embedded Controller
acpilid* 	at acpi?		# ACPI Lid Switch
acpitz* 	at acpi?		# ACPI Thermal Zone

# PCI bus support
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?

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

# PCI bridges
ichlpcib* at pci? dev ? function ?	# Intel ICH SpeedStep
piixpcib* at pci? dev ? function ?	# Intel P4 SpeedStep
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
agp* 	at pchb?

# ISA bus support
isa0	at ichlpcib?
isa0	at mainbus?
isa0	at pcib?

# Coprocessor Support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor


# Console Devices
# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
vga0		at isa?
vga*		at pci? dev ? function ?
pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
wsdisplay*	at vga? console ?
wsdisplay*	at pcdisplay? console ?
#wsdisplay* 	at machfb? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0
pcppi0		at isa?
sysbeep0	at pcppi?

# VESA support
options		KVM86
vesabios*	at vesabiosbus?
vesafb*		at vesabios?
options		VESAFB_WIDTH=1024
options		VESAFB_HEIGHT=768
options		VESAFB_DEPTH=16
options		VESAFB_PM
wsdisplay*	at vesafb? console ?

# Hardware monitors
piixpm*	at pci?	dev ? function ?	# P4 PM controller
iic*	at piixpm?			# SMBus on P4

# SCSI bus support
scsibus* at scsi?
sd*	at scsibus? target ? lun ?	# SCSI disk drives

# IDE and related devices
pciide*		at pci?	dev ? function ? flags 0x0001	# Generic IDE controller
piixide* 	at pci? dev ? function ? flags 0x0001	# Intel IDE controllers

# ATA (IDE) bus support
atabus* at ata?
wd*	at atabus? drive ? flags 0x0000
atapibus* at atapi?

# ATAPI devices
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

# Network Interfaces
iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
rtk*	at pci? dev ? function ?	# Realtek 8129/8139
# MII/PHY support
ukphy*	at mii? phy ?			# generic unknown PHYs

# USB Controller and Devices
ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)

# USB bus support
usb*	at ehci?
usb*	at uhci?

# USB Hubs
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?

# USB HID device
uhidev*	at uhub? port ? configuration ? interface ?
uhid*	at uhidev? reportid ?

# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB Mass Storage
umass*	at uhub? port ? configuration ? interface ?
wd*	at umass?

# USB Generic driver
ugen*	at uhub? port ?

# Bluetooth support
ubt*	at uhub? port ? configuration ? interface ?

# Audio Devices
auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
audio*	at audiobus?

# Mice
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

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

# Pseudo-Devices
pseudo-device	fss		4	# file system snapshot device
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files
options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
pseudo-device	bpfilter	8	# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
pseudo-device	clockctl		# user control of clock subsystem

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont
pseudo-device	ksyms			# /dev/ksyms

--------------030301070501040300020202--