From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 19:46:08 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 46D3A16A4B3 for ; Wed, 17 Sep 2003 19:46:08 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B8943FBF for ; Wed, 17 Sep 2003 19:46:07 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h8I2k4Dm028344; Wed, 17 Sep 2003 22:46:05 -0400 (EDT) Date: Wed, 17 Sep 2003 22:46:04 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Bruce Evans In-Reply-To: <20030918052932.Q624@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: SMP kernel panic with traceback 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, 18 Sep 2003 02:46:08 -0000 On Thu, 18 Sep 2003, Bruce Evans wrote: > On Wed, 17 Sep 2003, Daniel Eischen wrote: > > > I'm getting crashes when trying to debug mozilla (under KSE). > > The panic message is "panic: absolutely cannot call smp_ipi_shootdown > > with interrupts already disabled". Attached is the trace. > > Any ideas? > > Eeek. Looks like I forgot an attachment to i386/machdep.c 1.468 2001/08/13 > (use interrupt gates instead of trap gates for breakpoint and trace traps). > Keeping interrupts disabled is only correct for these traps if they are > from kernel mode. It's surprising how few problems this has caused. This patch seems to fix the problem. Care to commit it? Thanks! -- Dan Eischen