From owner-cvs-src@FreeBSD.ORG Mon Aug 25 22:29:57 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80BF41065677; Mon, 25 Aug 2008 22:29:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0FEC08FC0C; Mon, 25 Aug 2008 22:29:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m7PMTXEv045265; Mon, 25 Aug 2008 18:29:45 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Dimitry Andric Date: Mon, 25 Aug 2008 18:28:01 -0400 User-Agent: KMail/1.9.7 References: <200808231253.m7NCrkLp093604@repoman.freebsd.org> <747dc8f30808251227v286ab480mea5b0d7dff0311fa@mail.gmail.com> <48B31456.5030009@andric.com> In-Reply-To: <48B31456.5030009@andric.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808251828.02139.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 25 Aug 2008 18:29:46 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8088/Mon Aug 25 16:49:45 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Renato Botelho , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2008 22:29:57 -0000 On Monday 25 August 2008 04:21:42 pm Dimitry Andric wrote: > On 2008-08-25 21:27, Renato Botelho wrote: > > cpu0: on acpi0 > > est0: on cpu0 > > est0: Guessed bus clock (high) of 200 MHz > > > > Fatal trap 18: integer divide fault while in kernel mode > > cpuid = 0; acpi id = 00 > > ... > > panic: integer divide fault > > Unfortunately, there are CPU models around that have MSR_PERF_STATUS > bits that are inconsistent, e.g: > > - The low and high multipliers (bits 31:24 and 15:8) are equal, so if > you subtract them and then divide... boom :) > - Either the low or high multipliers (or both) are zero, which is also > not good, at least not with the current code. This latter is what is probably the problem. I think I will make this feature just be off by default and people can enable it with a tunable if it helps on their system. -- John Baldwin