From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 12:41:59 2003 Return-Path: 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 DF97C37B404 for ; Thu, 14 Aug 2003 12:41:59 -0700 (PDT) Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80AA143FCB for ; Thu, 14 Aug 2003 12:41:58 -0700 (PDT) (envelope-from matoba@st.rim.or.jp) Received: from mail5.rim.or.jp by serio.al.rim.or.jp (3.7W/HMX-13) id EAA15799; Fri, 15 Aug 2003 04:41:55 +0900 (JST) Received: from localhost (ntkngw089160.kngw.nt.adsl.ppp.infoweb.ne.jp [220.209.97.160]) by mail5.rim.or.jp (8.9.3/3.7W) id EAA22277; Fri, 15 Aug 2003 04:41:56 +0900 (JST) Date: Fri, 15 Aug 2003 04:41:55 +0900 (JST) Message-Id: <20030815.044155.730550374.matoba@st.rim.or.jp> To: nate@root.org From: MATOBA Hirozumi In-Reply-To: <20030814111800.P93797@root.org> References: <20030814111800.P93797@root.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: clock works slowly when I change CPU speed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 19:42:00 -0000 From: Nate Lawson Date: Thu, 14 Aug 2003 11:20:12 -0700 (PDT) | Between Aug 2 and 9, there were no significant changes to ACPI. I | imported the userland tools, added tunable access to an existing variable, | and increased the default sleep delay from 0 to 5. The last one is the | only functional change and can be undone by doing: | sysctl hw.acpi.sleep_delay=0 | Please try with an Aug. 2 kernel but load the latest acpi.ko to be sure | this is not an acpi problem. I tryed sets of kernel and acpi.ko. kenel acpi.ko clock works on CPU speed as 4 Aug 2 Aug 2 normally Aug 9 Aug 9 slowly Aug 13 Aug 13 slowly Aug 2 Aug 9 normally Aug 9 Aug 2 slowly Aug 2 Aug 13 normally Aug 13 Aug 2 slowly And, with Aug 13 kernel & Aug 13 acpi.ko, I do by hand: sysctl hw.acpi.sleep_delay=0 but the clock also works slowly. (I wrote "hw.acpi.sleep_delay=5" in /etc/sysctl.conf since before Jul 13) I use almost the same as GENERIC kernel, except for commenting out Ethernet drivers. (I comment out all the lines from "device de" to "device wi", and two lines "device aue","device axe") The /boot/loader.conf.local contents are hint.acpi.0.disabled="0" hint.apm.0.disabled="1" hw.acpi.verbose="1" hw.ata.atapi_dma="1" if_fxp_load="YES" snd_ich_load="YES" -- matoba@st.rim.or.jp