From owner-cvs-src@FreeBSD.ORG Mon Aug 25 20:36:34 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 D47E2106566B for ; Mon, 25 Aug 2008 20:36:34 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7967A8FC12 for ; Mon, 25 Aug 2008 20:36:34 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so267635ana.13 for ; Mon, 25 Aug 2008 13:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=gijWd0AbMWvJlx0drHygwX1ZOLXMRANV+gdVKor+zME=; b=A+m/ycsv0Lv/CjPeqAZpIl6nS61G8/K8G99D/3zLZ8PSJr09ZGf/i34Qo3Y29xPr4y l8BQYxKMfjIZj+GCA2GC9nuPFqFwhQOxXi93DEPkElP8Kkb9xAncGrrpWn0jAgwasR14 T6jPK9LG6+tLghYedmVa7/nFUxqjKDzRzL6X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Vd08Z6pdMyIsb2+BJTKSiaN7/PpZ+pwn0/izhW9BLT06nsS9+lJwHXl/EQnQvBduO5 lNtiGsZgtLVG5L5S7Q6M/L+DVb6RTYwbGWU57y4qbNW6Unm7DAe+FzSbohRKKScOiWg4 IhM6p+07N8aFh09TQTkdrPUbn0FYVxQv3JP+o= Received: by 10.100.166.9 with SMTP id o9mr4560253ane.64.1219696593668; Mon, 25 Aug 2008 13:36:33 -0700 (PDT) Received: by 10.100.92.4 with HTTP; Mon, 25 Aug 2008 13:36:33 -0700 (PDT) Message-ID: <747dc8f30808251336h59011fafv7d6a92b705588db0@mail.gmail.com> Date: Mon, 25 Aug 2008 17:36:33 -0300 From: "Renato Botelho" To: "John Baldwin" In-Reply-To: <48B31456.5030009@andric.com> MIME-Version: 1.0 References: <200808231253.m7NCrkLp093604@repoman.freebsd.org> <747dc8f30808250629h73676fd8m71f0d6cbc0e035e2@mail.gmail.com> <747dc8f30808251227v286ab480mea5b0d7dff0311fa@mail.gmail.com> <48B31456.5030009@andric.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: cvs-src@freebsd.org, Dimitry Andric , 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 20:36:34 -0000 On Mon, Aug 25, 2008 at 5:21 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. > > As an example, I originally added some multiplier sanity checks here: > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/est.c#rev1.27 > > John, Is this information good enough or you still need I collect some data? I'm just asking because i don't have a serial console at this machine and it's not so easy to get this kind of data. Thanks -- Renato Botelho