From owner-freebsd-questions@FreeBSD.ORG Sun Oct 29 14:46:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95CBE16A415 for ; Sun, 29 Oct 2006 14:46:19 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id F19E643D5C for ; Sun, 29 Oct 2006 14:46:18 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 071205DAC; Sun, 29 Oct 2006 09:46:18 -0500 (EST) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oStLlGaPEFa4; Sun, 29 Oct 2006 09:46:17 -0500 (EST) Received: from [192.168.1.251] (pool-68-161-112-7.ny325.east.verizon.net [68.161.112.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id BD5A25D3B; Sun, 29 Oct 2006 09:46:16 -0500 (EST) Message-ID: <4544BEB6.80606@mac.com> Date: Sun, 29 Oct 2006 09:46:14 -0500 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Thierry Lacoste References: <200610291354.58097.th.lacoste@wanadoo.fr> In-Reply-To: <200610291354.58097.th.lacoste@wanadoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: clock running too fast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 14:46:19 -0000 Thierry Lacoste wrote: > On one of my servers running 6.1-RELEASE-p10 I cannot keep the clok > synchronized using ntpd. AFAICS this is certainly because the clock > is running way too fast (about one second per minute). > > After I run ntpdate then ntpd the clock is drifting and /var/db/ntp.drift > contains 0.00. > > Is there a way to slow down the system clock (something like tickadj > under some linux distributions) ? Take a look at "sysctl kern.timecounter", and choose another clock from the list of choices (by setting kern.timecounter.hardware to something else in the list of choices). If you are using TSC now, especially on a dual-CPU system, try using ACPI-safe or i8254 instead. If you are using the ACPI timecounter, try looking for a BIOS update for your hardware; perhaps that might fix the bogus clock. -- -Chuck