From owner-freebsd-current Mon Jul 15 17:03:00 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA01378 for current-outgoing; Mon, 15 Jul 1996 17:03:00 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA01359 for ; Mon, 15 Jul 1996 17:02:53 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id KAA24680; Tue, 16 Jul 1996 10:00:03 +1000 Date: Tue, 16 Jul 1996 10:00:03 +1000 From: Bruce Evans Message-Id: <199607160000.KAA24680@godzilla.zeta.org.au> To: dwhite@resnet.uoregon.edu, sthaug@nethelp.no Subject: Re: xntpd stepping clock backwards? (was: Re: NFSv3 fixes for review) Cc: bde@zeta.org.au, current@FreeBSD.ORG Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > xntpd only does tiny adjustments which can't possibly make the clock >> > go backwards. OTOH, ntpdate or ordinary `date' can set the clock back >> > by years. >> >> Then why does my syslog show the following? It sure looks to me like xntpd >> sometimes steps the clock backwards. This is on 2.2-960612-SNAP. >I think you are misinterpeting the log entry. xtnpd works by adjusting >the length of a 'tick' so the clock 'speeds up' or 'slows down' as >necessary. This adjustment is called 'slew' and is inserted in very, >very small increments. But time continues to move forward, even if it >means slewing the ticks for quite a while. That's what I thought. Unfortunately, xntpd really does step the clock in some cases, unless SLEWALWAYS is defined. Bruce