From owner-freebsd-bugs Thu Dec 16 19:50: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 90EF3150CF for ; Thu, 16 Dec 1999 19:50:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA83739; Thu, 16 Dec 1999 19:50:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 16 Dec 1999 19:50:05 -0800 (PST) Message-Id: <199912170350.TAA83739@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: abc@firehouse.net Subject: Re: kern/12022: System clock timewarps Reply-To: abc@firehouse.net Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12022; it has been noted by GNATS. From: abc@firehouse.net To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: kern/12022: System clock timewarps Date: Thu, 16 Dec 1999 22:41:16 -0500 (EST) >Submitter-Id: current-users >Originator: Alan Clegg >Organization: Firehouse Network Consulting >Confidential: no >Synopsis: Clock warp semi-fix >Severity: serious >Priority: high >Category: i386 >Release: FreeBSD 3.4-RC i386 >Class: sw-bug >Environment: Winbook XL2 500Mhz Celeron laptop >Description: Timewarp of over 6 seconds per minute (losing 6 seconds) >How-To-Repeat: enable kernel APM, watch clock skew so badly that nothing can bring it back. >Fix: Since I don't have the option of turning off APM (no BIOS options), and I really like being able to watch the status of my batteries, I need both clock _AND_ apm. I enable use of TSC even if there is APM. While this may act funky on certain systems, it sure did fix the problem here. Might we add another OPTION to allow use of tsc even if there is APM for those systems where it actually works? Change of (around 824 of /sys/i386/isa/clock.c): --------------- if (apm_version != APMINI_CANTFIND) +#if defined(APM_TSC_OK) + printf("APM BIOS found but using tsc anyway\n"); +else return; +#endif /* !defined(APM_TSC_OK) */ #endif /* NAPM > 0 */ --------------- with the addition of: options APM_TSC_OK to my config file allows me to override code to override broken BIOS. 8-) AlanC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message