home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9954 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watserv1!Schultz.ON.CA!peter
  3. From: peter@Schultz.ON.CA (Peter Roeser)
  4. Subject: HPUX Device Driver
  5. Message-ID: <1992Sep01.202444.3973@Schultz.ON.CA>
  6. Organization: S-S Technologies Limited, Kitchener, ON
  7. Distribution: na
  8. Date: Tue, 01 Sep 1992 20:24:44 GMT
  9. Lines: 35
  10.  
  11. I am writing a kernal level device driver that interfaces to some
  12. hardware that does not support interrupts for the HP9000 series 700
  13. EISA bus.  It is necessary that a watchdog timer on the hardware be
  14. kicked at least once every second or the interface will shutdown.
  15. To do this I have implimented an ioctl within the device driver that
  16. does the appropriate timer reset, does some housekeeping, and then
  17. does a timeout() per DDG.
  18.  
  19. By doing some stress testing where we have the system do some tape
  20. backups, as well as communications to the device driver we believe 
  21. that the watchdog timer doen't get reset in time.
  22. We currently have the timer reset every one-half second, so that 
  23. seems like a long time for the driver to be scheduled to run.
  24.  
  25. Questions:
  26.  
  27. 1.  Do we need to raise the priority of the task that starts the
  28.     ioctl in order to execute within our required time frame?
  29.  
  30. 2.  Is it possible that tape activities could be locking us out
  31.     for such a long time?
  32.  
  33. 3.  Should we set the processor interrupt level higher 
  34.     (ie. use spl5() ) prior to doing the timeout?
  35.  
  36. 4.  Any other ideas?
  37.  
  38. Thanks for any help.
  39.  
  40.  
  41. -- 
  42. Peter Roeser                 | peter@Schultz.ON.CA
  43. S-S Technologies Inc.        | uunet.uu.net!watserv1.uwaterloo.ca!schultz!peter
  44. 88 Ardelt Avenue             | voice: (519) 571-1434 x227
  45. Kitchener, ON Canada N2C 2C9 | FAX:   (519) 743-3610
  46.