From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 13:12:21 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 3540F16A4B3 for ; Wed, 17 Sep 2003 13:12:21 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DB8C43FBF for ; Wed, 17 Sep 2003 13:12:20 -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 h8HKCJDm019833; Wed, 17 Sep 2003 16:12:19 -0400 (EDT) Date: Wed, 17 Sep 2003 16:12:19 -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 Reply-To: deischen@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 20:12:21 -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. > > %%% > Index: trap.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/trap.c,v > retrieving revision 1.256 > diff -u -2 -r1.256 trap.c > --- trap.c 15 Aug 2003 15:20:27 -0000 1.256 > +++ trap.c 16 Aug 2003 00:32:07 -0000 > @@ -275,4 +318,5 @@ > case T_BPTFLT: /* bpt instruction fault */ > case T_TRCTRAP: /* trace trap */ > + enable_intr(); > frame.tf_eflags &= ~PSL_T; > i = SIGTRAP; > %%% Thanks, I'll try it tonight when I get access to the box again. -- Dan Eischen