From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 15 02:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 319E537A for ; Fri, 15 Mar 2013 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F3BA29DA for ; Fri, 15 Mar 2013 02:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2F2U0du017600 for ; Fri, 15 Mar 2013 02:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2F2U0NW017599; Fri, 15 Mar 2013 02:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 15 Mar 2013 02:30:00 GMT Resent-Message-Id: <201303150230.r2F2U0NW017599@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, Nathaniel Filardo Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6CB07BB for ; Fri, 15 Mar 2013 02:23:59 +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 5CF669BC for ; Fri, 15 Mar 2013 02:23:59 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2F2NvD5055384 for ; Fri, 15 Mar 2013 02:23:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2F2Nv4Y055383; Fri, 15 Mar 2013 02:23:57 GMT (envelope-from nobody) Message-Id: <201303150223.r2F2Nv4Y055383@red.freebsd.org> Date: Fri, 15 Mar 2013 02:23:57 GMT From: Nathaniel Filardo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/176978: zfs send -D causes "panic: System call ioctl returning with 1 locks held" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 02:30:01 -0000 >Number: 176978 >Category: misc >Synopsis: zfs send -D causes "panic: System call ioctl returning with 1 locks held" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 15 02:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Nathaniel Filardo >Release: 9.1-STABLE >Organization: >Environment: FreeBSD hydra.priv.oc.ietfng.org 9.1-STABLE FreeBSD 9.1-STABLE #30 r+53cdf6c-dirty: Mon Mar 4 01:01:04 EST 2013 root@hydra.priv.oc.ietfng.org:/usr/obj/systank/src-git/sys/NWFKERN sparc64 >Description: I am attempting to move some data from one set of disks to another by using zfs send. It was not going quickly, thanks to dedup, so I thought I'd stop it and rerun with zfs send -D, which dedups the stream rather than relying on the recv side to do it (with all the attendant I/O). I then got panic: System call ioctl returning with 1 locks held cpuid = 1 KDB: stack backtrace: panic() at panic+0x290 syscall() at syscall+0x460 -- syscall (54, FreeBSD ELF64, sys_ioctl) %o7=0x4098bb08 -- userland() at 0x40bfdb28 user trace: trap %o7=0x4098bb08 pc 0x40bfdb28, sp 0x7fdffff4571 pc 0x4098d8b4, sp 0x7fdffff4641 pc 0x40996904, sp 0x7fdffff4711 pc 0x40994b4c, sp 0x7fdffff8ad1 pc 0x40995dfc, sp 0x7fdffff9411 pc 0x409978a8, sp 0x7fdffffd7d1 pc 0x107ff8, sp 0x7fdffffd8c1 pc 0x10e024, sp 0x7fdffffd9a1 pc 0x1049d8, sp 0x7fdffffe281 pc 0x402198b4, sp 0x7fdffffe341 done That is not likely to be too useful, but maybe the problem description is enough. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: