From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 22:16:22 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 067BE16A468 for ; Tue, 29 Jan 2008 22:16:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 18A7E13C458 for ; Tue, 29 Jan 2008 22:16:20 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2540529fgg.35 for ; Tue, 29 Jan 2008 14:16:19 -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=qTOguKrkNUYZP5PPfkBfXrwRgoB8mq+1irKDJXIn4eY=; b=UOlqbAN7K562KOJm6aDag10utZr+oeAn1KrA1ugnOjAMDkOcXgbM2pBdv4ET8k7MdgKGUVPlSqD5uy8HwY0/HyKbvQYfRNgt70W9X0YHBqTOQ4VxP8PNPnCFXRCAGAWeYaOB6E3lu80wVAO7ALq7rg58+fm8daNobScfqc8by3E= 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=n+8Ig0IanMf98IdQr4GoV/HOyBBn3LJnLo+518m4vKygs9M5ZJEUFOkRrsgsrkxNzNMNGtJtBJ5LdG3F5tZ6NB9EWVP4HRQpx/rVacyZ1UliBh63B1Tt77TiRnf9YzD5uqLrVKrfsJKdxLKAT4fX9IqxCF+6HJOZA4kbVkEOSWI= Received: by 10.86.62.3 with SMTP id k3mr6915373fga.71.1201644979582; Tue, 29 Jan 2008 14:16:19 -0800 (PST) Received: by 10.86.28.19 with HTTP; Tue, 29 Jan 2008 14:16:19 -0800 (PST) Message-ID: <3bbf2fe10801291416j440b9ff3p6d5c00d7b853d98@mail.gmail.com> Date: Tue, 29 Jan 2008 23:16:19 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Doug Barton" In-Reply-To: <3bbf2fe10801291411v302dd33at54ebe538397e8fac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0801150552l542a4238ofc12efe5fdb45fc2@mail.gmail.com> <20080126142901.GD49535@comp.chem.msu.su> <479B6303.6000401@FreeBSD.org> <3bbf2fe10801260918k56c1a73hf28ff154eca0b74c@mail.gmail.com> <479BBDAA.6000008@FreeBSD.org> <3bbf2fe10801261657x7d7c9de4q71adeaf3a2dd8159@mail.gmail.com> <479C0B5B.9030709@FreeBSD.org> <3bbf2fe10801270642m5ec609d8xb29add77ced36d8a@mail.gmail.com> <479FA3E8.10606@FreeBSD.org> <3bbf2fe10801291411v302dd33at54ebe538397e8fac@mail.gmail.com> X-Google-Sender-Auth: ab61e59d5b574980 Cc: Kostik Belousov , Yar Tikhiy , freebsd-current@freebsd.org 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: Tue, 29 Jan 2008 22:16:22 -0000 2008/1/29, Attilio Rao : > 2008/1/29, Doug Barton : > > Attilio Rao wrote: > > > 2008/1/27, Doug Barton : > > >> Attilio Rao wrote: > > >> > > >>> As my really first commit about VFS happened on 28 december (and it > > >>> should also be a nop), and you reported a 23 december kernel, it seems > > >>> like the problem was alredy there by time. > > >> Ok, so you're off the hook. :) Interested in helping track down why > > >> it's panic'ing? > > > > > > Sure, I'm testing a patch which instruments lockmgr with ktr and > > > witness support. > > > I will post later in the day in order to make consumer-available. > > > > ok. FYI I tried torture-testing it today, and thing are looking a > > little better. It only paniced once, with the same message as in the > > subject but it was stat, not lstat. Unfortunately it didn't actually > > do the dump, so I don't have a backtrace. If I can get it to > > panic&dump I'll let you know. > > Which fs? always NTFS? > I'm committing my WITNESS patch now to perforce so that other people > can hopefully stress-test it before to be committed. BTW, I've just found a bug in lockmgr() which could produce such results, but it should be an old-standing one. More infos to follow. Attilio -- Peace can only be achieved by understanding - A. Einstein