Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2003 11:41:07 -0500
From:      Mike <skel@ewenix.net>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   4.7r-p6, VP6 and a 29160 adaptec
Message-ID:  <5.1.0.14.2.20030307113643.01ebc688@pop-server.neo.rr.com>

next in thread | raw e-mail | index | archive | help
Greetings
I am encountering a weird issue.
I keep getting this error.
/kernel: ahc0: PCI error Interrupt at seqaddr = 0x9
/kernel: ahc0: Data Parity Error Detected during address or write data phase
This only happens when I access a ide channel and create a load on
the channel. ie: run a perl md5 script and the errors start spitting out fast.
If I play some music off the ide controllers I dont get the error
nearly as often or as fast and furious as if I was running a md5check.
I currently have no scsi disks mounted although they are connected and powered.
Termination is proper.
All Ide drives are jumpered correctly and work great when I take the 
scsi controller out of the board. 
I have bounced IRQ's around for the cards made each card have its own IRQ.
It does not seem to matter. Finally I gave up and just let the IRQ's assign automagically.
I have also bounced cards around on different pci slots as well.
I have tried a 2940 u2w and am using a 29160n right now. Both give errors.
My hardware is as follows.
abit vp6 dual 750 pIII via apollo pro 133 chipset. Highpoint 370 controller
256 mbs of ram
2 NIC's (1) realtek 10/100 (1) intel 10/100
1 agp tnt2 
1 29160 adaptec
I have 5 IDE drives
(2) on IDE1 (2) on IDE2 (1) on IDE3 
(2) 9.1gb scsi drives not mounted yet connected to controller and powered.
400 watt antec smart power PS

dmesg as follows
Copyright (c) 1992-2002 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 4.7-RELEASE-p6 #8: Tue Feb 25 13:37:09 EST 2003
    skel@direwolf.neo.rr.com:/usr/src/sys/compile/freq
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (753.39-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 257474560 (251440K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
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: 0x00178011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0399000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc039909c.
Preloaded elf module "splash_bmp.ko" at 0xc03990ec.
Preloaded splash_image_data "/boot/bsd_daemon.bmp" at 0xc0399190.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fdbc0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 18 -> irq 10
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 2
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
rl0: <RealTek 8139 10/100BaseTX> port 0xcc00-0xccff mem 0xd9100000-0xd91000ff irq 2 at device 9.0 on pci0
rl0: Ethernet address: 00:a0:4c:39:11:ac
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd01f mem 0xd9000000-0xd90fffff,0xd9101000-0xd9101fff irq 5 at device 10.0 on pci0
fxp0: Ethernet address 00:a0:c9:c8:04:71
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xd400-0xd4ff mem 0xd9102000-0xd9102fff irq 5 at device 11.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
atapci1: <HighPoint HPT370 ATA100 controller> port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 irq 10 at device 14.0 on pci0
ata2: at 0xd800 on atapci1
ata3: at 0xe000 on atapci1
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,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
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 disabled
SMP: AP CPU #1 Launched!
ad0: timeout waiting for interrupt
ad0: 8063MB <WDC AC28400R> [16383/16/63] at ata0-master UDMA66
ad1: 38166MB <WDC WD400BB-00CLB0> [77545/16/63] at ata0-slave UDMA100
ad2: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata1-master UDMA100
ad3: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata1-slave UDMA100
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s1a
da1 at ahc0 bus 0 target 2 lun 0
da1: <WDIGTL WDE9100 1.50> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15)
da1: 8683MB (17783204 512 byte sectors: 255H 63S/T 1106C)
da0 at ahc0 bus 0 target 1 lun 0
da0: <WDIGTL WDE9100 1.30> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (20.000MHz, offset 15)
da0: 8683MB (17783204 512 byte sectors: 255H 63S/T 1106C) 

Why do I get scsi pci errors when I access my IDE bus?
How do I go about fixing this?
What does accessing the IDE bus have anything to do with the scsi bus?
Is the VP6 a rogue piece of hardware that just does not play nice with FBSD?
I have disconnected the cable and drives and still get the errors
on the controller, I thought a cable was causing issues yet alas.
My apologies for the short story yet thank you in advance for 
taking the time to read.
Sincerely Clueless
Mike 


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




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