List Info

Thread: DMA errors with SiI3112 SATA card on Ultra 10




DMA errors with SiI3112 SATA card on Ultra 10
country flaguser name
United States
2007-07-13 21:53:38
I'm running OpenBSD 4.1 sparc64 on an Ultra 10 with a quad
hme card, USB
card, and Silicon Image 3112 SATA card.  The SATA card, and
2 x 250GB SATA
drives, were pulled from a dying i386 system, and I'm hoping
to use them in
my OBSD box.  I know that the OSBD sparc64 port doesn't
officially support
this SATA card, so I'm not expecting any miracles here, but
I was hoping to
make this work and I'm willing to try a few things if anyone
can help.  
Currently, the card is recognized along with the drives, but
if I leave the
GENERIC kernel at default settings for the drives they start
throwing DMA
errors pretty quickly.  They start at Ultra DMA 2, and I've
tried dropping
them to DMA 2 and then DMA 0, but it doesn't seem to matter,
after some
(usually short) time, I get the good old "bus-master
DMA error: missing
interrupt" and the system becomes barely responsive. 
I've dropped them to
PIO 4, and they work fine that way (I've transfered 80+ GB
of data to and
from them), but PIO imposes terrible overhead and the box
slows to near
dead when doing any significant file activity.  Is there are
way to get DMA
working?  Has there been any work on support for this device
or other
pciide changes that might help?  I did try the kernel
snapshot from about a
week ago, and still no luck.

Final note: I've tried this in a spare Ultra 5, and still
get the same
errors, so I doubt it's an issue with the Ultra 10.  Both
boxes work fine
otherwise.  The SATA card and drives work great in other
i386 systems I've
used them in, all on OBSD 4.x.

Thanks!

-Tony


console is /pci1f,0/pci1,1/ebus1/se14,400000:a
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All
rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  
http://www.OpenBSD.org

OpenBSD 4.1 (GENERIC) #1099: Sat Mar 10 19:18:09 MST 2007
    deraadtsparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile
/GENERIC
total memory = 268435456
avail memory = 234340352
using 1638 buffers containing 13418496 bytes of memory
bootpath: /pci1f,0/pci1,1/ide3,0/disk0,0
mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi
300MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.2)  299.793
MHz, version 0 FPU
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l),
512K external
(64 b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0,
version 0, ign 7c0
psycho0: bus range 0-3, PCI bus 0
psycho0: dvma map c0000000-dfffffff, iotdb 1366000-13e6000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI"
rev 0x11
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2"
rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003,
72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ipl 37
"SUNW,pll" at ebus0 addr 504000-504002 not
configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0: console i/o
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: no keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16
byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d,
700000-70000f ipl 34:
polled
"fdthree" at ebus0 addr 3023f0-3023f7,
706000-70600f, 720000-720003 ipl 39
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f,
704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01:
ivec 0x7e1, address
08:00:20:9c:34:79
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GT"
rev 0x9a
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 "CMD Technology
PCI0646" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHN2100AT>
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <GoldStar, CD-ROM
CRD-8240B, 1.24> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI"
rev 0x11
pci2 at ppb1 bus 2
ohci0 at pci2 dev 1 function 0 "CMD Technology
USB0670" rev 0x06: ivec
0x7d0, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: CMD Technology OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ppb2 at pci2 dev 2 function 0 "DEC 21153 PCI-PCI"
rev 0x04
pci3 at ppb2 bus 3
"Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0
not configured
hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01:
ivec 0x7d5, address
08:00:20:b4:b8:04
luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1
"Sun PCIO EBus2" rev 0x01 at pci3 dev 1 function 0
not configured
hme2 at pci3 dev 1 function 1 "Sun HME" rev 0x01:
ivec 0x7d6, address
08:00:20:b4:b8:05
luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1
"Sun PCIO EBus2" rev 0x01 at pci3 dev 2 function 0
not configured
hme3 at pci3 dev 2 function 1 "Sun HME" rev 0x01:
ivec 0x7d7, address
08:00:20:b4:b8:06
luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1
"Sun PCIO EBus2" rev 0x01 at pci3 dev 3 function 0
not configured
hme4 at pci3 dev 3 function 1 "Sun HME" rev 0x01:
ivec 0x7d4, address
08:00:20:b4:b8:07
luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1
pciide1 at pci2 dev 3 function 0 "CMD Technology
SiI3112 SATA" rev 0x02: DMA
pciide1: using ivec 0x7d8 for native-PCI interrupt
pciide1: port 0: device present, speed: 1.5Gb/s
wd1 at pciide1 channel 0 drive 0: <Maxtor 7Y250M0>
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd1(pciide1:0:0): using PIO mode 4, DMA mode 2
pcons at mainbus0 not configured
No counter-timer -- using %tick at 299MHz as system clock.
root on wd0a
rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02
WARNING: / was not properly unmounted
wd1(pciide1:0:0): timeout
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt,
status=0x20
wd1a: device timeout writing fsbn 484033632 of
484033632-484033759 (wd1 bn
484033632; cn 480192 tn 1 sn 33), retrying
wd1(pciide1:0:0): timeout
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt,
status=0x20
wd1a: device timeout writing fsbn 484033632 of
484033632-484033759 (wd1 bn
484033632; cn 480192 tn 1 sn 33), retrying
wd1(pciide1:0:0): timeout
        type: ata
        c_bcount: 65536
        c_skip: 0
pciide1:0:0: bus-master DMA error: missing interrupt,
status=0x20
wd1a: device timeout writing fsbn 484033632 of
484033632-484033759 (wd1 bn
484033632; cn 480192 tn 1 sn 33), retrying


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )