AT-Bus DMA-device on mixed AT/PCI systems

Hi all

About 12 years ago i developed a driver on os/2 for a special AT-Bus device
using system DMA. Now I ported this driver to NT 4.0. On the original system
(486 with only ISA-Bus) evertything works fine. On a Pentum system with
mixed ISA and PCI-Bus it works fine most of the time, but about every 100000
transfer the DMA fails. If i put some load on the PCI-bus, the error rate
raises to about 1 of 3000 transfers.
It looks like the PCI bus disturbs the special AT-bus card in some way.

Can anybody give me a hint.

Thank you very much in advance

F.X. Mayer


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Assuming you’re not bumping into a subtle bug in your driver that is exposed
by the faster CPU or by NT 4.0, have you tried to put a logic analyzer on
the ISA bus ? Or maybe one of those special PCI bus boards that collect data
? The first thing to know is what exactly happens when the failure occurs,
that is, from a bus timing point of view. The other thing is, have you tried
it on more than one motherboard ? Sometimes you have a bios-level register
setting, or even a hardware bus implementation, that throws things off
balance. Or maybe a subtractive decoding of ISA bus addresses is leading to
an intermittent timing violation.

Hope this helps,

Alberto.

-----Original Message-----
From: F.X. Mayer [mailto:xxxxx@fxm.de]
Sent: Wednesday, October 10, 2001 2:45 PM
To: NT Developers Interest List
Subject: [ntdev] AT-Bus DMA-device on mixed AT/PCI systems

Hi all

About 12 years ago i developed a driver on os/2 for a special AT-Bus device
using system DMA. Now I ported this driver to NT 4.0. On the original system
(486 with only ISA-Bus) evertything works fine. On a Pentum system with
mixed ISA and PCI-Bus it works fine most of the time, but about every 100000
transfer the DMA fails. If i put some load on the PCI-bus, the error rate
raises to about 1 of 3000 transfers.
It looks like the PCI bus disturbs the special AT-bus card in some way.

Can anybody give me a hint.

Thank you very much in advance

F.X. Mayer


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try “PCI Passive Release” setting in the BIOS setup.
This is some PCI-to-ISA bridge parameter which affects DMA.

Max

----- Original Message -----
From: “F.X. Mayer”
To: “NT Developers Interest List”
Sent: Wednesday, October 10, 2001 10:45 PM
Subject: [ntdev] AT-Bus DMA-device on mixed AT/PCI systems

> Hi all
>
> About 12 years ago i developed a driver on os/2 for a special AT-Bus device
> using system DMA. Now I ported this driver to NT 4.0. On the original system
> (486 with only ISA-Bus) evertything works fine. On a Pentum system with
> mixed ISA and PCI-Bus it works fine most of the time, but about every 100000
> transfer the DMA fails. If i put some load on the PCI-bus, the error rate
> raises to about 1 of 3000 transfers.
> It looks like the PCI bus disturbs the special AT-bus card in some way.
>
> Can anybody give me a hint.
>
> Thank you very much in advance
>
> F.X. Mayer
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Alberto

thank you very much for your reply. In the meantime I got a hint from a
member of this group, to disable the “PCI passive release”. This works
perfectly.
What do you mean “those special PCI bus boards that collect data” ?

Best Regards

F.X. Mayer

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Moreira, Alberto
Sent: Wednesday, October 10, 2001 9:02 PM
To: NT Developers Interest List
Subject: [ntdev] RE: AT-Bus DMA-device on mixed AT/PCI systems

Assuming you’re not bumping into a subtle bug in your driver that
is exposed
by the faster CPU or by NT 4.0, have you tried to put a logic analyzer on
the ISA bus ? Or maybe one of those special PCI bus boards that
collect data
? The first thing to know is what exactly happens when the failure occurs,
that is, from a bus timing point of view. The other thing is,
have you tried
it on more than one motherboard ? Sometimes you have a bios-level register
setting, or even a hardware bus implementation, that throws things off
balance. Or maybe a subtractive decoding of ISA bus addresses is
leading to
an intermittent timing violation.

Hope this helps,

Alberto.

-----Original Message-----
From: F.X. Mayer [mailto:xxxxx@fxm.de]
Sent: Wednesday, October 10, 2001 2:45 PM
To: NT Developers Interest List
Subject: [ntdev] AT-Bus DMA-device on mixed AT/PCI systems

Hi all

