Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 10:04:20 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Valentin Nechayev <netch@lucky.net>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: timer bad
Message-ID:  <Pine.BSF.4.10.9909211001170.325-100000@salmon.nlsystems.com>
In-Reply-To: <19990920170311.J8323@lucky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Sep 1999, Valentin Nechayev wrote:

> System: 3.3-release on AlphaPC 164SX (SRM V5.3-3). On startup, kernel writes:
> 
> Timecounter "alpha"  frequency 391549955 Hz
> 
> (real values on a series of successive boots was: 342MHz, 339MHz, 336MHz,
> 333MHz; after poweroff and poweron: 421MHz, 391MHz). Real speed is ~533 MHz,
> and hence kernel time speed on the last startup, when 391MHz was detected,
> was 136% of true one (tested with ntpdate). With 3.2-RELEASE, detection
> is true (531...MHz).
> 
> I fixed it by disabling calibrate_clocks() of sys/alpha/alpha/clock.c:
> 
> and now timer works normally.
> 
> Is it hardware, firmware or software problem, and how to fix it?

I haven't seen this before. I would guess software but you have a fairly
recent SRM version. I had to add this calibration code since SRM reports
an inaccurate clock frequency for some machines, causing noticable clock
drift.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909211001170.325-100000>