ata breakage [STILL]

From: Jonathan Noack <noackjr_at_alumni.rice.edu>
Date: Thu, 12 May 2005 01:35:14 -0500
I am still getting breakage from ata with sources from around midnight 
CDT (after the latest updates).  These result in odd messages being 
printed to the screen and eventual panics before the machine mounts 
root.  See the attached horrific.txt for the boot messages and some 
brief ddb action.  Note the garbage right before the panic.  The garbage 
was printed out before a 30 second pause prior to the panic.

I backed out src/sys/dev/ata to '2005-05-03 07:55:00 UTC' and everything 
works perfectly.  See the attached normal.txt for these boot messages.

The panic seems to happen during probing of the CD drive.  I use 
atapicam *without* atapicd.  The kernel config is also attached.

-- 
Jonathan Noack | noackjr_at_alumni.rice.edu | OpenPGP: 0x991D8195

Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS 639kB/1047488kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(root_at_compgeek.noacks.org, Wed May 11 23:06:25 CDT 2005)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x2d57d8 data=0x3104c+0x78614 syms=[0x4+0x396a0+0x4+0x47dc3]
/boot/kernel/sound.ko text=0x169fc data=0x2868+0x10e0 syms=[0x4+0x2ae0+0x4+0x2fdc]
/boot/kernel/snd_es137x.ko text=0x4798 data=0x364+0x8 syms=[0x4+0xa40+0x4+0xac9]

Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [/boot/kernel/kernel]...
/boot/kernel/acpi.ko text=0x496bc data=0x2124+0x10cc syms=[0x4+0x7730+0x4+0x9ea0]
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.0-CURRENT #14: Thu May 12 00:09:28 CDT 2005
    root_at_compgeek.noacks.org:/usr/obj/usr/src/sys/COMPGEEK
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2539.10-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 1072693248 (1023 MB)
avail memory = 1040879616 (992 MB)
ACPI APIC Table: <AMIINT AMIINI09>
ACPI: overriding DSDT/SSDT with custom table
    ACPI-0377: *** Info: Table [DSDT] replaced by host OS
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT AMIINI09> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 0 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 12 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 9 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xdc00-0xdc1f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xefffbc00-0xefffbfff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 2 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xa800-0xa83f mem 0xefec0000-0xefedffff,0xefea0000-0xefebffff irq 16 at device 3.0 on pci2
em0: Ethernet address: 00:07:e9:15:37:df
em0:  Speed:N/A  Duplex:N/A
pcib3: <PCI-PCI bridge> at device 5.0 on pci2
pci3: <PCI bus> on pcib3
asr0: <Adaptec Caching SCSI RAID> mem 0xdc000000-0xddffffff irq 21 at device 5.1 on pci2
asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O
pcm0: <Creative CT5880-E> port 0xa400-0xa43f irq 22 at device 10.0 on pci2
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
atapci0: <Promise PDC20276 UDMA133 controller> port 0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac0f mem 0xefefc000-0xefefffff irq 18 at device 12.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xd57ff,0xd5800-0xd67ff,0xd6800-0xdc7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ums0: Microsoft Microsoft Wheel Mouse Optical®, rev 1.10/1.21, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhub2: vendor 0x04cc product 0x1122, class 9/0, rev 1.10/1.10, addr 3
uhub2: 3 ports with 3 removable, self powered
uhid0: Logitech Logitech Extreme 3D Pro, rev 1.10/35.00, addr 4, iclass 3/0
ugen0: X10 Wireless Technology Inc USB Receiver, rev 1.10/1.00, addr 5
Timecounter "TSC" frequency 2539098768 Hz quality 800
Timecounters tick every 1.000 msec
em0: link state changed to UP
ad4: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata2-master UDMA100
ad6: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata3-master UDMA100
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-0 370F> Fixed Direct Access SCSI-2 device 
da0: Tagged Queueing Enabled
da0: 35003MB (71686144 512 byte sectors: 255H 63S/T 4462C)
ATA PseudoRAID loaded
ar0: 76293MB <Promise Fasttrak RAID1 array> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
cd0 at ata0 bus 0 target 0 lun 0
cd0: <SONY CD-RW  CRX300E KYS1> Removable CD-ROM SCSI-0 device 
cd0: 3.300MB/s transfers
cd0: €xpÀ$²uÀžjÀ€xpÀÀå¹½QÀžjÀX…kÀ
panic: g_read_data(): invalid length 3737169374
KDB: stack backtrace:
panic(c06afb0a,dec0adde,0,c24e8400,c24e7180) at panic+0x13a
g_write_data(c2514080,0,0,dec0adde,0) at g_write_data
g_mbr_taste(c0700ac0,c24e8400,0,15b,c24e8380) at g_mbr_taste+0x1e9
g_new_provider_event(c24e8400,0,c06b5462,15b,66666667) at g_new_provider_event+0x93
g_run_events(c070dd3c,0,4c,c06ae8bf,64) at g_run_events+0x21e
g_event_procbody(0,e35bfd38,c06b24cf,30d,0) at g_event_procbody+0x95
fork_exit(c04b8a3e,0,e35bfd38) at fork_exit+0xa1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe35bfd6c, ebp = 0 ---
db> show alllocks
db> show pcpu
cpuid        = 0
curthread    = 0xc227a600: pid 2 "g_event"
curpcb       = 0xe35bfd90
fpcurthread  = none
idlethread   = 0xc2278600: pid 11 "idle"
APIC ID      = 0
currentldt   = 0x50
spin locks held:
db> show lockedvnods
Locked vnodes
db> reset
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.0-CURRENT #15: Thu May 12 01:12:36 CDT 2005
    root_at_compgeek.noacks.org:/usr/obj/usr/src/sys/COMPGEEK
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2539.10-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 1072693248 (1023 MB)
avail memory = 1040879616 (992 MB)
ACPI APIC Table: <AMIINT AMIINI09>
ACPI: overriding DSDT/SSDT with custom table
    ACPI-0377: *** Info: Table [DSDT] replaced by host OS
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT AMIINI09> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 0 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 12 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 9 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xdc00-0xdc1f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xefffbc00-0xefffbfff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 2 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xa800-0xa83f mem 0xefec0000-0xefedffff,0xefea0000-0xefebffff irq 16 at device 3.0 on pci2
em0: Ethernet address: 00:07:e9:15:37:df
em0:  Speed:N/A  Duplex:N/A
pcib3: <PCI-PCI bridge> at device 5.0 on pci2
pci3: <PCI bus> on pcib3
asr0: <Adaptec Caching SCSI RAID> mem 0xdc000000-0xddffffff irq 21 at device 5.1 on pci2
asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O
pcm0: <Creative CT5880-E> port 0xa400-0xa43f irq 22 at device 10.0 on pci2
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
atapci0: <Promise PDC20276 UDMA133 controller> port 0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac0f mem 0xefefc000-0xefefffff irq 18 at device 12.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xd57ff,0xd5800-0xd67ff,0xd6800-0xdc7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhub2: vendor 0x04cc product 0x1122, class 9/0, rev 1.10/1.10, addr 3
uhub2: 3 ports with 3 removable, self powered
uhid0: Logitech Logitech Extreme 3D Pro, rev 1.10/35.00, addr 4, iclass 3/0
ugen0: X10 Wireless Technology Inc USB Receiver, rev 1.10/1.00, addr 5
Timecounter "TSC" frequency 2539104292 Hz quality 800
Timecounters tick every 1.000 msec
ad4: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata2-master UDMA100
ad6: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata3-master UDMA100
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-0 370F> Fixed Direct Access SCSI-2 device 
da0: Tagged Queueing Enabled
da0: 35003MB (71686144 512 byte sectors: 255H 63S/T 4462C)
ATA PseudoRAID loaded
ar0: 76293MB <Promise Fasttrak RAID1 array> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
cd0 at ata0 bus 0 target 0 lun 0
cd0: <SONY CD-RW  CRX300E KYS1> Removable CD-ROM SCSI-0 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/da0s2a
drm0: <ATI Radeon NH R350 9800 Pro> port 0x7800-0x78ff mem 0xd0000000-0xd7ffffff,0xefcf0000-0xefcfffff irq 16 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized radeon 1.15.0 20050208 on minor 0
info: [drm] Loading R300 Microcode

