From owner-freebsd-current@FreeBSD.ORG Sun Sep 29 23:18:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B198CFDD for ; Sun, 29 Sep 2013 23:18:43 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from courriel.site.uottawa.ca (eecsmail.engineering.uottawa.ca [137.122.24.224]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 554D72DE3 for ; Sun, 29 Sep 2013 23:18:42 +0000 (UTC) Received: from courriel.site.uottawa.ca (localhost [127.0.0.1]) by courriel.site.uottawa.ca (8.14.5/8.14.4) with ESMTP id r8TNBOlf012911 for ; Sun, 29 Sep 2013 19:11:24 -0400 (EDT) (envelope-from kwhite@site.uottawa.ca) Received: from 74.51.61.7 (SquirrelMail authenticated user kwhite) by courriel.site.uottawa.ca with HTTP; Sun, 29 Sep 2013 19:11:24 -0400 (EDT) Message-ID: <60850.74.51.61.7.1380496284.squirrel@courriel.site.uottawa.ca> Date: Sun, 29 Sep 2013 19:11:24 -0400 (EDT) Subject: ZFS panic with r255937 From: kwhite@site.uottawa.ca To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 29 Sep 2013 23:18:43 -0000 I get the following reproducible panic when doing a zfs send -R | zfs recv of a well churned file system (snapshots of the ports tree before and after libiconv update) running a recent current: panic: solaris assert: dn->dn_maxblkid == 0 && (BP_IS_HOLE(&dn->dn_phys->dn_blkptr[0]) || dnode_block_freed(dn, 0)), file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c, line: 598 coredump available. # uname -a FreeBSD freebsd10 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255937: Sun Sep 29 09:45:21 EDT 2013 kwhite@freebsd10:/usr/obj/usr/src/sys/GENERIC amd64 # zfs list -t snapshot -r tank/ports NAME USED AVAIL REFER MOUNTPOINT tank/ports@20130915 72.5M - 3.64G - tank/ports@20130917 0 - 3.65G - tank/ports@20130918 0 - 3.65G - tank/ports@20130921 88.6M - 3.66G - tank/ports@20130928 352K - 3.66G - # zpool list -v NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT m_tank 1.81T 831G 1.00T 44% 1.00x ONLINE - ada4.nop.eli 1.81T 831G 1.00T - tank 928G 831G 96.9G 89% 1.00x ONLINE - ada3.nop.eli 928G 831G 96.9G - # zfs send -vR tank/ports@20130928 | zfs recv -vF m_tank/xports ... panic eventually ... # cd /boot/kernel; kgdb kernel /var/crash/vmcore.last ... (kgdb) up #5 0xffffffff81d09735 in dnode_reallocate (dn=0xfffff8006dde3000, ot=DMU_OT_PLAIN_FILE_CONTENTS, blocksize=1024, bonustype=DMU_OT_SA, bonuslen=168, tx=0xfffff8006d7a2600) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c:596 596 ASSERT(dn->dn_maxblkid == 0 && (kgdb) p dn->dn_maxblkid $1 = 2 So, no question about why the ASSERT failed. Sorry, debugging this is *way* beyond me. Any hints, patches to try? ...keith