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