Subject: Re: High Load / bad response times
To: None <netbsd-users@netbsd.org>
From: Jochen Keil <J.Keil@gmx.de>
List: netbsd-users
Date: 02/12/2005 15:55:06
This is a multi-part message in MIME format.
--------------060602090101000304050405
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hello.
Lately i didn't get to much response from this list on different topics
but on this partcular issue i have some new information. My guess right
now is that the ahc(4) onboard SCSI controller is killing my system when
there is too much disk i/o.
ahc0:SCB 0x17 - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahc0: Dumping Card State while idle, at SEQADDR 0x185
Card was paused
[..]
ahc0:SCB 23: Immediate reset. Flags = 0x420
sd1(ahc0:0:2:0): ahc0: no longer in timeout, status = 0
(full dmesg + kernconf attached below)
After that my system usually hangs. What's interesting is that if i have
"screen" running i can still cycle through it and watch the output of
"top", "sysstat vmstat", "iostat" and whatever is running. Trying to
open a new window (^a-c) or trying to execute a new program will fail
though. In this status ping response times are as expected below 1ms.
Whatsmore processes on the IDE based RAID system still work but disk i/o
on the scsi disks is zero.
A few things i've tried are setting the 64bit PCI speed (to which the
onboard SCSI controller is connected) from 66Mhz to 33, enabling
NEW_BUFQ_STRATEGY and AHC_NO_TAGS. All this helped a little but on
really high i/o together with a lot of nfs operations and raid i/o i
still get my system killed. I've found several mails describing just the
same timeout problem with that ahc controller.
At the moment i got three cmdide (SiI 0680) cards in the computer, one
is in a 64bit PCI slot. [1] At first i thought this was causing trouble
because ahc is connected to that bus too. Then i disconnected all drives
(didn't pull out the cmdide cards though) except for one SCSI drive and
had to find out that the ahc timeout still occurs. As said above i then
switched to 33MHz (instead of 66MHz) bus speed for 64bit which made it
better but after connecting everything back again the problem still
showed up when there is high load an i/o on everything.
One more thing: I tested FreeBSD 5.3 and 4.11 on that machine but i
didn't look into ahc because i thought SMP would be causing that
trouble. However FreeBSD 5.3 showed the same behaviour as NetBSD whereas
4.11 didn't. [2]
To mention a few interrupt numbers: Putting i/o on my RAID system (6
disks connected with 3 cmdide controller) e.g. on re-write of parity
(had to do that a lot recently..) would cause around 4000 interrupts
whichs is quite acceptable and didn't affect the system.
When i'm accessing _one_ SCSI disk (e.g. performance test) together with
the RAID it will eventually go up to ~10000 interrupts. Quite a lot in
my opinion. This will already seriously affect the system with ssh
getting sluggish and together with my second SCSI disk it will kill the
system as described above.
So my question is: What else can i do despite buying a new SCSI
controller? (Slowly i'm getting tired of spending money on that machine..)
Maybe there are some "inofficial" patches for ahc or some more fine
tuning options like AHC_NO_TAGS?
Kind regards,
Jochen Keil
For the dmesg i'm not quite sure about those cmdide errors but i think
they are the result of ahc messing up the whole system because without
ahc i do not get them.
[1] http://mail-index.netbsd.org/netbsd-users/2005/01/31/0004.html
Solved by putting the above mentioned cmdide cards into the computer
[2]
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/072279.html
Jochen Keil wrote:
> Hi everbody.
>
> Shortly ago i sent a mail because of raid and cgd.
> Meanwhile i figured out that i'm having a general problem with high
> loads (~4-10). When i'm doing a ping from a machine in the network (they are
> connected via a cross cable to be exact) some of the ping response times
> really are not what one could expect from an 100mbit cross link.
> For example:
> jochen@columbus ~> ping 192.168.0.100 | grep -v "time=0."
> PING 192.168.0.100 (192.168.0.100): 56 data bytes
> 64 bytes from 192.168.0.100: icmp_seq=270 ttl=255 time=75.670 ms
> 64 bytes from 192.168.0.100: icmp_seq=455 ttl=255 time=98.058 ms
> 64 bytes from 192.168.0.100: icmp_seq=701 ttl=255 time=28.991 ms
> 64 bytes from 192.168.0.100: icmp_seq=718 ttl=255 time=1.031 ms
> 64 bytes from 192.168.0.100: icmp_seq=1132 ttl=255 time=1.503 ms
> 64 bytes from 192.168.0.100: icmp_seq=1353 ttl=255 time=19.023 ms
> 64 bytes from 192.168.0.100: icmp_seq=1540 ttl=255 time=1.134 ms
> 64 bytes from 192.168.0.100: icmp_seq=1683 ttl=255 time=60.135 ms
>
> Where 192.168.0.100 is the netbsd machine.
> I've never experienced such a behaviour with my FreeBSD machine and the
> fact that i really start liking NetBSD will make it even harder for me
> to switch back.
> I'm using a dual piii machine with NetBSD 2.0 and a SMP kernel.
> Dmesg and kernel configuration file have already been sent to this list:
> http://mail-index.netbsd.org/netbsd-users/2005/01/03/0009.html
>
> Something is coming to my mind just at the moment.
> Maybe it's a problem with one of the NIC's. I will give that a try as
> soon as i am at home again (there is an onboard fxp0 which is currently
> connected and a wm0 which i'll try out later).
> But i suppose that it's a problem with the kernel..
>
> Please help me even your wildest speculations are welcome :)
>
> Best Regards,
>
> Jochen Keil
--------------060602090101000304050405
Content-Type: text/plain;
name="dmesg.whole_lotta_errors"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="dmesg.whole_lotta_errors"
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd1 bn 26312704; cn 26103 tn 13 sn 61), retrying
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0e: DMA error writing fsbn 43658784 of 43658784-43658815 (wd0 bn 43658784; cn 43312 tn 4 sn 36), retrying
cmdide0:1:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd1 bn 26312704; cn 26103 tn 13 sn 61), retrying
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0e: DMA error writing fsbn 43658784 of 43658784-43658815 (wd0 bn 43658784; cn 43312 tn 4 sn 36), retrying
cmdide0:1:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1: transfer error, downgrading to Ultra-DMA mode 2
wd1(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd1e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd1 bn 26312704; cn 26103 tn 13 sn 61), retrying
wd0: soft error (corrected)
wd1: soft error (corrected)
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd0e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd0 bn 26312704; cn 26103 tn 13 sn 61), retrying
cmdide0:1:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1: transfer error, downgrading to Ultra-DMA mode 1
wd1(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd1e: DMA error writing fsbn 43413920 of 43413920-43413951 (wd1 bn 43413920; cn 43069 tn 5 sn 53), retrying
ahc0:SCB 0x17 - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahc0: Dumping Card State while idle, at SEQADDR 0x185
Card was paused
ACCUM = 0x0, SINDEX = 0x48, DINDEX = 0xe4, ARG_2 = 0x5
HCNT = 0x0 SCBPTR = 0x1a
SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
LASTPHASE[0x1] SCSISEQ[0x12] SBLKCTL[0xa] SCSIRATE[0x0]
SEQCTL[0x10] SEQ_FLAGS[0xc0] SSTAT0[0x0] SSTAT1[0x8]
SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xa4]
SXFRCTL0[0x80] DFCNTRL[0x0] DFSTATUS[0x89]
STACK: 0xe 0x0 0x16b 0x180
SCB count = 48
Kernel NEXTQSCB = 24
Card NEXTQSCB = 23
QINFIFO entries: 23 6 26 0
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 7 17 1 12 30 14 5 4 27 29 22 13 18 23 19 0 10 2 9 24 28 15 31 21 20 11 6 3 25 16 8
Sequencer SCB Info:
0 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
1 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
2 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
3 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
4 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
5 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
6 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
7 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
8 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
9 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
10 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
11 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
12 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
13 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
14 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
15 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
16 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
17 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
18 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
19 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
20 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
21 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
22 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
23 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
24 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
25 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
26 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
27 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
28 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
29 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
30 SCB_CONTROL[0xe0]
SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
31 SCB_CONTROL[0xe0]
SCB_SCSIID[0x27] SCB_LUN[0x0] SCB_TAG[0xff]
Pending list:
0 SCB_CONTROL[0x60]
SCB_SCSIID[0x17] SCB_LUN[0x0]
26 SCB_CONTROL[0x60] SCB_SCSIID[0x17]
SCB_LUN[0x0]
6 SCB_CONTROL[0x60] SCB_SCSIID[0x17] SCB_LUN[0x0]
23
SCB_CONTROL[0x60] SCB_SCSIID[0x27] SCB_LUN[0x0]
Kernel Free SCB list: 31 5 25 22 10 18 14 8 9 3 29 15 16 19 20 1 47 11 27 13 28 7 30 2 4 17 21 12 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
>>>>>>>>>>>>>>>>>
sg[0] - Addr 0x1cbcc81c : Length 2020
sg[1] - Addr 0x13b1d000 : Length 4096
sg[2] - Addr 0x1e72e000 : Length 4096
sg[3] - Addr 0xc8b7000 : Length 4096
sg[4] - Addr 0xbdf0000 : Length 4096
sg[5] - Addr 0x81c9000 : Length 4096
sg[6] - Addr 0x142ba000 : Length 4096
sg[7] - Addr 0x10c23000 : Length 4096
sg[8] - Addr 0xd354000 : Length 2076
ahc0:SCB 23: Immediate reset. Flags = 0x420
sd1(ahc0:0:2:0): ahc0: no longer in timeout, status = 0
ahc0: Issued Channel A Bus Reset. 4 SCBs aborted
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to DMA mode 2
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd0 bn 26312704; cn 26103 tn 13 sn 61), retrying
cmdide0:1:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1: transfer error, downgrading to DMA mode 2
wd1(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd1e: DMA error writing fsbn 43413920 of 43413920-43413951 (wd1 bn 43413920; cn 43069 tn 5 sn 53), retrying
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(cmdide0:0:0): using PIO mode 4
wd0e: DMA error writing fsbn 26312704 of 26312704-26312735 (wd0 bn 26312704; cn 26103 tn 13 sn 61), retrying
cmdide0:1:0: lost interrupt
type: ata tc_bcount: 16384 tc_skip: 0
cmdide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd1: transfer error, downgrading to PIO mode 4
wd1(cmdide0:1:0): using PIO mode 4
wd1e: DMA error writing fsbn 43413920 of 43413920-43413951 (wd1 bn 43413920; cn 43069 tn 5 sn 53), retrying
wd0: soft error (corrected)
wd1: soft error (corrected)
NetBSD 2.0.1 (CHIMERA) #25: Thu Feb 10 22:28:24 CET 2005
jochen@chimera:/usr/src/sys/arch/i386/compile/CHIMERA.MP
total memory = 511 MB
avail memory = 498 MB
BIOS32 rev. 0 found at 0xfdb90
PCI BIOS rev. 2.1 found at 0xfdbb1
PCI IRQ Routing Table rev. 1.0 found at 0xf5230, size 176 bytes (9 entries)
PCI Interrupt Router at 000:15:0 (vendor 0x1166 product 0x0225 compatible)
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0225
WARNING: can't reserve area for BIOS PROM.
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (AMI CNB30LE )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium III (686-class), 799.67 MHz, id 0x683
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 133 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Pentium III (686-class), 799.62 MHz, id 0x683
cpu1: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 383fbff<FXSR,SSE>
cpu1: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu1: L2 cache 256 KB 32B/line 8-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 4 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 16 pins
ioapic1 at mainbus0 apid 5 (I/O APIC)
ioapic1: pa 0xfec01000, version 11, 16 pins
pnpbios0 at mainbus0: nodes 13, max len 234
com0 at pnpbios0 index 11 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com0: console
lpt0 at pnpbios0 index 12 (PNP0401)
lpt0: io 378-37b 778-77a, irq 7, DMA 3
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: vendor 0x1166 product 0x0009 (rev. 0x05)
pchb1 at pci0 dev 0 function 1
pchb1: vendor 0x1166 product 0x0009 (rev. 0x05)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
wm0 at pci1 dev 1 function 0: Intel i82545GM 1000BASE-T Ethernet, rev. 4
wm0: interrupting at ioapic1 pin 8 (irq 11)
wm0: 64-bit 33MHz PCI bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0e:0c:2c:13:de
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
cmdide0 at pci1 dev 2 function 0
cmdide0: Silicon Image 0680 (rev. 0x02)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ioapic1 pin 10 (irq 3) for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
ahc0 at pci1 dev 3 function 0: Adaptec aic7892 Ultra160 SCSI adapter
ahc0: interrupting at ioapic1 pin 12 (irq 5)
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
cmdide1 at pci0 dev 1 function 0
cmdide1: Silicon Image 0680 (rev. 0x02)
cmdide1: bus-master DMA support present
cmdide1: primary channel configured to native-PCI mode
cmdide1: using ioapic1 pin 0 (irq 9) for native-PCI interrupt
atabus2 at cmdide1 channel 0
cmdide1: secondary channel configured to native-PCI mode
atabus3 at cmdide1 channel 1
cmdide2 at pci0 dev 2 function 0
cmdide2: Silicon Image 0680 (rev. 0x02)
cmdide2: bus-master DMA support present
cmdide2: primary channel configured to native-PCI mode
cmdide2: using ioapic1 pin 2 (irq 11) for native-PCI interrupt
atabus4 at cmdide2 channel 0
cmdide2: secondary channel configured to native-PCI mode
atabus5 at cmdide2 channel 1
vendor 0x1002 product 0x4354 (VGA display, revision 0x41) at pci0 dev 3 function 0 not configured
fxp0 at pci0 dev 6 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at ioapic1 pin 15 (irq 10)
fxp0: Ethernet address 00:30:48:21:74:63
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 15 function 0
pcib0: vendor 0x1166 product 0x0200 (rev. 0x4f)
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus6 at rccide0 channel 0
rccide0: secondary channel configured to compatibility mode
rccide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus7 at rccide0 channel 1
vendor 0x1166 product 0x0220 (USB serial bus, interface 0x10, revision 0x04) at pci0 dev 15 function 2 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
ioapic1: enabling
ioapic0: enabling
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IBM, IC35L036UWDY10-0, S28C> disk fixed
sd0: 34715 MB, 36703 cyl, 3 head, 645 sec, 512 bytes/sect x 71096640 sectors
sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <IBM, IC35L036UWDY10-0, S23C> disk fixed
sd1: 35003 MB, 36703 cyl, 3 head, 651 sec, 512 bytes/sect x 71687340 sectors
sd1: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
wd0 at atabus0 drive 0: <WDC WD2000JB-32EVA0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd1 at atabus1 drive 0: <WDC WD2000JB-00GVA0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd2 at atabus2 drive 0: <WDC WD2000JB-00GVA0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(cmdide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd3 at atabus3 drive 0: <WDC WD2000JB-00GVA0>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd3(cmdide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd4 at atabus4 drive 0: <WDC WD2000JB-00GVA0>
wd4: drive supports 16-sector PIO transfers, LBA48 addressing
wd4: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd4: 32-bit data port
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd4(cmdide2:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd5 at atabus5 drive 0: <WDC WD2000JB-16FUA0>
wd5: drive supports 16-sector PIO transfers, LBA48 addressing
wd5: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd5: 32-bit data port
wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd5(cmdide2:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
atapibus0 at atabus6: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4040B, K1139U95951, A302> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
raid0: RAID Level 5
raid0: Components: /dev/wd0e /dev/wd1e /dev/wd2e /dev/wd3e /dev/wd4e
raid0: Total Sectors: 1562887552 (763128 MB)
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
cpu1: CPU 1 running
Warning: truncating spare disk /dev/wd5e to 390721888 blocks
--------------060602090101000304050405
Content-Type: text/plain;
name="CHIMERA"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="CHIMERA"
# $NetBSD: GENERIC,v 1.595.2.11 2004/08/30 09:52:37 tron Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel. The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.
include "arch/i386/conf/std.i386"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.595.2.11 $"
ident CHIMERA
maxusers 16 # estimated number of users
# CPU support. At least one is REQUIRED.
options I686_CPU
# CPU-related options.
options MTRR # memory-type range register syscall support
# delay between "rebooting ..." message and hardware reset, in milliseconds
options CPURESET_DELAY=0
# Standard system options
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
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 SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Beep when it is safe to power down the system (requires sysbeep)
options BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
options BEEP_ONHALT_COUNT=25 # Times to beep
#options BEEP_ONHALT_PITCH=1500 # Default frequency (in Hz)
#options BEEP_ONHALT_PERIOD=250 # Default duration (in msecs)
# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Likely stable but not yet the default.
options NEW_BUFQ_STRATEGY
# File systems
file-system FFS # UFS
file-system MFS # memory file system
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system PROCFS # /proc
# File system options
options QUOTA # UFS quotas
options SOFTDEP # FFS soft updates support.
options NFSSERVER # Network File System server
# Networking options
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
#
# wscons options
#
# builtin terminal emulations
#options WSEMUL_SUN # sun terminal emulation
#options WSEMUL_VT100 # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
#options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
# 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
# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
#options PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options VGA_CONSOLE_SCREENTYPE="\"80x24\""
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options VGA_CONSOLE_ATI_BROKEN_FONTSEL
# the following enables some functions to get mouse console support.
# if you want a really secure system, it may be better not to enable them,
# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
#options WSDISPLAY_CHARFUNCS # mouse console support
# console scrolling support.
#options WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options VGA_RASTERCONSOLE
options CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=115200
# you don't want the option below ON iff you are using the
# serial console option of the new boot strap code.
options CONS_OVERRIDE # Always use above! independent of boot info
#options AHC_ALLOW_MEMIO # allow PCI adapters to use memory mapped I/O if enabled
options AHC_NO_TAGS # Disable tagged queuing (avoids hangs on some hardware under load)
#options SDRETRIES=10 # Set the number of retries that will be performed for oper-
# ations it makes sense to retry (e.g., normal reads and
# writes). The default is four (4).
#options SD_IO_TIMEOUT=120000 # Set amount of time, in milliseconds, a normal read or
# write is expected to take. The defaults is sixty seconds
# (60000 milliseconds). This is used to set watchdog timers
# in the SCSI HBA driver to catch commands that might have
# died on the device.
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#config netbsd root on sd0a type ffs
#config netbsd root on ? type nfs
#
# Device configuration
#
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus?
#apm0 at mainbus0 # Advanced power management
# Tuning for power management, see apm(4) for more details.
#options APM_NO_IDLE # Don't call BIOS CPU idle function
#options APM_V10_ONLY # Use only the APM 1.0 calls
#options APM_NO_POWEROFF # Don't power off on halt(8)
#options APM_NO_STANDBY # Do not attempt to put the system into standby mode.
#options APM_POWER_PRINT # Print stats on the console
#options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
# Basic Bus Support
# Advanced Control 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
#options MPACPI # configure CPUs and APICs using ACPI
# (acpi at mainbus must also be enabled)
#options MPACPI_SCANPCI # find PCI roots using MPACPI
#acpi0 at mainbus0
#options ACPI_PCI_FIXUP # PCI interrupt routing via ACPI
#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
# Mainboard devices
#com* at acpi? # Serial communications interface
#fdc* at acpi? # Floppy disk controller
#lpt* at acpi? # Parallel port
#npx* at acpi? # Math coprocessor
#pckbc* at acpi? # PC keyboard controller
#wss* at acpi? # NeoMagic 256AV in wss mode
# Plug-and-Play BIOS and attached devices
pnpbios* at mainbus?
# com port
# If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
# Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
# will be no com0. A side effect is pcmcia (and other) com? previously
# starting at com3 may attach as com1 or com2.
com* at pnpbios? index ? # serial ports
# parallel port
# The above "com*" comments apply, cf. "lpt0" under "ISA parallel
# "printer interfaces".
lpt* at pnpbios? index ? # parallel ports
#pckbc* at pnpbios? index ? # PC keyboard/mouse controller
# PCI bus support
pci0 at mainbus0 bus 0
#pci* at mainbus? bus ?
pci1 at pchb1 bus 1
#pci* at pchb? bus ?
#pci* at ppb? bus ?
# Configure PCI using BIOS information
options PCIBIOS # PCI BIOS support
#options PCIBIOSVERBOSE # PCI BIOS verbose info
options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses
options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering
options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing
#options PCIBIOS_INTR_FIXUP_FORCE # force fixup PCI interrupt routing
#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
options PCIBIOS_INTR_GUESS # see pcibios(4)
#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup
# PCI bridges
pchb0 at pci0 dev 0 function 0 # PCI-Host bridges
pchb1 at pci0 dev 0 function 1 # PCI-Host bridges
#pchb* at pci? dev ? function ? # PCI-Host bridges
#pceb* at pci? dev ? function ? # PCI-EISA bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
#ichlpcib* at pci? dev ? function ? # Intel ICH PCI-ISA w/ watchdog support
#pcmb* at pci? dev ? function ? # PCI-MCA bridges
#ppb* at pci? dev ? function ? # PCI-PCI bridges
# EISA bus support
#eisa0 at mainbus?
#eisa0 at pceb?
# ISA bus support
#isa0 at mainbus?
#isa0 at pceb?
isa0 at pcib?
#isa0 at ichlpcib?
# Coprocessor Support
# Math Coprocessor support
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
# ISA Plug-and-Play bus support
isapnp0 at isa?
# Console Devices
# ISA console
#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
# Keyboard layout configuration for pccons
#options FRENCH_KBD
#options FINNISH_KBD
#options GERMAN_KBD
#options NORWEGIAN_KBD
# pccons-specific options:
#options XSERVER_DDB # PF12 gets you into DDB when X is running
#options XSERVER # X server support
# wscons
#pckbc0 at isa? # pc keyboard controller
#pckbd* at pckbc? # PC keyboard
#vga0 at isa?
#vga* at pci? dev ? function ?
#pcdisplay0 at isa? # CGA, MDA, EGA, HGA
#wsdisplay* at vga? console ?
#wsdisplay* at pcdisplay? console ?
#wskbd* at pckbd? console ?
pcppi0 at isa?
sysbeep0 at pcppi?
# The spkr driver provides a simple tone interface to the built in speaker.
spkr0 at pcppi? # PC speaker
# Hardware monitors
# LM7[89] and compatible hardware monitors
#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310
# I2O devices
#iop* at pci? dev ? function ? # I/O processor
#iopsp* at iop? tid ? # SCSI/FC-AL ports
#ld* at iop? tid ? # block devices
#dpti* at iop? tid 0 # DPT/Adaptec control interface
# SCSI Controllers and Devices
# PCI SCSI controllers
ahc0 at pci1 dev 3 function 0 # Adaptec [23]94x, aic78x0 SCSI
#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
# SCSI bus support
scsibus0 at ahc0
#scsibus* at scsi?
# SCSI devices
sd0 at scsibus0 target 1 lun 0 # SCSI disk drives
sd1 at scsibus0 target 2 lun 0 # SCSI disk drives
#sd* at scsibus? target ? lun ? # SCSI disk drives
# 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.
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
rccide* at pci? dev ? function ? # ServerWorks IDE controllers
cmdide0 at pci1 dev 2 function 0 # CMD tech IDE controllers
cmdide1 at pci0 dev 1 function 0 # CMD tech IDE controllers
cmdide2 at pci0 dev 2 function 0 # CMD tech IDE controllers
#cmdide* at pci? dev ? function ? # CMD tech IDE controllers
# ATA (IDE) bus support
atabus0 at cmdide0 channel 0
atabus1 at cmdide0 channel 1
atabus2 at cmdide1 channel 0
atabus3 at cmdide1 channel 1
atabus4 at cmdide2 channel 0
atabus5 at cmdide2 channel 1
atabus* at ata?
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# 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".
wd0 at atabus0 drive 0 flags 0x0000
wd1 at atabus1 drive 0 flags 0x0000
wd2 at atabus2 drive 0 flags 0x0000
wd3 at atabus3 drive 0 flags 0x0000
wd4 at atabus4 drive 0 flags 0x0000
wd5 at atabus5 drive 0 flags 0x0000
#wd* at atabus? drive ? flags 0x0000
# ATAPI bus support
atapibus* at atapi?
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
# Network Interfaces
# PCI network interfaces
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
wm* at pci? dev ? function ? # Intel 8254x gigabit
# MII/PHY support
inphy* at mii? phy ? # Intel 82555 PHYs
makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
# Miscellaneous Devices
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device ccd 5 # concatenated/striped disk devices
pseudo-device raid 1 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options RF_INCLUDE_EVENODD=1
options RF_INCLUDE_RAID5_RS=1
#options RF_INCLUDE_PARITYLOGGING=1
#options RF_INCLUDE_CHAINDECLUSTER=1
#options RF_INCLUDE_INTERDECLUSTER=1
#options RF_INCLUDE_PARITY_DECLUSTERING=1
#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
# network pseudo-devices
pseudo-device bpfilter 8 # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
# rnd works; RND_COM does not on port i386 yet.
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
--------------060602090101000304050405
Content-Type: text/plain;
name="CHIMERA.MP"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="CHIMERA.MP"
# $NetBSD: GENERIC.MP,v 1.4 2003/03/05 10:28:00 grant Exp $
#
# GENERIC.MP -- Generic, plus enable Multiprocessor support.
#
include "arch/i386/conf/CHIMERA"
options MULTIPROCESSOR
options COM_MPLOCK # com MP locking; REQUIRED on MP i386
#options APM_NO_IDLE
#options DIAGNOSTIC # STRONGLY RECOMMENDED
#options LOCKDEBUG
#options MPDEBUG
#options MPVERBOSE
#options DEBUG
#options MPBIOS # configure CPUs and APICs using MPBIOS
#options MPACPI # configure CPUs and APICs using ACPI
# (acpi at mainbus must also be enabled)
#ioapic* at mainbus? apid ?
--------------060602090101000304050405--