From owner-freebsd-current Wed Jan 8 21:30:39 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 767EF37B401 for ; Wed, 8 Jan 2003 21:30:38 -0800 (PST) Received: from maestro.tackymt.homeip.net (dhcp-9.cent.saitama-u.ac.jp [133.38.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68CA743EB2 for ; Wed, 8 Jan 2003 21:30:36 -0800 (PST) (envelope-from taku@cent.saitama-u.ac.jp) Received: from dhcp-9.cent.saitama-u.ac.jp (localhost [IPv6:::1]) by maestro.tackymt.homeip.net (8.12.6/8.12.6) with SMTP id h095TpNQ006064; Thu, 9 Jan 2003 14:30:10 +0900 (JST) (envelope-from taku@cent.saitama-u.ac.jp) Date: Thu, 9 Jan 2003 14:29:50 +0900 From: Taku YAMAMOTO To: Trent Nelson Cc: freebsd-current@FreeBSD.org Subject: Re: System freeze running -current Message-Id: <20030109142950.6d488c39.taku@cent.saitama-u.ac.jp> In-Reply-To: <20030104175525.GA9667@limekiln.vcisp.net> References: <20030103151234.GA21140@arpa.com> <20030104175525.GA9667@limekiln.vcisp.net> Organization: Advanced Computer and Communication Studies Society X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, On Sat, 4 Jan 2003 17:55:25 +0000 Trent Nelson wrote: > No. However, it happened to me today shorty after I issued a sysctl > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?) It reminded me of my tiny local patch. --- src/sys/dev/acpica/acpi_cpu.c.orig Thu Oct 17 02:28:52 2002 +++ src/sys/dev/acpica/acpi_cpu.c Mon Dec 23 12:58:28 2002 @@ -328,7 +328,7 @@ if (speed < CPU_MAX_SPEED) { /* mask the old CLK_VAL off and or-in the new value */ - clk_val = CPU_MAX_SPEED << cpu_duty_offset; + clk_val = (CPU_MAX_SPEED - 1) << cpu_duty_offset; p_cnt &= ~clk_val; p_cnt |= (speed << cpu_duty_offset); Virtually yours, Taku -- YAMAMOTO, Taku Digital circuits are made from analog parts. -- Don Vonada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message