From owner-freebsd-current@FreeBSD.ORG Tue May 12 21:47:39 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 20C221065675 for ; Tue, 12 May 2009 21:47:39 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0AD8FC08 for ; Tue, 12 May 2009 21:47:38 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by ewy3 with SMTP id 3so341825ewy.43 for ; Tue, 12 May 2009 14:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9ZY83iHSm90PoF8HTk5tRQ9Nz6nx/EEKMC/TnXyC2aY=; b=dZ5FmW/F29iCED2qq1TaNfOcLKcsLIA42MqzwMxJkmk0kuemIxZjNkOzkjcbrj2U/g dl1tk1B7IlUV/BJRA/SlNqovchO6qefOP1oomKsPHq/bDALCUG0X+uye1dgKXCKsca5I juNdlOKse62R4omZYmqBl8RvBdzauQWFdXths= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=v/HPN04NIPxMbkXf/FJ8ed6vQqG9oDyaEe1k56UuRzPAToJ3w7Sx98Sd189a+cIUYl ypUP+AU6nX6nI9I0VbxlzXWJStIqxqIS/v8k5JtfT+jKYIZNktlc0ilaCASlxq0UUorJ ClS5eCWUV6IwfIrGbpKH8HhyvT6vgOHF3GnuI= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.216.1.202 with SMTP id 52mr126078wed.15.1242164857613; Tue, 12 May 2009 14:47:37 -0700 (PDT) In-Reply-To: <20090512193945.GA34736@zeeb.org> References: <20090512193945.GA34736@zeeb.org> Date: Tue, 12 May 2009 14:47:37 -0700 X-Google-Sender-Auth: 92e306feb716ee8a Message-ID: <3c1674c90905121447h4fe1f29bq90dd38e1861178c8@mail.gmail.com> From: Kip Macy To: Matthew West Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jaakko Heinonen , current@freebsd.org Subject: Re: 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 21:47:39 -0000 This is fairly easy to reproduce with stress2 + fsstress. I haven't had time to track down the locking bug yet. Cheers, Kip On Tue, May 12, 2009 at 12:39 PM, Matthew West wrote: > 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=3D132068 > > After almost a week of active usage, there was a system panic. > > ---------- > panic: existing znode 0xffffff007dfd3d38 for dbuf 0xffffff00aeeb9620 > cpuid =3D 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 =3D 0x800695c4c, rsp =3D 0x= 7fffffffe8e8, rbp =3D 0 --- > ---------- > > I see Kris Kennaway encountered a similar crash, but no one seems to > have replied: > > =A0http://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 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke