home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / protocol / time / ntp / 1176 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.7 KB

  1. Path: sparky!uunet!think.com!spool.mu.edu!agate!ucbvax!maths.tcd.ie!ajudge
  2. From: ajudge@maths.tcd.ie (Alan Judge)
  3. Newsgroups: comp.protocols.time.ntp
  4. Subject: Problems with xntp and MIPS RISC/os 5.01
  5. Message-ID: <9301111451.aa09054@salmon.maths.tcd.ie>
  6. Date: 11 Jan 93 14:51:25 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 36
  11.  
  12. [Sorry to those who have already seen this in news.]
  13.  
  14. We are trying to run xntp 3 under MIPS RISC/os 5.01 on an R4000 based
  15. MIPS box.  We already have xntp 3 running fine on RISC/os 4.51 R3000
  16. machines;  these machines will be upgraded soon, and one of them is a
  17. fairly well used Stratum 2, hence the urgency of the problem.
  18.  
  19. Anyway, the main problem is that settimeofday seems to work oddly
  20. under RISC/os 5.  To quote:
  21.      The implementation of settimeofday ignores the tv_usec
  22.      field of tp.  If the time needs to be set with better
  23.      than one second accuracy, call settimeofday for the
  24.      seconds and then adjtime for finer accuracy.
  25.  
  26. This seems to cause xntp a good deal of indigestion and it never
  27. settles down.  The time drifts quite a lot off (like 5-10 seconds and
  28. more).
  29.  
  30.  
  31. Since the standard code didn't work, I had a rummage in the code and
  32. noticed SLEWALWAYS.  I tried defining this, and despite using several
  33. different tickadj values, xntp never worked properly and in some cases
  34. went total wild (drifting over a minute off in a few hours).
  35.  
  36. I've even tried some other hacks in ntp_loopfilter.c (which doesn't
  37. seem to depend on SLEWALWAYS, even though it looks like it should),
  38. but have had no success.
  39.  
  40.  
  41. So, can anyone tell me:
  42.     Does the SLEWALWAYS code work?
  43.     Do I need to do anything else?
  44.  
  45. Any suggestions that I could try?
  46. --
  47. Alan
  48.