From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 13 03:00:28 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D14A106568D for ; Thu, 13 Oct 2011 03:00:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EBAC58FC12 for ; Thu, 13 Oct 2011 03:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9D30RwR058116 for ; Thu, 13 Oct 2011 03:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9D30RcP058115; Thu, 13 Oct 2011 03:00:27 GMT (envelope-from gnats) Resent-Date: Thu, 13 Oct 2011 03:00:27 GMT Resent-Message-Id: <201110130300.p9D30RcP058115@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Black Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2A29106564A for ; Thu, 13 Oct 2011 02:53:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E2A5E8FC12 for ; Thu, 13 Oct 2011 02:53:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9D2rMOp054026 for ; Thu, 13 Oct 2011 02:53:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9D2rMik054025; Thu, 13 Oct 2011 02:53:22 GMT (envelope-from nobody) Message-Id: <201110130253.p9D2rMik054025@red.freebsd.org> Date: Thu, 13 Oct 2011 02:53:22 GMT From: David Black To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/161533: zfs receive panic: system ioctl returning with 1 locks held X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2011 03:00:28 -0000 >Number: 161533 >Category: kern >Synopsis: zfs receive panic: system ioctl returning with 1 locks held >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 13 03:00:27 UTC 2011 >Closed-Date: >Last-Modified: >Originator: David Black >Release: 9.0-BETA3 >Organization: >Environment: FreeBSD tex 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 21:31:28 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Machine reliably panics at end of zfs receive. The options (-DRp on send, -Fdu on receive) are just what I use when replicating zfs filesystems between my Solaris boxes. Dedup is not enabled on the test filesystems. core.txt file attached. >How-To-Repeat: (with pool 'a' already existing - empty or having other filesystems doesn't matter) zfs create a/test zfs snapshot a/test@snap zfs send -DRp a/test@snap > /tmp/test.zfs zfs destroy -r a/test zfs receive -Fdu a < /tmp/test.zfs The same panic occurs if I use a zfs dump from this machine, too: # uname -a SunOS andy 5.11 snv_134 i86pc i386 i86pc Solaris >Fix: >Release-Note: >Audit-Trail: >Unformatted: