Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Feb 1999 22:53:16 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Adam David <adam@veda.is>
Cc:        nate@mt.sri.com (Nate Williams), adam@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/conf GENERIC 
Message-ID:  <684.918165196@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 04 Feb 1999 20:23:17 GMT." <199902042023.UAA16145@veda.is> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199902042023.UAA16145@veda.is>, Adam David writes:
>> >   Modified files:
>> >     sys/i386/conf        GENERIC 
>> >   Log:
>> >   remind that apm is required in order for timekeeping to work
>> 
>> Huh?
>
>Including apm in the kernel build fixes the problem where on (some?) Pentium
>class CPUs the timekeeping gets hosed because there is something weird
>happening with the TSC that makes it unusable for keeping time.
>
>The problem manifests as some of the system time counting being too slow by a
>factor of 32. Of course it never occurred to me that removing apm from the
>kernel (since it's not a laptop) would have this undesirable side effect.
>Therefore I place a warning notice so others won't fall into the same trap.

This should be backed out, the correct fix for these systems is to

	sysctl -w kern.timecounter.method=1

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?684.918165196>