[comp.protocols.time.ntp] NTP on IRIX 3.3.2

ellis@rata.vuw.ac.nz (Brian Ellis) (03/13/91)

Has anybody got ntp running on a SGI. We're running IRIX 3.3.2 on a SGI
4D/340S.
It compiled quite nicely, but when running the following messages
appeared in SYSLOG:

Mar  9 04:19:12 kauri ntpd[5476]: ./ntpd version $Revision: 3.4.1.9 $
Mar  9 04:19:12 kauri ntpd[5476]: patchlevel 13
Mar  9 04:19:12 kauri ntpd[5476]: init_ntp: bad drift compensation value
Mar  9 04:19:12 kauri ntpd[5476]: Unknown kernal var _tickadj
Mar  9 04:19:12 kauri ntpd[5476]: Unknown kernal var _hz
Mar  9 04:19:12 kauri ntpd[5476]: Unknown kernal var _tick
Mar  9 04:19:12 kauri ntpd[5476]: sys.precision set to -6 from sys clock
of 0 HZ

So, has anybody figured out what kernel variables to use? (or any other
approach
to getting it working.)

In frustration I've set up timeslave, but I'd much rather be using NTP.

Thanks in advance...

Brian Ellis                               Computing Services Centre
Domain: ellis@rata.vuw.ac.nz              Victoria University of Wellington
					  P.O Box 600, New Zealand.

rbthomas@frogpond.rutgers.edu (Rick Thomas) (03/13/91)

> Has anybody got ntp running on a SGI. We're running IRIX 3.3.2 on a SGI

Well, I can't help with ntp, but I have xntpd running on about a half
dozen 4D/xxx machines here at Rutgers.  There are some patches
necessary to make it work right.  I will be posting them here soon
unless somebody e-mails me with a better place to send them to.  With
my patches, xntpd runs quite well and the SGIs keep much better time
than the flock of Suns sitting next to them on the same net.

Enjoy!

Rick
========================================================================
Rick Thomas, Manager
Supercomputer Remote Access Center, Rm D117
Rutgers University, College of Engineering
Brett and Bowser Roads
Piscataway, NJ 08855-0909

Phone: (908) 932-4301
Internet: rbthomas@jove.rutgers.edu
UUCP: {any backbone site}!rutgers!rbthomas
Alternate UUCP: {convex|c1apple|karna}!kingtut!rbthomas

"Soap and education are not as sudden as a massacre,
	but they are more deadly in the long run."  -- Mark Twain
========================================================================

srp@babar.mmwb.ucsf.edu (Scott R. Presnell) (03/15/91)

ellis@rata.vuw.ac.nz (Brian Ellis) writes:

>Has anybody got ntp running on a SGI. We're running IRIX 3.3.2 on a SGI
>4D/340S.

Yes, I have some patches to make ntpd run under IRIX.  I hacked up ntpd on
the on our iri to accept the "tickadj" var, multiply by 1000 and use it to
set timetrim via the syssgi() function and SGI_SETTIMETRIM (there is also a
SGI_GETTIMETRIM). Tickadj is in uS/S, timetrim is in nS/S.  I've been using
a value of about -400000 nS/S (so tickadj = -400) for our 4D/20's and a 25:
the logical clock stays synced with that.  timetrim is a signed long.

Check babar.mmwb.ucsf.edu [128.218.21.42] in ~ftp/pub/ntpd.patch for the
patch and the Makefile.

	- Scott Presnell (srp@cgl.ucsf.edu)

--
Scott Presnell				        +1 (415) 476-9890
Pharm. Chem., S-926				Internet: srp@cgl.ucsf.edu
University of California			UUCP: ...ucbvax!ucsfcgl!srp
San Francisco, CA. 94143-0446			Bitnet: srp@ucsfcgl.bitnet