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

  1. Xref: sparky comp.protocols.time.ntp:1149 comp.sys.mips:1146
  2. Newsgroups: comp.protocols.time.ntp,comp.sys.mips
  3. Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!ajudge
  4. From: ajudge@maths.tcd.ie (Alan Judge)
  5. Subject: Running xntp3 on MIPS RISC/os 5.01
  6. Message-ID: <1993Jan5.181355.4752@maths.tcd.ie>
  7. Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
  8. Date: Tue, 5 Jan 1993 18:13:55 GMT
  9. Lines: 38
  10.  
  11. I am attempting to run xntp3 on an R4000 based MIPS box running
  12. RISC/os 5, having previously had no trouble under RISC/os 4.51 with
  13. R3000 boxes.
  14.  
  15. The main problem seems to be that (as documented only in the svr4 man
  16. set from mips, and not the bsd43 man set) settimeofday ignores the
  17. usecond part altogether.  To quote:
  18.      The implementation of settimeofday ignores the tv_usec
  19.      field of tp.  If the time needs to be set with better
  20.      than one second accuracy, call settimeofday for the
  21.      seconds and then adjtime for finer accuracy.
  22.  
  23. Now, what I have been trying to do is run ntpdate at startup to get
  24. things roughly correct, and then run xntpd with SLEWALWAYS defined.
  25. This doesn't seem to be working at all well.  As far as I can tell
  26. ntp.drift always contains 0.00000 and the time frequently seems to
  27. slide as much as several seconds off.
  28.  
  29. I tried with tickadj at 5 and 40.
  30.  
  31. Is SLEWALWAYS known to work?  (I had a look at the code, but I don't
  32. know enough about NTP.  It seems that ntp_unixclock.c ignores
  33. attempted steps altogether, but ntp_loopfilter.c:localclock isn't
  34. modified on SLEWALWAYS and tries to call step_systime anyway.)
  35.  
  36. Can anyone enlighten me?
  37.  
  38. Has anyone got this combination to work correctly?
  39.  
  40.  
  41. I really need to get this working, as we will soon be upgrading one of
  42. our main stratum 2 clocks to RISCos 5, and would rather not have to
  43. close down the service and inconvenience people all over Europe.
  44. -- 
  45. Alan Judge   ajudge@maths.tcd.ie  a.k.a. amjudge@dsg.cs.tcd.ie +353-1-7021782
  46.  
  47. "The path of my life is strewn with cowpats from the devils' own herd."
  48.                                           -- Edmund Blackadder II
  49.