Subject: DMA/Interrupt Problems - IDE
To: 'port-arm32@netbsd.org' <port-arm32@netbsd.org>
From: Bruce Martin <BruceM@cat.co.za>
List: port-arm32
Date: 09/03/1999 08:57:54
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01BEF5D9.A5A7F680
Content-Type: text/plain

Hi All

I'm having problems using a PCI IDE Controller (Promise Ultra 33), but I
don't think it's a hardware or a device driver/OS problem. I can use the
Promise Card fine in non-DMA mode, but as soon as I enable DMA and type
for example:
  disklabel wd0

I get:
  pciide0:0:0: lost interrupt
        type: ata
        c_bcount: 512
        c_skip: 0
pciide0:0:0: Bus-Master DMA error: status=0x22
wd0c: DMA error reading fsbn 6 (wd0 bn 6; cn 0 tn 0 sn 6), retrying

Which then continues ad infinitum, and never recovers. I use other
hardware that makes use of DMA, and works perfectly, it is just the IDE
controller that is problematic. Does the "lost interrupt" and the
"Bus-Master DMA error: status=0x22" mean anything to anybody. I have a
feeling my bootloader is not setting something up properly, as other
people are using the Promise in DMA mode okay. Any hints or ideas from
anyone? The problem looks very similar to the "Bad ATAPI juju" thread
that took place here...

Thanks
  Bruce

------ =_NextPart_001_01BEF5D9.A5A7F680
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.1960.3">
<TITLE>DMA/Interrupt Problems - IDE</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi All</FONT>
</P>

<P><FONT SIZE=3D2>I'm having problems using a PCI IDE Controller =
(Promise Ultra 33), but I don't think it's a hardware or a device =
driver/OS problem. I can use the Promise Card fine in non-DMA mode, but =
as soon as I enable DMA and type for example:</FONT></P>

<P><FONT SIZE=3D2>&nbsp; disklabel wd0</FONT>
</P>

<P><FONT SIZE=3D2>I get:</FONT>
<BR><FONT SIZE=3D2>&nbsp; pciide0:0:0: lost interrupt</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: =
ata</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c_bcount: =
512</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c_skip: =
0</FONT>
<BR><FONT SIZE=3D2>pciide0:0:0: Bus-Master DMA error: =
status=3D0x22</FONT>
<BR><FONT SIZE=3D2>wd0c: DMA error reading fsbn 6 (wd0 bn 6; cn 0 tn 0 =
sn 6), retrying</FONT>
</P>

<P><FONT SIZE=3D2>Which then continues ad infinitum, and never =
recovers. I use other hardware that makes use of DMA, and works =
perfectly, it is just the IDE controller that is problematic. Does the =
&quot;lost interrupt&quot; and the &quot;Bus-Master DMA error: =
status=3D0x22&quot; mean anything to anybody. I have a feeling my =
bootloader is not setting something up properly, as other people are =
using the Promise in DMA mode okay. Any hints or ideas from anyone? The =
problem looks very similar to the &quot;Bad ATAPI juju&quot; thread =
that took place here...</FONT></P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>&nbsp; Bruce</FONT>
</P>

</BODY>
</HTML>
------ =_NextPart_001_01BEF5D9.A5A7F680--