From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 20:06:08 2007 Return-Path: Delivered-To: Current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C104316A418 for ; Wed, 3 Oct 2007 20:06:08 +0000 (UTC) (envelope-from avleeuwen@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3E613C458 for ; Wed, 3 Oct 2007 20:06:08 +0000 (UTC) (envelope-from avleeuwen@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5720493waf for ; Wed, 03 Oct 2007 13:06: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:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=hBn1XRQUft2ImHgDimZGeidoc5CTekFAyn9hlstpu+8=; b=ljROEpCqlelOJhcVJwUr4R76cDJBCP630bIEmDunZeDX9CMhriUby6K4NStqdfqtLl9MKNE9L/V1D39Nfk1+uIseJar8duCqXr/BKAh2eKtcBZoSaycbAk5ZLjFSXah4bZ3uxzJxdiCmliG3LzrBBU68fEaflsfVSoYdKYVJ4Fg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TAvMgFHXDFClF3jwDMrKbgKWfLru5wVLPqbo3X/+b+5o4vUAQZIVi8PgbvhZJ9c2ixT+2JKqFZeK6LbJV6QT8RolCpUkK6Q6wwuyx/i24p1Y+OD68ltPPNG7eEwGGU0/nql050uLWi2Kj2/1MxbVqjOajm89EA+oODZkrYSYTpk= Received: by 10.114.199.1 with SMTP id w1mr4577414waf.1191441967896; Wed, 03 Oct 2007 13:06:07 -0700 (PDT) Received: by 10.114.133.11 with HTTP; Wed, 3 Oct 2007 13:06:07 -0700 (PDT) Message-ID: Date: Wed, 3 Oct 2007 22:06:07 +0200 From: "Arjan van Leeuwen" To: "Peter Jeremy" In-Reply-To: <20071003195644.GN80294@turion.vk2pj.dyndns.org> MIME-Version: 1.0 References: <1191175387.92510.6.camel@shumai.marcuscom.com> <46FFF615.5090108@donut.de> <20071003195644.GN80294@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 Reply-To: avleeuwen@piwebs.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 20:06:08 -0000 2007/10/3, Peter Jeremy : > > On 2007-Oct-03 15:21:15 +0200, Arjan van Leeuwen > wrote: > >Also, I note that everytime I panic, my currently opened files are > reduced > >to 0 bytes. Is that expected? > > It depends, are you talking about files being read or only files being > written? If this is just affecting writes, then this is a side-effect > of the stdio buffering, together with the write-back nature of the UFS > buffer cache in conjunction with soft-updates: Data on disk is > typically about 30 seconds behind reality and the file contents will > always be behind the file itself. It is quite normal for recently > written files (or files currently being written) to be truncated on > disk following a crash. Yep, these are recently written files indeed. Usually the files I had open in my editor while it paniced, files that I save often. Oh well... I'm setting my hopes on this panic being resolved soon then :). Thanks for the explanation.