From owner-freebsd-current@FreeBSD.ORG Tue May 12 20:03:04 2009 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 14B7D1065672 for ; Tue, 12 May 2009 20:03:04 +0000 (UTC) (envelope-from mwest@zeeb.org) Received: from zeeb.org (zeeb.org [88.198.32.244]) by mx1.freebsd.org (Postfix) with ESMTP id CE10F8FC1B for ; Tue, 12 May 2009 20:03:03 +0000 (UTC) (envelope-from mwest@zeeb.org) Received: from mwest by zeeb.org with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1M3xpJ-0009A2-BK; Tue, 12 May 2009 20:39:45 +0100 Date: Tue, 12 May 2009 20:39:45 +0100 From: Matthew West To: current@freebsd.org Message-ID: <20090512193945.GA34736@zeeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Matthew West Cc: Jaakko Heinonen Subject: ZFS panic: existing znode 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: Tue, 12 May 2009 20:03:04 -0000 FreeBSD 8-CURRENT, built from sources around 27/02/2009: FreeBSD foo.internal 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Fri Apr 17 18:33:02 BST 2009 mwest@foo.internal:/usr/obj/usr/src/sys/DEBUGLOCK amd64 The system is AMD64, with 16GB of RAM, serving a few hundred clients via NFS (v2 and v3) and Samba, from a 800GB ZFS pool; using hardware RAID (aac controller), not RAID-Z. Running a GENERIC kernel, but with the following options enabled: options DEBUG_LOCKS options DEBUG_VFS_LOCKS options DIAGNOSTIC I also have Jaakko Heinonen's patch to zfs_znode.c applied, from: http://www.freebsd.org/cgi/query-pr.cgi?pr=132068 After almost a week of active usage, there was a system panic. ---------- panic: existing znode 0xffffff007dfd3d38 for dbuf 0xffffff00aeeb9620 cpuid = 2 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x182 zfs_znode_dmu_init() at zfs_znode_dmu_init+0xb5 zfs_znode_alloc() at zfs_znode_alloc+0xa0 zfs_mknode() at zfs_mknode+0x205 zfs_freebsd_create() at zfs_freebsd_create+0x617 VOP_CREATE_APV() at VOP_CREATE_APV+0xb3 nfsrv_create() at nfsrv_create+0x909 nfssvc() at nfssvc+0x4af syscall() at syscall+0x1e7 Xfast_syscall() at Xfast_syscall+0xab --- syscall (155, FreeBSD ELF64, nfssvc), rip = 0x800695c4c, rsp = 0x7fffffffe8e8, rbp = 0 --- ---------- I see Kris Kennaway encountered a similar crash, but no one seems to have replied: http://lists.freebsd.org/pipermail/freebsd-current/2009-January/002631.html I was unfortunately not able to generate a crash dump. Let me know if there's any further information I can provide which might be useful. Thanks, Matthew