From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 06:12:25 2003 Return-Path: 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 C789916A4B3 for ; Wed, 24 Sep 2003 06:12:25 -0700 (PDT) Received: from remt21.cluster1.charter.net (remt21.cluster1.charter.net [209.225.8.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF3D4400F for ; Wed, 24 Sep 2003 06:12:25 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt21.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 772648 for freebsd-questions@freebsd.org; Wed, 24 Sep 2003 09:12:23 -0400 From: "Charles Howse" To: Date: Wed, 24 Sep 2003 08:12:20 -0500 Message-ID: <000801c3829d$7c6647a0$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Kern.timecounter.hardware issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 13:12:25 -0000 > Hi, > The following appeared in my daily security run output: >=20 > curly.howse.no-ip.org kernel log messages: > > Timecounter "TSC" frequency 300683473 Hz >=20 > I have a Celeron 300 CPU, if that matters. >=20 > A quick Google for 'Timecounter "TSC" frequency' led me to=20 > believe that I should change the hardware timecounter to i8254 with: >=20 > sysctl -w kern.timecounter.hardware=3Di8254 >=20 > I did that, rebooted, and ran sysctl -a again, only to see=20 > that kern.timecounter.hardware had reverted to TSC. >=20 > I have both i8254 and TSC showing in dmesg. >=20 > Should I make the change permanent across reboots, and if so, how? >=20 > BTW, are any of you getting the same messages from this list=20 > over and over again? > I am, I wonder what's going on? After re-reading man sysctl, I see I should be able to set any values I need in /etc/sysctl.conf I added kern.timecounter.hardware=3Di8254, saved, rebooted, no joy, = still set to TSC. The handbook doesn't have anything specific. What's going on?