mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: cesarb@nitnet.com.br
Subject: [Bug 1474] New: NTP needs too much time correction on	2.6.0-test9
Date: Sat, 01 Nov 2003 19:57:31 -0800	[thread overview]
Message-ID: <6270000.1067745451@[10.10.2.4]> (raw)

http://bugme.osdl.org/show_bug.cgi?id=1474

           Summary: NTP needs too much time correction on 2.6.0-test9
    Kernel Version: 2.6.0-test9
            Status: NEW
          Severity: normal
             Owner: johnstul@us.ibm.com
         Submitter: cesarb@nitnet.com.br


Distribution: Debian testing/unstable
Hardware Environment: K6II-350
Software Environment: ntpd 4.1.2a
Problem Description:

After upgrading from 2.6.0-test8 to 2.6.0-test9, I started seeing too many time
reset messages from ntpd (about two or three every hour), all saying the clock
was set back between 0.5s and 1.5s. Checking the status with ntpq I noticed it
had a large offset (on the order of 500ms ahead of the peers) and a huge
frequency correction (about -490). Removing ntp.drift (to restore the correction
to 0) and rebooting didn't help; after a few hours it was back at -500 (the
maximum allowed backwards correction) and still stepping the clock.

Rebooting back into 2.6.0-test8 fixed it; the frequency correction is now around
-70 and it is no longer losing sync.

While it was in 2.6.0-test9, a highly unscientific test (running "date" in it
and in a 2.4 box also using ntpd, in that order, gave me a result 1 second
higher for the first box consistently) shows that ntpd's statistics weren't
bogus; the time in the 2.6 box was really ahead by about 1 second all the time,
even with ntp trying to slew it (it didn't get higher since ntpd gave up and
stepped it after some time).

Steps to reproduce:

I can reproduce it here simply booting back into 2.6.0-test9; I don't know which
changes made the difference. I suspect a highly suspicious change in the timer
code between 2.6.0-test8 and 2.6.0-test9; I will try to find out how to get the
exact cset in the bkbits web interface and revert by hand to see if it works.



                 reply	other threads:[~2003-11-02  3:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6270000.1067745451@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=cesarb@nitnet.com.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®