From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 03:38:18 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 2720816A418; Fri, 16 Nov 2007 03:38:18 +0000 (UTC) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from pil.idi.ntnu.no (pil.idi.ntnu.no [129.241.107.93]) by mx1.freebsd.org (Postfix) with ESMTP id A5B5213C455; Fri, 16 Nov 2007 03:38:17 +0000 (UTC) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by pil.idi.ntnu.no (8.14.1/8.13.1) with ESMTP id lAG38GRZ006267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Nov 2007 04:08:17 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by cvsup.no.freebsd.org (8.13.4/8.13.4) with ESMTP id lAG38GD3037975; Fri, 16 Nov 2007 03:08:16 GMT (envelope-from Tor.Egge@cvsup.no.freebsd.org) Date: Fri, 16 Nov 2007 03:06:32 +0000 (UTC) Message-Id: <20071116.030632.74719570.Tor.Egge@cvsup.no.freebsd.org> To: kris@FreeBSD.org From: Tor Egge In-Reply-To: <473CC522.5080904@FreeBSD.org> References: <473B9A43.5060401@FreeBSD.org> <473CC522.5080904@FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned-By: mimedefang.idi.ntnu.no, using CLAMD X-SMTP-From: Sender=, Relay/Client=c2h5oh.idi.ntnu.no [129.241.103.69], EHLO=cvsup.no.freebsd.org X-Scanned-By: MIMEDefang 2.48 on 129.241.107.38 X-Scanned-By: mimedefang.idi.ntnu.no, using MIMEDefang 2.48 with local filter 16.42-idi X-Filter-Time: 1 seconds Cc: ups@FreeBSD.org, kib@FreeBSD.org, current@FreeBSD.org Subject: Re: panic: ffs_reallocblk: start == end 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: Fri, 16 Nov 2007 03:38:18 -0000 > Another one of these on a different machine. Looks like something is > definitely broken. Assuming that start_lvl is zero, this looks like a broken DIAGNOSTIC check that recently became a broken INVARIANTS check. This happens when the block range spans two block maps, the first in the inode (mapping up to NDADDR direct blocks) and the second being the first indirect block. The current check assumes that both block maps are indirect blocks. Try changing the check to something like #ifdef INVARIANTS if (start_lvl > 0 && start_ap[start_lvl - 1].in_lbn == idp->in_lbn) panic("ffs_reallocblk: start == end"); #endif - Tor Egge