About 12 years ago i developed a driver on os/2 for a special
AT-Bus device
using system DMA. Now I ported this driver to NT 4.0. On the
original system
(486 with only ISA-Bus) evertything works fine. On a Pentum system with
mixed ISA and PCI-Bus it works fine most of the time, but about
every 100000
transfer the DMA fails. If i put some load on the PCI-bus, the error rate
raises to about 1 of 3000 transfers.
It looks like the PCI bus disturbs the special AT-bus card in some way.

Can anybody give me a hint.

Thank you very much in advance

F.X. Mayer


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@fxm.de
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Max

Thank you very, very much for your response. It solved my problem perfectly.

Best Regards

F.X. Mayer

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Thursday, October 11, 2001 4:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re: AT-Bus DMA-device on mixed AT/PCI systems

Try “PCI Passive Release” setting in the BIOS setup.
This is some PCI-to-ISA bridge parameter which affects DMA.

Max

----- Original Message -----
From: “F.X. Mayer”
> To: “NT Developers Interest List”
> Sent: Wednesday, October 10, 2001 10:45 PM
> Subject: [ntdev] AT-Bus DMA-device on mixed AT/PCI systems
>
>
> > Hi all
> >
> > About 12 years ago i developed a driver on os/2 for a special
> AT-Bus device
> > using system DMA. Now I ported this driver to NT 4.0. On the
> original system
> > (486 with only ISA-Bus) evertything works fine. On a Pentum system with
> > mixed ISA and PCI-Bus it works fine most of the time, but about
> every 100000
> > transfer the DMA fails. If i put some load on the PCI-bus, the
> error rate
> > raises to about 1 of 3000 transfers.
> > It looks like the PCI bus disturbs the special AT-bus card in some way.
> >
> > Can anybody give me a hint.
> >
> > Thank you very much in advance
> >
> > F.X. Mayer
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@fxm.de
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I haven’t done this kind of debugging for a while, but there are hardware
vendors who sell you an instrumentation PCI board. You plug the board into
the bus, and it collects data to a serial or parallel port, for example,
allowing you to analyze data. Normally they come with an app that allows you
to look at your collected data in a variety of ways. I even remember an
extender board that you plugged between the PCI bus and your board, and that
board would route data out to a port; but it’s been a while, I don’t know
what’s available out there today.

Alberto.

-----Original Message-----
From: F.X. Mayer [mailto:xxxxx@fxm.de]
Sent: Saturday, October 13, 2001 1:36 PM
To: NT Developers Interest List
Subject: [ntdev] RE: AT-Bus DMA-device on mixed AT/PCI systems

Alberto

thank you very much for your reply. In the meantime I got a hint from a
member of this group, to disable the “PCI passive release”. This works
perfectly.
What do you mean “those special PCI bus boards that collect data” ?

Best Regards

F.X. Mayer

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Moreira, Alberto
Sent: Wednesday, October 10, 2001 9:02 PM
To: NT Developers Interest List
Subject: [ntdev] RE: AT-Bus DMA-device on mixed AT/PCI systems

Assuming you’re not bumping into a subtle bug in your driver that
is exposed
by the faster CPU or by NT 4.0, have you tried to put a logic analyzer on
the ISA bus ? Or maybe one of those special PCI bus boards that
collect data
? The first thing to know is what exactly happens when the failure occurs,
that is, from a bus timing point of view. The other thing is,
have you tried
it on more than one motherboard ? Sometimes you have a bios-level register
setting, or even a hardware bus implementation, that throws things off
balance. Or maybe a subtractive decoding of ISA bus addresses is
leading to
an intermittent timing violation.

Hope this helps,

Alberto.

-----Original Message-----
From: F.X. Mayer [mailto:xxxxx@fxm.de]
Sent: Wednesday, October 10, 2001 2:45 PM
To: NT Developers Interest List
Subject: [ntdev] AT-Bus DMA-device on mixed AT/PCI systems

Hi all

About 12 years ago i developed a driver on os/2 for a special
AT-Bus device
using system DMA. Now I ported this driver to NT 4.0. On the
original system
(486 with only ISA-Bus) evertything works fine. On a Pentum system with
mixed ISA and PCI-Bus it works fine most of the time, but about
every 100000
transfer the DMA fails. If i put some load on the PCI-bus, the error rate
raises to about 1 of 3000 transfers.
It looks like the PCI bus disturbs the special AT-bus card in some way.

Can anybody give me a hint.

Thank you very much in advance

F.X. Mayer


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@fxm.de
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com