From owner-freebsd-current@FreeBSD.ORG Thu Apr 30 16:37:31 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F03F106566C for ; Thu, 30 Apr 2009 16:37:31 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 070E38FC0C for ; Thu, 30 Apr 2009 16:37:30 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fxm6 with SMTP id 6so1927683fxm.43 for ; Thu, 30 Apr 2009 09:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LHaNOkho/2yOdF5me/knfV1h1gVynhnaEuVPokyMKKQ=; b=AzxT2iwES/mSRFf9vqr1302pfvIZjRnAB7XPJ3cJAnufpI3TjJZEBMvdKzARcv2yY6 bRXq0IQ6QplCpcSUYmDDQua02e2/lwwpa4G3YKAWT4wUhqXLEUyaEwen5igucWR+QDjL Xin49w8uartffMBaSq6uh84BdmQADnm+K5mXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DZB7oeevJO06DrFy0OQzuZatXobXZd3is2TLt9Ue2V35Ij1G0gk+PMZkTAOFDgbeQd 3vWXKaT6TjXHLC6a7iqbJ24fb4bCcXwIIxIh4OAkeESarpr73/ySV7suqOd8WOQ6yITK htL/ygc1aEP9olHEMw0UmA/kaIXYMxZv8LRUw= MIME-Version: 1.0 Received: by 10.103.11.5 with SMTP id o5mr1087720mui.75.1241109449882; Thu, 30 Apr 2009 09:37:29 -0700 (PDT) In-Reply-To: <49F9CD25.70102@icyb.net.ua> References: <20090429161626.GQ1387@albert.catwhisker.org> <20090430151830.GW1387@albert.catwhisker.org> <49F9C544.3060509@icyb.net.ua> <20090430155817.GY1387@albert.catwhisker.org> <49F9CD25.70102@icyb.net.ua> Date: Thu, 30 Apr 2009 20:37:29 +0400 Message-ID: From: pluknet To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Panic "Fatal trap 18: integer divide fault while in kernel mode" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Apr 2009 16:37:31 -0000 2009/4/30 Andriy Gapon : > on 30/04/2009 18:58 David Wolfskill said the following: >> On Thu, Apr 30, 2009 at 06:35:32PM +0300, Andriy Gapon wrote: >>> on 30/04/2009 18:18 David Wolfskill said the following: >>>> On Wed, Apr 29, 2009 at 09:16:26AM -0700, David Wolfskill wrote: >>>>> Is there anything of use I might get from DDB? >>>> I can still poke around there for a bit, if that would be useful. >>> In general the stack trace[*] should be provided at the very least, otherwise >>> people have hard figuring out where the problem occurred, so right people may just >>> not notice a report. >> >> Sorry; it happened so quickly, I wasn't at all certain there would be >> enough to show: >> >> db> bt >> Tracing pid 0 tid 100000 td 0xc0d43610 >> cpu_topo(2,c1420d34,c081ff07,c1420d58,c0820042,...) at cpu_topo+0x43 >> smp_topo(c0804378,2,c4145a5c,fffffff,0,...) at smp_topo+0x10b >> sched_setup(0,141ec00,141ec00,141e000,1425000,...) at sched_setup+0x1a >> mi_startup() at mi_startup+0x96 >> begin() at begin+0x2c > > My guess is that (cpu_cores * cpu_logical) somehow equals to zero. That was masked earlier by additional checks on zero, and now that routine moved to the separate function (and to separate call path from subr_smp.c:mp_start() which seems not to be called). > Have you by a chance saved this crash dump? > I think that t would be interesting to look at it in kgdb. > -- wbr, pluknet