Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 21:29:29 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        John Baldwin <john@baldwin.cx>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: System clock falls behind quickly on Mac mini G4
Message-ID:  <20140408142929.GC39088@regency.nsu.ru>
In-Reply-To: <201404071704.58659.john@baldwin.cx>
References:  <20140328071714.GA45961@regency.nsu.ru> <20140404144753.GA58190@regency.nsu.ru> <CAHSQbTCOoYw3PcdqmBki0-Bv4cYcxAaXWT6Dx7OF0=XzaWoQ1g@mail.gmail.com> <201404071704.58659.john@baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 07, 2014 at 05:04:58PM -0400, John Baldwin wrote:
> Also, if the frequency is calibrated incorrectly during boot for some reason,
> your time-of-day clock will drift constantly.  I've seen this on x86 boxes

Yes, I remember a thread (x86ish) some time ago about bogus TSC calibration,
but...

> where the TSC was calibrated incorrectly due to an interaction with SMM
> interrupts for legacy USB emulation.  In that case, adjusting machdep.tsc_freq
> to match the frequency from the CPU's brand string "fixed" the drift.

... sysctl -a does not show machdep.tsc_freq for me on this G4 box for
some reason (GENERIC kernel).

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140408142929.GC39088>