From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 1 19:03:55 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 0962C16A4CE for ; Tue, 1 Mar 2005 19:03:55 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA7843D1F for ; Tue, 1 Mar 2005 19:03:54 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j21J3oZj026498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Mar 2005 11:03:50 -0800 Message-ID: <4224BC8F.7060501@root.org> Date: Tue, 01 Mar 2005 11:03:43 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Ducrot References: <20050301025549.84FC02E2D8B@mra03.ex.eclipse.net.uk> <20050301080018.GA17731@poupinou.org> In-Reply-To: <20050301080018.GA17731@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: Joe Holden 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: Tue, 01 Mar 2005 19:03:55 -0000 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