From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 4 12:29:37 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9B0416A4CE for ; Fri, 4 Mar 2005 12:29:37 +0000 (GMT) Received: from mra02.ex.eclipse.net.uk (mra02.ex.eclipse.net.uk [212.104.129.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26CF43D39 for ; Fri, 4 Mar 2005 12:29:36 +0000 (GMT) (envelope-from joe@resync.eclipse.co.uk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mra02.ex.eclipse.net.uk (Postfix) with ESMTP id 3435A4064AC for ; Fri, 4 Mar 2005 12:29:34 +0000 (GMT) Received: from mra02.ex.eclipse.net.uk ([127.0.0.1]) by localhost (mra02.ex.eclipse.net.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02966-01-75 for ; Fri, 4 Mar 2005 12:29:32 +0000 (GMT) Received: from raindance (dont.irc.as.rewt.org.uk [82.152.102.45]) by mra02.ex.eclipse.net.uk (Postfix) with ESMTP id CA437406553 for ; Fri, 4 Mar 2005 12:28:15 +0000 (GMT) From: "Joe Holden" To: Date: Fri, 4 Mar 2005 12:28:23 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <4224BC8F.7060501@root.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUekW27KZtPDd2QT+uHSnrD19sydgCJC/xw Message-Id: <20050304122815.CA437406553@mra02.ex.eclipse.net.uk> X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk Subject: RE: Laptop And ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 12:29:38 -0000 -----Original Message----- From: Nate Lawson [mailto:nate@root.org] Sent: 01 March 2005 19:04 To: Bruno Ducrot Cc: Joe Holden; freebsd-acpi@freebsd.org Subject: Re: Laptop And ACPI Bruno Ducrot wrote: > On Tue, Mar 01, 2005 at 03:03:40AM -0000, Joe Holden wrote: > >>Hi, i'm having issues with a 4 year or so old laptop, if I disable acpi, the >>CPU is reported at 168 MHz and the clock tends to jump about abit. >> >> >>It's a Pentium 3 650 MHz > > > The TSC of PIII is more or less broken if using speedstep or apm idle > call. Its also unreliable when the processor is going to SMM (which > happens often IIRC on laptops when APM is enabled) > > With ACPI, FreeBSD use another time counter (acpi_timer) by > default and not TSC so you don't have this issue. > > You should use another time counter (its in a FAQ IIRC). > > Example: > > root@poupon.echo-net.net [8:47] ~# sysctl kern.timecounter.choice > kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000) > root@poupon.echo-net.net [8:47] ~# sysctl kern.timecounter.hardware=i8254 > > If i8254 is correct, then use it. Thanks, Bruno. Just another note that you should be able to put the timecounter choice in /boot/loader.conf too I think. -- Nate