public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christian de Rivaz <jc@eclis.ch>
To: john stultz <johnstul@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, dean@arctic.org, zippel@linux-m68k.org
Subject: Re: NTP broken with 2.6.14
Date: Thu, 03 Nov 2005 22:12:43 +0100	[thread overview]
Message-ID: <436A7D4B.8080109@eclis.ch> (raw)
In-Reply-To: <1131046348.27168.537.camel@cog.beaverton.ibm.com>

john stultz a écrit :

>>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:46:33         offset: -0.087156       drift: -144.790697674 ppm
> 
>>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 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.

Ok, I will make open a bug in a moment.

>>>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). 

A have tested 7 differents vanilla kernel on the same suspect hardware:

                2.6.8  : ntpd working : drift from    -77ppm to   -144ppm
                2.6.9  : ntpd working : drift from    -99ppm to   -231ppm
                2.6.10 : ntpd failed  : drift from -37825ppm to -29912ppm
                2.6.12 : ntpd failed  : drift from -43429ppm to -45251ppm
CONFIG_HZ=100  2.6.14 : ntpd failed  : drift from  -7598ppm to  -4410ppm
CONFIG_HZ=250  2.6.14 : ntpd failed  : drift from -13519ppm to -12538ppm
CONFIG_HZ=1000 2.6.14 : ntpd failed  : drift from -14497ppm to -19543ppm

So it seems that the problem start from the kernel 2.6.10. While testing 
I feel that the 2.6.14 kernel behave a little different than the others 
kernels. The drift don't increase alway in the same direction as for the 
others kernels, but oscillate around a central (too high) value. I also 
tested differents values of CONFIG_HZ with the 2.6.14 like suggested by 
Roman Zippel, but this don't make the ntpd working. Interresting, with 
CONFIG_HZ=100 the drift is halfed and ntpd reset his stats after each 5 
pools! Something I didn't notice with any others kernels.

> 
>>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.

I have 2 others machines with kernel >=2.6.10: one with kernel 2.6.12 
and one with kernel 2.6.13 and theres don't have any problem with ntpd. 
So this seems to be specific to the hardware. The two machines without 
problem are based on VIA chipset, one with a K7 and one with a K8. The 
machine with the ntp problem is based on a nForce2 with a K7. I see an 
other post saying that there exists the same problem with a other 
nForce2 based board.

Hope this help,
-- 
Jean-Christian de Rivaz

  parent reply	other threads:[~2005-11-03 21:12 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 23:05 NTP broken with 2.6.14 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
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
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=436A7D4B.8080109@eclis.ch \
    --to=jc@eclis.ch \
    --cc=dean@arctic.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.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