From owner-freebsd-current@FreeBSD.ORG Wed Feb 6 14:58:00 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7013E16A419 for ; Wed, 6 Feb 2008 14:58:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id D3B6F13C4DB for ; Wed, 6 Feb 2008 14:57:59 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2567184fgg.35 for ; Wed, 06 Feb 2008 06:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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; bh=JBmHGFf5umJcH/v6hi9hx7Xe3pbstWdT7Sfw598rjXA=; b=R4/AgnrBXqAT83L/lZ++YNBTGeeoIMsCQycWVjZvTdLEr6ZKloRD61uQ/ecXBx1K1Tk3TckWMP0fDNucOgpyWvrhL+tYJpj8Q7n/S+i2Rka87SXXSmbEBd0tAicP9+iWaJXim3+v99dSN8vtDt0VplpI+WG+JkSGHkwnW5m41vY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=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=nlFxI6QIG33sgc43SEEz9M7Lxc0obexdzUkey7rgh37mE3pIzj6RL76dVZz650EGVi86QqcDFsaRUHewn54OFL+SCBEkVHnEJjUbYjRyaj+tB/bThJ05hsPZjcecgYOf1D/eq6gHOYAhi+6mXKF6L//cuoBuoaduyVlLLSN5FMM= Received: by 10.86.25.17 with SMTP id 17mr9191482fgy.15.1202309878833; Wed, 06 Feb 2008 06:57:58 -0800 (PST) Received: by 10.86.28.19 with HTTP; Wed, 6 Feb 2008 06:57:58 -0800 (PST) Message-ID: <3bbf2fe10802060657h1dbc93e2lf3fd1b0c6843f674@mail.gmail.com> Date: Wed, 6 Feb 2008 15:57:58 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Yar Tikhiy" In-Reply-To: <3bbf2fe10802060652y3782d023k9c5299168a81093d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bbf2fe10801310243tddedfeckbc4c94be87f0a4ca@mail.gmail.com> <790a9fff0801312241s346068b6s40fcae71ebbf546@mail.gmail.com> <20080201145051.GE79881@comp.chem.msu.su> <3bbf2fe10802011041t28e419c9n5f0f6f34d6450184@mail.gmail.com> <20080205162217.GA56373@comp.chem.msu.su> <3bbf2fe10802051156p1cc6ea67t7938a60e306323ce@mail.gmail.com> <20080206112930.GD7592@comp.chem.msu.su> <3bbf2fe10802060549u66b1067cy4bb9d4232ccef05d@mail.gmail.com> <20080206144802.GH7592@comp.chem.msu.su> <3bbf2fe10802060652y3782d023k9c5299168a81093d@mail.gmail.com> X-Google-Sender-Auth: e55f2d97628d591e Cc: Kostik Belousov , Scot Hetzel , freebsd-current@freebsd.org, Doug Barton Subject: Re: panic: System call lstat returning with 1 locks held 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: Wed, 06 Feb 2008 14:58:00 -0000 2008/2/6, Attilio Rao : > 2008/2/6, Yar Tikhiy : > > > On Wed, Feb 06, 2008 at 02:49:49PM +0100, Attilio Rao wrote: > > [...] > > > > > Want to see if this bt has been helpful? :) > > > Can you try the attached patch and see if kernel rings a bell?: > > > http://www.freebsd.org/~attilio/ntfs_debug.diff > > > > > > The kernel just panics. :-) > > > This is the new I wanted to know! :) > With better checks in lockmgr code, we would have caught more > informations about it. > > Can you please now add DDB support and once it breaks in DDB do a > 'show alllocks' and maybe other small investigations? > This should shade a light for us. Could you please enable NTFS_DEBUG too and maybe see, when the kernel panics, what is the value of i_usecount for the specified ip? I want to exclude refcount leaking. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein