From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 15:25:04 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 E8C8037B404 for ; Thu, 14 Aug 2003 15:25:04 -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 CD9D243FBD for ; Thu, 14 Aug 2003 15:25:03 -0700 (PDT) (envelope-from matoba@st.rim.or.jp) Received: from mail6.rim.or.jp by serio.al.rim.or.jp (3.7W/HMX-13) id HAA18031; Fri, 15 Aug 2003 07:25:00 +0900 (JST) Received: from localhost (ntkngw089160.kngw.nt.adsl.ppp.infoweb.ne.jp [220.209.97.160]) by mail6.rim.or.jp (8.9.3/3.7W) id HAA11740; Fri, 15 Aug 2003 07:25:01 +0900 (JST) Date: Fri, 15 Aug 2003 07:24:59 +0900 (JST) Message-Id: <20030815.072459.607953141.matoba@st.rim.or.jp> To: bob@securesoftware.com From: MATOBA Hirozumi In-Reply-To: <1060896672.1376.6.camel@localhost> References: <20030815.044155.730550374.matoba@st.rim.or.jp> <20030814124838.S93797@root.org> <1060896672.1376.6.camel@localhost> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: nate@root.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 22:25:05 -0000 On Thu, 2003-08-14 at 19:50, Nate Lawson wrote: > This indicates that the problem was introduced in a kernel change between > Aug 2 and Aug 9 and that acpi is not at fault. Try searching the cvs-all > archives between those dates (and perhaps narrowing the date more). I misunderstand Nate Lawson's words at the first time I read, but he said about the cvs-all *mailing-list* archive. And I found the mail about keyword "clock" in it. I will try going back to before this change (by using cvsup etc). >> Message-Id: <200308061505.h76F5Sih048392@repoman.freebsd.org> >> From: Poul-Henning Kamp >> Date: Wed, 6 Aug 2003 08:05:28 -0700 (PDT) >> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, >> cvs-all@FreeBSD.org >> X-FreeBSD-CVS-Branch: HEAD >> Subject: cvs commit: src/sys/i386/i386 tsc.c src/sys/i386/include clock.h >> src/sys/i386/isa clock.c >> >> phk 2003/08/06 08:05:28 PDT >> >> FreeBSD src repository >> >> Modified files: >> sys/i386/i386 tsc.c >> sys/i386/include clock.h >> sys/i386/isa clock.c >> Log: >> Dont initialize a TSC timecounter until we know if it is broken or not. >> >> Revision Changes Path >> 1.201 +6 -0 src/sys/i386/i386/tsc.c >> 1.45 +1 -0 src/sys/i386/include/clock.h >> 1.201 +1 -0 src/sys/i386/isa/clock.c From: Bob Fleck Date: Thu, 14 Aug 2003 21:31:13 +0000 | In addition, I had one weird instance where the clock did the opposite | and increased the speed by the same ratio. I haven't been able to | reproduce this yet. (Maybe starting the system in a lower CPU speed | setting and then stepping up would cause it. I will test this.) I met like as above (but I did not record it in details), On BIOS setting of "POWER" (maybe this means APM setting), CPU speed setting is "fixed maximum" now on my ThinkPad A22e, so booting message of FreeBSD says CPU MHz as maximum speed. But when I set temporarily BIOS CPU speed as "medium" or something like that, booting message of FreeBSD said CPU MHz as half of maximum speed, and snd_ich said "link rate" as *half* of normal frequency. (note that when clock works slowly, snd_ich says "link rate" as *double* of normal frequenccy) | Let me know if you want me try anything or pass along configuration | information. Thank you, but would you wait for my trial of above files about clock? I will try it at this night JST :-) -- matoba@st.rim.or.jp