#
# COMPGEEK -- CompGeek kernel configuration file
# version 6.0
# 2005/05/12
#

machine		i386
cpu		I686_CPU
ident		COMPGEEK

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

# Only build ACPI, DRM, Linux API, and sound modules
makeoptions	MODULES_OVERRIDE="acpi/acpi linprocfs linux sound/sound sound/driver/es137x"

#options 	SCHED_ULE		# ULE scheduler
options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast 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 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	KDB_TRACE		# Print a stack trace of the current thread on the console for a panic.
options 	DDB			# Support DDB.
#options 	BREAK_TO_DEBUGGER	# A BREAK on a serial console goes to ddb, if available.
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

# Statically Link in accept filters
options 	ACCEPT_FILTER_DATA
options 	ACCEPT_FILTER_HTTP

# Zero copy sockets support.  This enables "zero copy" for sending and
# receiving data via a socket.  The send side works for any type of NIC,
# the receive side only works for NICs that support MTUs greater than the
# page size of your architecture and that support header splitting.  See
# zero_copy(9) for more details.
options 	ZERO_COPY_SOCKETS

# Increase HZ
options 	HZ=1000			# set granularity of operation to 1ms

# To make an SMP kernel, the next two lines are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
#device		atapicd		# ATAPI CDROM drives
device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM
				# needs CAM to be present (scbus & pass)
options 	ATA_STATIC_ID	# Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# RAID controllers interfaced to the SCSI subsystem
device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID

# asr old ioctls support, needed by raidutils
options 	ASR_COMPAT

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs.
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card

# Pseudo devices.
device		loop		# Network loopback
device		mem		# Memory and kernel memory devices
device		io		# I/O device
device		random		# Entropy device
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners

Received on Thu May 12 2005 - 04:35:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC