From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:39:01 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 70EC516A400 for ; Thu, 24 May 2007 16:39:01 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 12D7813C457 for ; Thu, 24 May 2007 16:39:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so155223wra for ; Thu, 24 May 2007 09:39:00 -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=RWHy3bHQ752EHqR0mxpGCps7EW2HGvDsOzk10Q9LVw4akVm7bJakSBV6UAmfUB7veZUcGVeqNRkkXVosU9e3b8/kj9J/3pVqe2DfYu0fpwyyoAaTSIB7+fZqXkIT8sIMhPvMvnF9aupIbWDIpHL11JeZl9YxTfWYUvCU+qqRIOs= 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=VT/0GOEFIH7vZSUMIFo44kAMfk1NWJ8iK9RP9YEP9A9USrRDeIHd0qnZges05D49rtbvw5CdUmaePYUbk49jHtImXEDCEQWm2G5aXRvWsHAwQhuMhNEueY2QCQLnvzlR3NFPD3hFaVpYIh3mehSx1kPkMGSjFGYl01mJe6ej+Ww= Received: by 10.78.204.1 with SMTP id b1mr592640hug.1180024739679; Thu, 24 May 2007 09:38:59 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Thu, 24 May 2007 09:38:59 -0700 (PDT) Message-ID: <3bbf2fe10705240938s730d2793o1e3da6fdea8cf039@mail.gmail.com> Date: Thu, 24 May 2007 18:38:59 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <1180024496.10757.34.camel@shumai.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> <1180024496.10757.34.camel@shumai.marcuscom.com> X-Google-Sender-Auth: fec2e8dfd32af8c9 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: Thu, 24 May 2007 16:39:01 -0000 2007/5/24, Joe Marcus Clarke : > On Thu, 2007-05-24 at 18:30 +0200, 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. > > Will do, but it may be that adding those options masks the bug. Have > you tried without them? Yes, I tried both. And please don't add WITNESS_SKIPSPIN since the dt_lock is a spinlock. Thanks a lot, Attilio -- Peace can only be achieved by understanding - A. Einstein