From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 18:18:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 038C216A4CE for ; Tue, 12 Oct 2004 18:18:18 +0000 (GMT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFF543D58 for ; Tue, 12 Oct 2004 18:18:17 +0000 (GMT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i9CIIHvA092075; Tue, 12 Oct 2004 11:18:17 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i9CIIGRx092072; Tue, 12 Oct 2004 11:18:16 -0700 (PDT) (envelope-from dillon) Date: Tue, 12 Oct 2004 11:18:16 -0700 (PDT) From: Matthew Dillon Message-Id: <200410121818.i9CIIGRx092072@apollo.backplane.com> To: Mikhail Teterin References: <416AE7D7.3030502@murex.com> <200410112038.i9BKcCWt051290@apollo.backplane.com> <416C1B10.7030103@murex.com> cc: freebsd-current@FreeBSD.org cc: bde@zeta.org.au Subject: Re: panic in ffs (Re: hangs in nbufkv) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 12 Oct 2004 18:18:18 -0000 :[...] : :> But to be absolutely safe, I would follow Bruce's original suggestion :> and increase BKVASIZE to 64K, for your particular system. :> :> :After doing this and testing our backup script, the machine panicked two :hours later (about half-way through the backup) with :"initiate_write_inodeblock_ufs2: already started" (in :ufs/ffs/ffs_softdep.c)... I guess, block sizes above 16Kb are just buggy :and newfs(8) should be honest about it... : : -mi Well, it's possible that UFS has bugs related to large block sizes. People have gotten bitten on and off over the years but usually it works ok if you leave the 8:1 blocksize:fragsize ratio intact. e.g. if you have a 64KB block size then you should use a 8K frag size. If you have a 32KB block size then you should use a 4K frag size. I think the buffer cache itself is is likely not the source of this particular bug. -Matt Matthew Dillon