From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 15:04:10 2007 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 CBE4216A419 for ; Thu, 18 Oct 2007 15:04:10 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5B78513C447 for ; Thu, 18 Oct 2007 15:04:09 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so168854nfb for ; Thu, 18 Oct 2007 08:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=WFbrOoAwRKIzci7qpsL+PxbcfrgYwsRU5XJ//4Ev2Wo=; b=GucElP9Xs460A9/FJBWp/trhXuFSdD6hvc9SnmHo54/nxApQ4xYDYrNzW49WjM2YsO1PDNIv2TYCHCnesROyGfgrrqv7HgWnY57rQ4G9Qic5RSJzQObbtqTTR2/dS2z85QSqU7LowppWl45WPksp5+2ixz7Hla0TTjlgbA5x084= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nVZIfrlD02jtQE3jY6Eg4hJRIj3sDTmXWZbCw5seTf2RpmNEcwBTYNwDAk+KEkP5+opLxZAFRCPawP7pRoCE4J7pZjZHydV2/2BUN7fsRTkHntlhwJ3YXlXQcABsyUQVXVfGI7uedmHL/P9NoCwsOt52YLjH8sFSw5HwkHRtJo0= Received: by 10.82.172.10 with SMTP id u10mr1270271bue.1192719847225; Thu, 18 Oct 2007 08:04:07 -0700 (PDT) Received: by 10.82.113.14 with HTTP; Thu, 18 Oct 2007 08:04:07 -0700 (PDT) Message-ID: <6eb82e0710180804u55f2a9e2q98f2f4b75b2b5abf@mail.gmail.com> Date: Thu, 18 Oct 2007 23:04:07 +0800 From: "Rong-en Fan" To: "Kostik Belousov" In-Reply-To: <20071018093948.GN6511@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1191175387.92510.6.camel@shumai.marcuscom.com> <200710131857.46963.pieter@degoeje.nl> <471170E1.2090205@freebsd.org> <200710140408.46121.pieter@degoeje.nl> <471427BE.10500@freebsd.org> <20071016112907.GD6511@deviant.kiev.zoral.com.ua> <4715FAA7.7030404@freebsd.org> <20071018093948.GN6511@deviant.kiev.zoral.com.ua> Cc: freebsd-current@freebsd.org Subject: Re: panic: ffs_blkfree: freeing free block 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, 18 Oct 2007 15:04:10 -0000 On 10/18/07, Kostik Belousov wrote: > On Wed, Oct 17, 2007 at 07:05:59AM -0500, Eric Anderson wrote: > > Kostik Belousov wrote: > > >On Tue, Oct 16, 2007 at 12:20:59PM +0200, Arjan van Leeuwen wrote: [...] > > > > > >Patch is wrong. Actually, it does put the dirrem to the proccessing twice > > >when xp != NULL. > > > > Yes, exactly why I said 'it doesn't fix the problem'. In fact, I > > actually did not post it to the list, and didn't intend for it to be > > posted. I was hoping for feedback for further examination. > > > > Kostik - do you have any ideas on what is going on here? Did you see > > the message in another thread that looked similar (it was regarding > > gjournal)? > > No, I have no idea. BTW, some further information from the people that > experience the problem could be helpful. For instance, > UFS1/UFS2 > size of the problematic fs/% of the space used > are quotas enabled in kernel/active for the fs ? > are softupdates on ? > what block number is reported as being freed twice ? is it always the same ? > what is the full fsck diagnostic after reboot ? Just want to add one more instance ;-) I have seen this kind of panic since 4.x, it does not happen very often but it often (not always) happens when the filesystem is full. The server in question is an i386 with local disk exported via nfs to ~20 clients. The filesystem was UFS1 and now UFS2 (but the underlying disk was changed to another raid box). Softupdate is turned on all the time, but not quota. The block in panic message does not the same. And I do full fsck after the panic (no background fsck). Some previous ddb and kgdb sessions can be found at: http://www.rafan.org/FreeBSD/panic/freeing_free_block/ Regards, Rong-En Fan > > The range of questions is so wide because I try to somewhat localize the > search field down from "anywhere". > >