Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 1999 16:37:07 -0400 (EDT)
From:      O Stockhammer <oliver@ancillary.inch.com>
To:        dwhite@resnet.uoregon.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: question regarding 3.1-stable and drifting time clock. (fwd)
Message-ID:  <Pine.BSF.4.05.9906071633270.7283-100000@ancillary.inch.com>

next in thread | raw e-mail | index | archive | help

Doug,
	This is the timecounter info you asked for:

Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 87498979 Hz
CPU: Pentium/P54C (87.50-MHz 586-class CPU)

	Looks like I have the same type of problem.

Oliver

> 
> Hello,
> 	I am running 3.1-stable on a Pentium 90.  I get a wicked time
> drift, something like 5 minutes fast every hour.  It is not my bios clock
> as that is keeping correct time (it is set to UTC). 

You too, eh?  When you boot up, you should get a line like:

Timecounter "TSC"  frequency 100228262 Hz  

What does it report for the freq?  

Something is up with the 3.X TSC calibration and it causes timewarping
clocks.  

 I am running xntpd to
> attempt to stop this and it is locally synching to another FBSD box which
> is keeping accurate time.  I have run tzsetup and set it to UTC as well
> with EDT as the timezone.
> 	When xntpd starts up it seems to be fine:
> 
> Jun  2 16:10:37 ary xntpd[106]: xntpd version=3.4e (beta multicast);
> Mon Feb 15 10:12:13 GMT 1999 (1)
> Jun  2 16:10:37 ary xntpd[106]: tickadj = 5, tick = 10000,
> tvu_maxslew = 495
> 
> 	But upon inspection of the time about an hour later, the clock has
> drifted again 5 minutes fast and continues to drift about 5 minutes/hour.
> 	There is no other logging in /var/log/messages from xntpd after
> starting it.  

xntpd can slew it only so much.  I'm trying xntpd on another problem box
but I'm not sure it can keep up.

> 	If I restart the machine and check the bios it is correctly set to
> UTC and the accurate time.  Is this a bug with 3.1-stable or am I missing
> something?  

I'm not sure if this is due to flaky PC hardware or if it's an actual bug.
Our P90 thinks it's a P87.5.  I think I'll enter a PR on it to get the
ball rolling.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" 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.05.9906071633270.7283-100000>