From owner-freebsd-current Thu Jan 23 11:18:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5451537B401 for ; Thu, 23 Jan 2003 11:18:18 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id C89D443EB2 for ; Thu, 23 Jan 2003 11:18:17 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 22517 invoked from network); 23 Jan 2003 19:18:22 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 23 Jan 2003 19:18:22 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h0NJIFUT042086; Thu, 23 Jan 2003 14:18:15 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030123172048.28C3C25@gypsy.vrac.iastate.edu> Date: Thu, 23 Jan 2003 14:18:18 -0500 (EST) From: John Baldwin To: Patrick Hartling Subject: RE: Time keeping problems with 5.0-RELEASE Cc: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 23-Jan-2003 Patrick Hartling wrote: > I just updated a 4.7-STABLE system (last rebuilt using sources from > Jan 7, 2003) to 5.0-RELEASE, and now the system clock is going nuts. > I had the same problem when I updated from 3-STABLE to 4-STABLE quite > a while back. To solve the problem then, I added the following to my > kernel configuration file: > > device apm0 at nexus? disable flags 0x20 > > For my 5.0 kernel configuration, I have: > > device apm > > In /boot/device.hints, I have: > > hint.apm.0.disabled="1" > hint.apm.0.flags="0x20" > > Unfortunately, this isn't working. Is there something different I need > to do for 5.0? Looking in NOTES for information about APM, I see a > reference to a sysctl variable kern.timecounter.method, but that doesn't > seem to be a valid oid in 5.0. I don't think this system (a cheap, old > Cyrix MediaGX-based computer) supports ACPI. At the very least, ACPI > isn't enabled by default at boot time as it is on my Athlon system. The sysctl is now kern.timecounter.hardware. For example: > sysctl kern.timecounter.hardware kern.timecounter.hardware: ACPI-safe If it is currently set to 'tsc', try changing it to 'i8254' and see if it works better. If so, you can stick that in /etc/sysctl.conf. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message