Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 23:55:18 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        current@FreeBSD.ORG
Subject:   timeout problems HighPoint HPT366 ATA66 controller && 40 GB Diamond Max Plus
Message-ID:  <20000221235518.A998@titan.klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
Hi !

I have hangs and timeouts using the EIDE disk in my computer.
The controller is a Abit Hot Rod 66 and Maxtor Diamond Max 54098U8.
I use the 80 pin cable from the Abit EIDE controller special for UDMA.

Messages are:
ad4: READ command timeout - resetting
ata2: resetting devices

ad4: WRITE command timeout - resetting
ata2: resetting devices .. done

Sometimes the disk recovers, sometimes the system completely hangs.

One time when mounting a 18 GB filesystem I got the panic:
ffs_alloc: map corrupted
mp_lock=01000001; cpuid=1; lapic_id=01000000

First I thought, it is related to IRQ sharing.
My Matrox Millenium PCI card shared the same interrupt as the
Abit EIDE controller (BTW, on board EIDE controller - UDMA/33 - is
disabled on my Tyan Titan Pro board).

dmesg output and kernel config file:


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Mon Feb 21 20:40:55 CET 2000
    root@:/usr/src/sys/compile/TITAN
Calibrating clock(s) ... TSC clock: 199425363 Hz, i8254 clock: 1193142 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 159383552 (155648K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00345000 - 0x097f5fff, 155914240 bytes (38065 pages)
avail memory = 150917120 (147380K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 15
IOAPIC #0 intpin 17 -> irq 11
IOAPIC #0 intpin 18 -> irq 10
IOAPIC #0 intpin 19 -> irq 14
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
bios32: Found BIOS32 Service Directory header at 0xc00fac30
bios32: Entry = 0xfb0b0 (c00fb0b0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb0e0
pnpbios: Found PnP BIOS data at 0xc00fbc30
pnpbios: Entry = f0000:bc58  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc0329000.
ccd0-3: Concatenated disk drivers
Pentium Pro MTRR support enabled
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=12378086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=12378086)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x1237, revid=0x02
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7000, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7010, revid=0x00
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x10b7, dev=0x9001, revid=0x00
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=14
	map[10]: type 1, range 32, base 00009400, size  6
found->	vendor=0x102b, dev=0x0519, revid=0x01
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base e0000000, size 14
	map[14]: type 1, range 32, base e1000000, size 23
found->	vendor=0x9004, dev=0x8178, revid=0x00
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 00009800, size  8
	map[14]: type 1, range 32, base e2000000, size 12
found->	vendor=0x1103, dev=0x0004, revid=0x01
	class=01-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=15
	map[10]: type 1, range 32, base 00009c00, size  3
	map[14]: type 1, range 32, base 0000a000, size  2
	map[20]: type 1, range 32, base 0000a400, size  8
found->	vendor=0x1103, dev=0x0004, revid=0x01
	class=01-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=15
	map[10]: type 1, range 32, base 0000a800, size  3
	map[14]: type 1, range 32, base 0000ac00, size  2
	map[20]: type 1, range 32, base 0000b000, size  8
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
	I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
	Extended BIOS: disabled
	Lower BIOS: disabled
	Coprocessor IRQ13: enabled
	Mouse IRQ12: enabled
	Interrupt Routing: A: IRQ15, B: IRQ11, C: IRQ10, D: IRQ14
		MB0: , MB1: 
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> at device 7.1 on pci0
atapci0: Busmastering DMA not enabled
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=00 status0=ff status1=ff
ata0: probe allocation failed
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0001
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
xl0: <3Com 3c900-COMBO Etherlink XL> port 0x9400-0x943f irq 14 at device 11.0 on pci0
xl0: Ethernet address: 00:60:97:aa:3a:db
xl0: media options word: e138
xl0: found 10baseT
xl0: found AUI
xl0: found BNC
xl0: selecting 10baseT transceiver, half duplex
bpf: xl0 attached
pci0: Matrox MGA Millennium 2064W graphics accelerator (vendor=0x102b, dev=0x0519) at 12.0 irq 10
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x9800-0x98ff mem 0xe2000000-0xe2000fff irq 11 at device 13.0 on pci0
ahc0: Reading SEEPROM...done.
ahc0: internal 50 cable is present, internal 68 cable not present
ahc0: external cable not present
ahc0: BIOS eeprom is present
ahc0: Low byte termination Enabled
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Downloading Sequencer Program... 413 instructions downloaded
atapci1: <HighPoint HPT366 ATA66 controller> port 0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07 irq 15 at device 14.0 on pci0
ata2: iobase=0x9c00 altiobase=0xa000 bmaddr=0xa400
ata2: mask=03 status0=50 status1=00
ata2: mask=03 status0=50 status1=00
ata2: devices = 0x1
ata2: at 0x9c00 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> port 0xb000-0xb0ff,0xac00-0xac03,0xa800-0xa807 irq 15 at device 14.1 on pci0
ata3: iobase=0xa800 altiobase=0xac00 bmaddr=0xb000
ata3: mask=03 status0=20 status1=30
ata3: mask=03 status0=20 status1=30
ata3: devices = 0x0
ata3: probe allocation failed
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
devclass_alloc_unit: ata0 already exists, using next available unit number
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status b1 03 c8
psm: status b1 03 c8
psm: status b1 03 c8
psm: status 00 00 3c
psm: data 08 00 00
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
fb: new array size 4
sc0: <System console> on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 5 on isa0
ed0: address 00:00:c0:5a:98:2a, type WD8013EPC (16 bit) 
bpf: ed0 attached
ata4: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata4: mask=00 status0=ff status1=ff
ata4: probe allocation failed
isa_probe_children: probing PnP devices
SMP: enabled INTs: 1, 3, 4, 5, 6, 7, 11, 12, 14, 15, apic_imen: 0x00ff2705
BIOS Geometries:
 0:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors
 2:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors
 3:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors
 4:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (000106)
bpf: lo0 attached
Linux-ELF exec handler installed
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
ata2-master: success setting up UDMA4 mode on HPT366 chip
ad4: <Maxtor 54098U8/DA620CQ0> ATA-5 disk at ata2 as master
ad4: 39082MB (80041248 sectors), 79406 cyls, 16 heads, 63 S/T, 512 B/S
ad4: 16 secs/int, 1 depth queue, UDMA66
ad4: piomode=4 dmamode=2 udmamode=4 cblid=1
Creating DISK ad4
Creating DISK wd4
Waiting 8 seconds for SCSI devices to settle
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
ahc0: target 6 synchronous at 10.0MHz, offset = 0xf
ahc0: target 1 synchronous at 20.0MHz, offset = 0xf
ahc0: target 3 synchronous at 20.0MHz, offset = 0xf
ahc0: target 2 synchronous at 20.0MHz, offset = 0xf
ahc0: target 0 synchronous at 20.0MHz, offset = 0xf
Creating DISK da0
Creating DISK da1
Creating DISK da2
Creating DISK da3
Creating DISK cd0
pass0 at ahc0 bus 0 target 0 lun 0
pass0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
pass0: Serial Number 5U6G6557        
pass0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
pass1 at ahc0 bus 0 target 1 lun 0
pass1: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
pass1: Serial Number 5U2N3906        
pass1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
pass2 at ahc0 bus 0 target 2 lun 0
pass2: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
pass2: Serial Number 5U312691        
pass2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
pass3 at ahc0 bus 0 target 3 lun 0
pass3: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
pass3: Serial Number 5U323663        
pass3: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
pass4 at ahc0 bus 0 target 6 lun 0
pass4: <TEAC CD-R55S 1.0K> Removable CD-ROM SCSI-2 device 
pass4: Serial Number 8704381B
pass4: 10.000MB/s transfers (10.000MHz, offset 15)
Mounting root from ufs:/dev/da0s2a
(cd0:ahc0:0:6:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd0:ahc0:0:6:0): NOT READY asc:3a,0
(cd0:ahc0:0:6:0): Medium not present
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <TEAC CD-R55S 1.0K> Removable CD-ROM SCSI-2 device 
cd0: Serial Number 8704381B
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da1: Serial Number 5U2N3906        
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da3: Serial Number 5U323663        
da3: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da3: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da0: Serial Number 5U6G6557        
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da2: Serial Number 5U312691        
da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da0s1: type 0xb, start 63, end = 1638629, size 1638567 : OK
da0s2: type 0xa5, start 1638630, end = 4225094, size 2586465 : OK
start_init: trying /sbin/init
da1s1: type 0xa5, start 32, end = 4225023, size 4224992 : OK
da2s1: type 0xa5, start 32, end = 4225023, size 4224992 : OK
da3s1: type 0xa5, start 32, end = 4225023, size 4224992 : OK
ad4s1: type 0xb, start 63, end = 8193149, size 8193087 : OK
ad4s2: type 0xf, start 8193150, end = 32772599, size 24579450 : OK
ad4s3: type 0xa5, start 32772600, end = 80035829, size 47263230 : OK
ad4s5: type 0xb, start 8193213, end = 16386299, size 8193087 : OK
ad4<extended>: type 0x5, start 16386300, end = 24579449, size 8193150 : OK
ad4s6: type 0xb, start 16386363, end = 24579449, size 8193087 : OK
ad4<extended>: type 0x5, start 24579450, end = 32162129, size 7582680 : OK
ad4s7: type 0xb, start 24579513, end = 32162129, size 7582617 : OK
ad4<extended>: type 0x5, start 32162130, end = 32772599, size 610470 : OK
ad4s8: type 0x6, start 32162193, end = 32772599, size 610407 : OK
ad4s1: type 0xb, start 63, end = 8193149, size 8193087 : OK
ad4s2: type 0xf, start 8193150, end = 32772599, size 24579450 : OK
ad4s3: type 0xa5, start 32772600, end = 80035829, size 47263230 : OK
ad4s5: type 0xb, start 8193213, end = 16386299, size 8193087 : OK
ad4<extended>: type 0x5, start 16386300, end = 24579449, size 8193150 : OK
ad4s6: type 0xb, start 16386363, end = 24579449, size 8193087 : OK
ad4<extended>: type 0x5, start 24579450, end = 32162129, size 7582680 : OK
ad4s7: type 0xb, start 24579513, end = 32162129, size 7582617 : OK
ad4<extended>: type 0x5, start 32162130, end = 32772599, size 610470 : OK
ad4s8: type 0x6, start 32162193, end = 32772599, size 610407 : OK
splash: image decoder found: daemon_saver
xl0: promiscuous mode enabled
xl0: promiscuous mode disabled
(da0:ahc0:0:0:0): tagged openings now 32
(da1:ahc0:0:1:0): tagged openings now 32
(da3:ahc0:0:3:0): tagged openings now 32
(da2:ahc0:0:2:0): tagged openings now 32

#
# Kernel Config File: TITAN
#
# by Andreas Klemm, Sat Sep 25 21:30:05 CEST 1999
#
machine		i386
cpu		I686_CPU
ident		TITAN
maxusers	100

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
options		INCLUDE_CONFIG_FILE	#Include this file in kernel

options		INET			#Internet communications protocols
#option		INET6			#IPv6 communications protocols
#option		IPSEC			#IP security
#option		IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
#option		IPSEC_IPV6FWD		#IP security tunnel for IPv6
##options	IPSEC_DEBUG		#debug for IP security

options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) syscall trace support
options         SYSVSHM			#SYSV-style shared memory
options         SYSVMSG			#SYSV-style message queues
options         SYSVSEM			#SYSV-style semaphores
options		SOFTUPDATES		#Softupdates
options		MD5
options		NSWAPDEV=4
options		COMPAT_LINUX
options		SHOW_BUSYBUFS
options		P1003_1B
options		_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L
options 	USER_LDT

#options 	IPX			#IPX/SPX communications protocols
#options	NCP			#NetWare Core protocol
#options 	NETATALK		#Appletalk communications protocols
#options 	CODA			#CODA filesystem.
#pseudo-device	vcoda	4		#coda minicache <-> venus comm.

# Size of the kernel message buffer.  Should be N * pagesize.
options		MSGBUF_SIZE=40960

# To make an SMP kernel, the next two are needed
options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=4			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

# Options for the VM subsystem
#options	PQ_NOOPT		# No coloring
#options	PQ_LARGECACHE		# color for 512k/16k cache
options		PQ_HUGECACHE		# color for 1024k/16k cache

device		isa0
#device		pnp0			# PnP support for ISA
device		pci0

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
device		ahc0		# AHA2940 and onboard AIC7xxx devices

# SCSI Options
options 	SCSI_DELAY=8000		#Be pessimistic about Joe SCSI device
options		AHC_ALLOW_MEMIO

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
device		scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		sa0		# Sequential Access (tape etc)
device		cd0		# CD
device		pass0		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?
options		MAXCONS=4		# number of virtual consoles
options		SC_HISTORY_SIZE=200	# number of history buffer lines

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device          ppc0    at isa? port? irq 7
device          ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device
#device         vpo0    at ppbus?       # Requires scbus and da0

# Network Options
options	MROUTING			# Multicast routing
options	IPFIREWALL			#firewall
options	IPFIREWALL_VERBOSE		#print information about dropped packets
options IPFIREWALL_FORWARD		#enable xparent proxy support
options IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options IPDIVERT			#divert sockets
options ICMP_BANDLIM
options DUMMYNET

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus0		# MII bus support
device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device		ed0	at isa? port 0x280 irq 5 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocated.
#  The `gif' pseudo-device implements IPv6 over IP4 tunneling,
#  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
#  IPv6 over IPv6 tunneling.
#  The `faith' pseudo-device captures packets sent to it and diverts them
#  to the IPv4/IPv6 translation daemon.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	sl	1	# Kernel SLIP
#pseudo-device	ppp	1	# Kernel PPP
options		PPP_BSDCOMP	#PPP BSD-compress support
options		PPP_DEFLATE	#PPP zlib/deflate/gzip support
options		PPP_FILTER	#enable bpf filtering (needs bpfilter)
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	gzip		# Exec gzipped a.out's
# for IPv6
#pseudo-device	gif	4	#IPv6 and IPv4 tunneling
#pseudo-device	faith	1	#for IPv6 and IPv4 translation


# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

pseudo-device	vn              #Vnode driver (turns a file into a device)
pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
pseudo-device	ccd	4	#Concatenated disk driver

# Luigis new sound driver
#device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0

# for lmmon
device		smbus0
device		iicbus0
device		iicbb0
device		intpm0
device		smb0	at smbus?


# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
#device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
#device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

-- 
Andreas Klemm                                  http://www.FreeBSD.ORG/~andreas
                                     http://www.freebsd.org/~fsmp/SMP/SMP.html
                                   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000221235518.A998>