From owner-freebsd-current@FreeBSD.ORG Mon Jun 12 18:47:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 2013B16A41A for ; Mon, 12 Jun 2006 18:47:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C112843D45 for ; Mon, 12 Jun 2006 18:47:32 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 48F0E46BD4; Mon, 12 Jun 2006 14:47:32 -0400 (EDT) Date: Mon, 12 Jun 2006 19:47:32 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Lars Engels In-Reply-To: <20060612182404.GC46563@e.0x20.net> Message-ID: <20060612194541.L34121@fledge.watson.org> References: <20060612182404.GC46563@e.0x20.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Kernel Panic 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: Mon, 12 Jun 2006 18:47:33 -0000 On Mon, 12 Jun 2006, Lars Engels wrote: > During the last weeks I am getting sporadic kernel panics. It seems that > they only occur when I am using X. I didn't get any when I was on the > console. > > I attached the kgdb output and can give additional information when it's > needed. > > Thanks in advance, Lars, It looks like there is a problem with the stack trace from kgdb. Is there any chance your kernel and kernel.debug are out of sync? > Fatal trap 18: integer divide fault while in kernel mode > instruction pointer = 0x20:0xc0a480a9 > stack pointer = 0x28:0xe39e9b00 > frame pointer = 0x28:0xe39e9b44 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 8029 (sysctl) > trap number = 18 > panic: integer divide fault > Uptime: 3m13s > Physical memory: 1006 MB Does this box have a serial port? If so, you might want to try setting up a serial console for it with a null modem cable to an adjacent box. DDB may be able to get a more reliable stack trace than the kernel dump. Looks like a bug in some or another sysctl handler -- a stack trace from DDB may be sufficient to debug it without a working core. Robert N M Watson Computer Laboratory Universty of Cambridge