From owner-freebsd-hackers Thu Apr 8 12:32:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id CB91114DF6; Thu, 8 Apr 1999 12:32:53 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA01011; Thu, 8 Apr 1999 12:30:32 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199904081930.MAA01011@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Powell Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Real time clock problem in 3.1-STABLE In-reply-to: Your message of "Thu, 08 Apr 1999 10:36:59 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Apr 1999 12:30:32 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Installed 3.1-STABLE on an Apricot Shogun server. xntpd wouldn't sync time > correctly though. I set it up just as I do on any other machine. However, > on the same machine RedHat 5.2 can sync the time just fine. > FreeBSD had problems both before and after the recent kernel clock mods. > I notice that with 3.1-S looking at the clocks at boot up, it would appear > that over 40 reboots, the TSC clock has varied from 126668897 to > 132002659, a variance of almost 5%. Is this normal? Whereas when Linux > boots up the variance in processor clock speed is only about 1000Hz. Could > this be causing the time problems, and if so is there anyway I can fiddle > with tickadj or something to let xntpd work on this machine? > Unfortunately I'm going to have to go with Linux on this machine if > 3.1-S can't sync the time correctly. Anyone help? Cheers. The problem is probably our "advanced" timecounter code being screwed by the Apricot's firmware. You might try sysctl -w kern.timecounter.method=1 and see if that helps. Also talk to phk@freebsd.org about this if you haven't already. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message