Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ira.uka.de!fauern!opal!gmdtub!prosun!tmh From: tmh@prosun.first.gmd.de (Thomas Hoberg) Newsgroups: comp.unix.sysv386 Subject: Re: Simultaneous DMA Message-ID: <596@bigfoot.first.gmd.de> Date: 11 Apr 91 11:53:29 GMT References: <2247@pdxgate.UUCP> Sender: news@bigfoot.first.gmd.de Reply-To: tmh@prosun.first.gmd.de (Thomas Hoberg) Organization: GMD-FIRST, D-1000 Berlin 10 Lines: 41 In article <2247@pdxgate.UUCP>, brians@eecs.cs.pdx.edu (Brian Smith) writes: |> The manual for Interactive Unix states that it is possible for some DMA chips |> to malfunction when more than one allocated DMA channel is used simultaneously. |> Is there any way to tell whether a motherboard has this defect? One of the |> boards in my system which uses DMA is the SCSI disk controller, so I'd rather |> not test this under Unix and risk losing my filesystem. Even a DOS program |> to test for this problem would be fine. |> This should really only concern usage of the motherboards DMA chips (Intel 8237). Since these are really left overs from 8-bit days and run at 4MHz by default, they are quite combersome to use and slow. Some boards like those with a C&T chipset will allow them to clock at 8MHz, though. In any case *NO* SCSI host adapter that I am aware of will use these on board DMA a chip, but revert to bus mastering DMA, if they use DMA at all. Bus mastering means, they pull a DREQ line on the I/O bus to force the CPU off the bus and then generate memory cycles themselves. The Adaptec 154x works that way for example. The only devices actually using the 8237s that I know of, are the floppy disk and some QIC-02 cartrige tape controllers like those from Archive (maybe some network cards, too?). I don't know what happens if you try to use to floppys at the same time, since I guess they have to share DMA channel 2 (probably just doesn't work, after all the PC was a DOS machine). Whether you can use a QIC-02 tape streamer and a floppy at the same time depends on a tunable parameter called DMAEXCL or something like that, I *think*. In any case your file system shouldn't be trashed by your playing around with two DMA channels at the same time. |> My motherboard is the AMI Voyager 486-25. |> |> Thanks, |> Brian |> |> Inet: brians@cs.pdx.edu |> UUCP: tektronix!pdxgate!brians |> -- tom ---- Thomas M. Hoberg | UUCP: tmh@bigfoot.first.gmd.de or tmh%gmdtub@tub.UUCP c/o GMD Berlin | ...!unido!tub!gmdtub!tmh (Europe) or D-1000 Berlin 12 | ...!unido!tub!tmh Hardenbergplatz 2 | ...!pyramid!tub!tmh (World) Germany | BITNET: tmh%DB0TUI6.BITNET@DB0TUI11 or +49-30-254 99 160 | tmh@tub.BITNET