From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:16:23 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 458C416A46D for ; Fri, 25 May 2007 18:16:23 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id AA83513C480 for ; Fri, 25 May 2007 18:16:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so374468uge for ; Fri, 25 May 2007 11:16:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=L7GvgL4QR6hZs4B2Syu0mLtcDm9iGDfomVG5g8dJu8HHJLtjrHPg8IKeAllqzErXXuI7ri0yZflLR+7LQuUXRSI1LPBD0Tr3AEqZS4YGgN8uohVVlG55IRsieiy0PtZkj+xOfVD8v7PkOdv4JkvtvRQv52ss92OvFkXIt5h26tA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sSswTGJRFjPn/0N+0MShtM1UCeEOf9baxlZP8BcxXeamxeCEc5P1/fwFU1ZHnC2lM4U6ackdQXnzZ9BFpfqFXawaZc+6lnkEgF8gZw46zu9q9CnoF0SXBZ/GvG7WkJJ7LYij+v7mV94L6IOH95nMl+aDpXM+A5kT/Lqntm5xmYo= Received: by 10.78.178.5 with SMTP id a5mr1025523huf.1180116981629; Fri, 25 May 2007 11:16:21 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Fri, 25 May 2007 11:16:21 -0700 (PDT) Message-ID: <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> Date: Fri, 25 May 2007 20:16:21 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <4657267C.2070306@marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> X-Google-Sender-Auth: c871db806e7f966f Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 18:16:23 -0000 2007/5/25, Joe Marcus Clarke : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Attilio Rao wrote: > > 2007/5/24, Joe Marcus Clarke : > >> On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > >> > Jeff Roberson wrote: > >> > > Thanks, Attilio and I will look at this right away. > >> > > > >> > > Jeff > >> > > > >> > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > >> > > > >> > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an > >> > >> instant, reproducible panic by doing: > >> > >> > >> > >> # cd /usr/src > >> > >> # make -DNO_CLEAN buildworld > >> > >> > >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > >> > >> problem. Here is a dmesg and backtrace. In frame 6, it appears > >> mdp is > >> > >> NULL (i.e. td->td_proc->p_md = 0x0). > >> > > >> > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > >> > >> No, this kernel does not have WITNESS or INVARIANTS. I can enable those > >> tomorrow if that would give you more useful information. > > > > It would be very appreciated, since I've been unable to reproduce your > > panic on a centrino dual core. > > I'm stopped in the debugger now with WITNESS and friends enabled. Same > backtrace as before. I did a "show locks" and I see: > > exclusive spin mutex descriptor tables r = 0 (0xc08369f8) locked @ > /usr/src/sys/i386/i386/sys_machdep.c:629 > > Please let me know what else you'd like to see while I'm at the > debugger. FYI: this is a Pentium 4 with "options SMP" disabled. This is a multicore? do you have PREEMPTION/FULL_PREEMPTION installed? Attilio -- Peace can only be achieved by understanding - A. Einstein