From owner-freebsd-bugs Thu Aug 30 14:39:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 366C137B403 for ; Thu, 30 Aug 2001 14:39:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7ULU4m56090; Thu, 30 Aug 2001 14:30:04 -0700 (PDT) (envelope-from gnats) Date: Thu, 30 Aug 2001 14:30:04 -0700 (PDT) Message-Id: <200108302130.f7ULU4m56090@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Martin Blapp Subject: Re: kern/30135: Time drifting on STABLE SMP when calling gettimeofday Reply-To: Martin Blapp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/30135; it has been noted by GNATS. From: Martin Blapp To: Cc: Subject: Re: kern/30135: Time drifting on STABLE SMP when calling gettimeofday Date: Thu, 30 Aug 2001 17:34:58 +0200 (CEST) Thomas Moestl and I have found that the following workaround makes the clock speedup disappearing: --- sys/i386/isa/clock.c Thu Aug 30 17:01:31 2001 +++ sys/i386/isa/clock.c.new Thu Aug 30 17:01:29 2001 @@ -1203,7 +1203,7 @@ high = inb(TIMER_CNTR0); count = timer0_max_count - ((high << 8) | low); if (count < i8254_lastcount || - (!i8254_ticked && (clkintr_pending || + (!i8254_ticked && (/*clkintr_pending || */ ((count < 20 || (!(ef & PSL_I) && count < timer0_max_count / Maybe someone else know more ? Martin Martin Blapp, mb@imp.ch ------------------------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 061 826 93 00: +41 61 826 93 01 PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA DF2C 19C6 DCD1 1B3A EC9C ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message