[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49C919B9.70302@msgid.tls.msk.ru>
Date: Tue, 24 Mar 2009 20:34:49 +0300
From: Michael Tokarev <mjt@....msk.ru>
To: Mika Tiainen <mikat@....fi>
CC: Andreas Herrmann <andreas.herrmann3@....com>,
linux-kernel@...r.kernel.org
Subject: Re: Slow clock on AMD 740G chipset
[resurrecting (hopefully) an old thread.
Top-posting to keep old mess around for reference.]
To refresh what has been said. Several people observed slow clock
on their - mostly AMD 780g, 740g and 690g-based systems with 2.6.28
2.6.27 kernels. Slow to a point when ntpd wasn't successful to
keep up with the drift. It has been said that the motherboards are
flaky or something and that the clocks has to be calibrated, for
which there are known procedures available (adjtimex). Which helped.
Before the "calibration" the clock were off by ~15 minutes per day.
But today I tried newly released 2.6.29 kernel on one of the affected
systems - just because I wanted to test something else. And noticed
that the clock is running too fast. After some calculation I see that
it will run away for about 15 minutes per day, that is, exactly the
number which was used to compensate for slow clock on 2.6.2[78].
So it seems that with 2.6.29, all the motherboards suddenly become
non-flaky and the timers need no calibration anymore, working just
fine. Other operating systems and kernel versions also agree with
this conclusion of 2.6.29.
Any comments on this strange phenomenon ? :)
Thanks!
/mjt
Mika Tiainen wrote at Wed, 11 Mar 2009 16:43:11 +0200:
> On 11 Mar 2009, Michael Tokarev wrote:
>
>>> On Tue, Mar 10, 2009 at 11:18:07AM +0100, Andreas Herrmann wrote:
>>>> On Tue, Jan 20, 2009 at 04:16:10PM +0200, Mika Tiainen wrote:
>>>>> Hi,
>>>>>
>>>>> I built a new machine with Gigabyte GA-MA74GM-S2H motherboard that
>>>>> ntpd can't keep synced. Could this be a kernel bug or is it a
>>>>> hardware problem?
>>>>>
>>>>> Installed with Debian 2.6.27 kernel and currently running a self
>>>>> built 2.6.28.1, both have the problem. It's falling behind over
>>>>> 2s/15min:
>>>> That's annoying but I can't really help you with this. Maybe using
>>>> adjtimex as described in section 9.1.6 in
>>>> http://support.ntp.org/bin/view/Support/KnownHardwareIssues is an
>>>> option for you.
>> And adjtimex helped me on all 3 machines.
>> Running it in self-calibrate mode (that 70 sec thing)
>> plus running ntpd was enough for me for now.
>
> Yes, I'm also using adjtimex+ntpd now with 10024 tick for adjtimex.
>
>> What's interesting is that some time ago it worked just fine,
>> and, which is even more interesting, windows on this very
>> hardware shows quite good time stability (WITHOUT setting
>> the time using [s]ntp, its ntp client is disabled).
>
> Something weird is definitely going on under Linux. I got it working by
> chance in 2.6.28 _exactly_ once. Just booted normally and ntpd kept it
> in time without any resets for the week that it was up, next boot with
> the same kernel and it was again falling behind so I installed adjtimex.
>
> There was no difference in dmesg between working and not working.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists