Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* xntp3 on Alpha (Multia UDB)
@ 1999-07-26 12:54 Brian Candler
  1999-07-26 13:50 ` Darren Breeze
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Brian Candler @ 1999-07-26 12:54 UTC (permalink / raw)
  To: axp-list

Anybody have any experience running xntp3 on a DEC Multia? It works, kind
of, but takes a long time to sync up, and /var/run/ntp.drift contains
-512.000 which is a rather suspicious value.

Jul 25 22:25:12 frogmella xntpd[7636]: xntpd 3-5.93e Sun Jul 25 22:10:48 BST 1999 (1)
Jul 25 22:25:12 frogmella xntpd[7636]: tickadj = 1, tick = 977, tvu_maxslew = 1022, est. hz = 1023
Jul 25 22:25:12 frogmella xntpd[7636]: precision = 6 usec
Jul 25 22:30:02 frogmella xntpd[7636]: synchronized to 194.159.253.2, stratum=2
Jul 25 22:30:02 frogmella xntpd[7636]: time reset (step) 0.272316 s
Jul 25 22:30:02 frogmella xntpd[7636]: synchronisation lost
Jul 25 22:35:04 frogmella xntpd[7636]: synchronized to 158.152.1.65, stratum=2
Jul 25 22:42:32 frogmella xntpd[7636]: synchronized to 158.152.1.76, stratum=2
Jul 26 09:01:02 frogmella xntpd[7636]: synchronized to 194.159.253.2, stratum=2

This is under Red Hat 6.0, kernel 2.2.5-22.

The system time was drifting anyway (which is why I installed xntp), perhaps
by as much as a few minutes per week, although I didn't measure it. The box
has a very low load.

Is this a limitation of the Noname motherboard? Or is there some kernel
tweak I can do to make the clock run more accurately?

Thanks,

Brian.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: xntp3 on Alpha (Multia UDB)
  1999-07-26 12:54 xntp3 on Alpha (Multia UDB) Brian Candler
@ 1999-07-26 13:50 ` Darren Breeze
  1999-07-26 16:04 ` Michal Jaegermann
  1999-07-26 22:44 ` Wieger Opmeer
  2 siblings, 0 replies; 5+ messages in thread
From: Darren Breeze @ 1999-07-26 13:50 UTC (permalink / raw)
  To: axp-list


I run NTPD that I got and compiled from http://www.eecis.udel.edu/~ntp

It runs in the background and starts with /etc/rc.d/rc.local

it points at my local time server (stdtime.gov.hk) and seems to keep 
everything correct.

Darren B.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xntp3 on Alpha (Multia UDB)
  1999-07-26 12:54 xntp3 on Alpha (Multia UDB) Brian Candler
  1999-07-26 13:50 ` Darren Breeze
@ 1999-07-26 16:04 ` Michal Jaegermann
  1999-07-26 22:44 ` Wieger Opmeer
  2 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1999-07-26 16:04 UTC (permalink / raw)
  To: axp-list

Brian Candler wrote:
> 
> 
> The system time was drifting anyway (which is why I installed xntp), perhaps
> by as much as a few minutes per week, although I didn't measure it. The box
> has a very low load.
> 
> Is this a limitation of the Noname motherboard? Or is there some kernel
> tweak I can do to make the clock run more accurately?

I do not have an experience with your xntp.  It sounds from your
description that basically it is working.  It is NOT supposed to change
your system time fast but to adjust it gradually in small steps.

A clock on your board may have a significant drift.  This is a "feature"
of a particular piece of hardware and other Noname board may have this
drift much smaller (or bigger) and/or in a different direction.
OTOH 'man hwclock' has a lengthy discussion about how to "tune" your
system clock in software to account for a systematic error.

If you want to experiment with more precise clocks than Ulrich Windl
has something called PPSkit (a series of kernel patches for clock
handling in a kernel).  I do not have at the moment a URL for it
but it should not be hard to find on the net.  I did not check if
his changes were adopted in later kernels.

   Michal


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xntp3 on Alpha (Multia UDB)
  1999-07-26 12:54 xntp3 on Alpha (Multia UDB) Brian Candler
  1999-07-26 13:50 ` Darren Breeze
  1999-07-26 16:04 ` Michal Jaegermann
@ 1999-07-26 22:44 ` Wieger Opmeer
  1999-07-27 12:13   ` Brian Candler
  2 siblings, 1 reply; 5+ messages in thread
From: Wieger Opmeer @ 1999-07-26 22:44 UTC (permalink / raw)
  To: Brian Candler; +Cc: axp-list


On Mon, 26 Jul 1999, Brian Candler wrote:
> Anybody have any experience running xntp3 on a DEC Multia? It works, kind
> of, but takes a long time to sync up, and /var/run/ntp.drift contains
> -512.000 which is a rather suspicious value.
> 

<snip>
> 
> This is under Red Hat 6.0, kernel 2.2.5-22.
> 

There was a alpha specific bug in the adjtimex syscall that xntp uses,
which was fixed in 2.2.8. So try a newer kernel and see if that works.

~~  Wieger

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xntp3 on Alpha (Multia UDB)
  1999-07-26 22:44 ` Wieger Opmeer
@ 1999-07-27 12:13   ` Brian Candler
  0 siblings, 0 replies; 5+ messages in thread
From: Brian Candler @ 1999-07-27 12:13 UTC (permalink / raw)
  To: Wieger Opmeer; +Cc: axp-list

> There was a alpha specific bug in the adjtimex syscall that xntp uses,
> which was fixed in 2.2.8. So try a newer kernel and see if that works.

Thanks. I tried 2.2.10, but the behaviour is the same.

However, setting "tickadj 976" (instead of the default 977) gives a
different drift (436.824 instead of -512.000) so it looks like the PLL is
working.

If I understand rightly, tickadj sets the number of microseconds in a clock
tick; since HZ = 1024 this should be (1000000/1024). 977 ought to be closer
to the correct value, but perhaps my motherboard's crystal osc. is slightly
off.

Problem solved, as far as I'm concerned :-)

Cheers,

Brian.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-07-27 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26 12:54 xntp3 on Alpha (Multia UDB) Brian Candler
1999-07-26 13:50 ` Darren Breeze
1999-07-26 16:04 ` Michal Jaegermann
1999-07-26 22:44 ` Wieger Opmeer
1999-07-27 12:13   ` Brian Candler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox