home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / minix / 3774 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.6 KB

  1. Path: sparky!uunet!mcsun!sunic!isgate!krafla!adamd
  2. From: adamd@rhi.hi.is (Adam David)
  3. Newsgroups: comp.os.minix
  4. Subject: Re: Help!!! Minix ignores 2nd HD (ST)
  5. Keywords: minix ST
  6. Message-ID: <5155@krafla.rhi.hi.is>
  7. Date: 26 Jul 92 01:54:36 GMT
  8. References: <5153@krafla.rhi.hi.is>
  9. Sender: news@rhi.hi.is
  10. Lines: 24
  11.  
  12. I wrote:
  13. >but I keep getting "DMA interrupt discarded" warnings whenever the 2nd disk
  14. >is accessed. This is ST Minix 1.5.10.4 with OLDSUPRA defined so that the
  15. >driver interacts correctly with the early type Supra hostadaptor.
  16.  
  17. It was the timing loop governed by PNK_DELAY that had to be lengthened because
  18. the 2nd disk is a fair bit slower than the first. PNK is presumably an acronym
  19. for Parameter Not Known, it was pure hocus pocus finding a useful value for it,
  20. and it was quite critical timing. Anything less than 140 or so discarded the
  21. interrupt, values between 140 and 160 gave a "kernel panic: Winchester task got
  22. message from -1". 160 worked alright. The first disk (which needed the OLDSUPRA
  23. mod in order to boot without a kernel panic) really didn't care about the timing
  24. delay and worked perfectly with all values that I tried, from 0 to 200.
  25.  
  26. I wonder, with the wide variation of CPU clock speeds available these days, is
  27. there not a better way of handling timing routines than using software loops
  28. written in C? Surely there are some spare timers on the MFP and sound chips
  29. that can be used to advantage. A lot of time is wasted executing busy loops
  30. while disk transfers are taking place, and this is a DMA based system (!!!).
  31. During the actual transfers, everything else just hangs. At least it is
  32. working now :-)
  33.  
  34. --
  35. Adam David. (adamd@rhi.hi.is)
  36.