mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: Jean-Christian de Rivaz <jc@eclis.ch>
Cc: linux-kernel@vger.kernel.org, dean@arctic.org
Subject: Re: NTP broken with 2.6.14
Date: Thu, 03 Nov 2005 11:32:28 -0800	[thread overview]
Message-ID: <1131046348.27168.537.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <43697550.7030400@eclis.ch>

On Thu, 2005-11-03 at 03:26 +0100, Jean-Christian de Rivaz wrote:
> john stultz a écrit :
> > Hmm. Ok, so network wise you seem to be communicating with the server
> > without an issue. The other reasons for a reject condition are sync-loop
> > (your NTP server isn't synced to your box I'd assume), or your host is
> > drifting too severely from the NTP server for ntpd to compensate.
> > 
> > Attached is a cruddy python script I wrote that should provide you with
> > your ppm drift from your server.
> > To run:
> > o Disable ntpd
> > o Run "./drift-test.py <server>"
> > o Let it run for 10 minutes to get a decent drift value.

[snip]
> So with 2.6.8 this machine have a working ntpd. Now I stopped ntpd and 
> used your script with the server 10.0.0.1:
> 
> 03 Nov 02:36:32         offset: -6.9e-05        drift: -77.0 ppm
> 03 Nov 02:37:32         offset: -0.005162       drift: -84.7540983607 ppm
> 03 Nov 02:38:32         offset: -0.011573       drift: -95.7107438017 ppm
> 03 Nov 02:39:32         offset: -0.019045       drift: -105.26519337 ppm
> 03 Nov 02:40:32         offset: -0.02732        drift: -113.394190871 ppm
> 03 Nov 02:41:32         offset: -0.036287       drift: -120.581395349 ppm
> 03 Nov 02:42:32         offset: -0.045824       drift: -126.958448753 ppm
> 03 Nov 02:43:32         offset: -0.055755       drift: -132.45368171 ppm
> 03 Nov 02:44:33         offset: -0.065992       drift: -136.929460581 ppm
> 03 Nov 02:45:33         offset: -0.076472       drift: -141.10701107 ppm
> 03 Nov 02:46:33         offset: -0.087156       drift: -144.790697674 ppm

[snip]
> As before, the ntpd is not working properly with the 2.6.14 kernel. Now 
> I stopped ntpd and used your script with the 10.0.0.1 server:
> 
> 03 Nov 02:54:56         offset: -0.008247       drift: -4236.0 ppm
> 03 Nov 02:55:56         offset: -0.828716       drift: -13519.7540984 ppm
> 03 Nov 02:56:57         offset: -1.593172       drift: -13025.9098361 ppm
> 03 Nov 02:57:57         offset: -2.817531       drift: -15458.9010989 ppm
> 03 Nov 02:58:57         offset: -3.442019       drift: -14206.6446281 ppm
> 03 Nov 02:59:57         offset: -4.070492       drift: -13465.1688742 ppm
> 03 Nov 03:00:57         offset: -4.658962       drift: -12858.980663 ppm
> 03 Nov 03:01:57         offset: -5.267374       drift: -12472.4241706 ppm
> 03 Nov 03:02:57         offset: -5.843858       drift: -12115.8651452 ppm
> 03 Nov 03:03:57         offset: -7.052287       drift: -13004.199262 ppm
> 03 Nov 03:04:58         offset: -7.564786       drift: -12538.5986733 ppm
> 
> Interresting! So if I understand correctly the ntpd problem is because 
> the kernel 2.6.14 kernel show a drift about 100 time bigger than with 
> the kernel 2.6.8 on the same hardware. For information the mainboard is 
> the MSI K7N2 (nForce 2). Here is the cpuinfo in case that matter:

Yep. Thats what I was guessing. For some reason time is running too
quickly on your system. Since it is more then +/-500ppm NTP gives up and
won't sync.

Time running too fast can have a number of causes.

Could you open a bugme bug on this and tag me as the owner?
http://bugzilla.kernel.org

Also attach dmesg output and we'll see if that doesn't provide more
clues.

> > Would you mind confirming 2.6.12 does not have the issue on the same
> > hardware?
> 
> The kernel 2.6.12 run on a different hardware and is not configured to 
> work on the hardware that have the problem with 2.6.14, so I can't 
> confime exactly your question yet. If you don't have any better idea, I 
> can try several kernel version to find when the problem start. But I 
> will make that after I sleep because I you look at the time field into 
> the test result this is very late now for me...

When you get a chance starting with a binary search of kernel versions
would help narrow down the issue (start w/ 2.6.8 vanilla to make sure
something in the distro tree isn't avoiding this issue). 

> Thanks for you support, I hope we will quicky find to solution.

I really appreciate your immediate feedback and testing! I'm sure we can
resolve this soon, esp since you do have a working configuration to
compare against.

thanks
-john


  reply	other threads:[~2005-11-03 19:32 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 23:05 Jean-Christian de Rivaz
2005-11-02 23:21 ` john stultz
2005-11-02 23:37   ` Jean-Christian de Rivaz
2005-11-03  0:15     ` john stultz
2005-11-03  0:45       ` Jean-Christian de Rivaz
2005-11-03  1:07         ` john stultz
2005-11-03  2:26           ` Jean-Christian de Rivaz
2005-11-03 19:32             ` john stultz [this message]
2005-11-03 19:51               ` Lennart Sorensen
2005-11-03 20:11                 ` john stultz
2005-11-03 20:48                   ` Lennart Sorensen
2005-11-03 21:00                     ` john stultz
2005-11-03 21:12                       ` Lennart Sorensen
2005-11-03 21:28                   ` Jean-Christian de Rivaz
2005-11-03 21:12               ` Jean-Christian de Rivaz
2005-11-03 21:41                 ` john stultz
2005-11-03 22:10                   ` Jean-Christian de Rivaz
2005-11-03 22:54                     ` john stultz
2005-11-04  0:15                       ` Jean-Christian de Rivaz
2005-11-04  0:40                         ` john stultz
2005-11-04  2:50                           ` Jean-Christian de Rivaz
2005-11-06 22:49                             ` Hans-Peter Jansen
2005-11-07 21:44                               ` Jean-Christian de Rivaz
2005-11-04 12:40                       ` Maciej W. Rozycki
2005-11-02 23:24 ` john stultz
2005-11-03  0:36 ` Roman Zippel
2005-11-03  1:13   ` Jean-Christian de Rivaz
2005-11-03  9:42     ` Roman Zippel
2005-11-04  3:44 Brown, Len
2005-11-04  4:07 ` john stultz
2005-11-04 13:51   ` Lennart Sorensen
2005-11-04 16:39   ` Jean-Christian de Rivaz
2005-11-04 17:41     ` Jean-Christian de Rivaz

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=1131046348.27168.537.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=dean@arctic.org \
    --cc=jc@eclis.ch \
    --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®