From owner-freebsd-stable@FreeBSD.ORG Fri Dec 11 19:28:23 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB531065670 for ; Fri, 11 Dec 2009 19:28:23 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id B435F8FC12 for ; Fri, 11 Dec 2009 19:28:22 +0000 (UTC) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id nBBJSJAK005583 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 11 Dec 2009 20:28:20 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) From: Stefan Bethke Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Dec 2009 20:28:19 +0100 Message-Id: <36AED70D-52B8-47AD-8E6A-C21402D42151@lassitu.de> To: FreeBSD Stable Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: panic on zfs unmount X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2009 19:28:23 -0000 I still sometimes get the "lost" .zfs/snapshot directory, with resulting = panic, and it just happened again. I have the full crash dump, if = anyone wants to look at details. # cd /jail/foo/.zfs # ls ls: snapshot: Bad file descriptor # cd # zfs umount tank/jail/foo Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xa8 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff8033fac5 stack pointer =3D 0x28:0xffffff80626cf9d0 frame pointer =3D 0x28:0xffffff80626cf9e0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 38362 (zfs) trap number =3D 12 panic: page fault cpuid =3D 0 Uptime: 7d3h33m46s Physical memory: 3313 MB #0 doadump () at pcpu.h:223 223 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:223 #1 0xffffffff80337bd9 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xffffffff8033802c in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xffffffff805cc2ad in trap_fatal (frame=3D0xc, eva=3DVariable "eva" = is not available. ) at /usr/src/sys/amd64/amd64/trap.c:857 #4 0xffffffff805cc694 in trap_pfault (frame=3D0xffffff80626cf920, = usermode=3D0) at /usr/src/sys/amd64/amd64/trap.c:773 #5 0xffffffff805cd06a in trap (frame=3D0xffffff80626cf920) at /usr/src/sys/amd64/amd64/trap.c:499 #6 0xffffffff805b2943 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224 #7 0xffffffff8033fac5 in _sx_xlock (sx=3D0x90, opts=3D0,=20 file=3D0xffffffff80ac1d30 = "/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs= /zfs_ctldir.c", line=3D1349) at atomic.h:158 #8 0xffffffff80a53b85 in zfsctl_umount_snapshots (vfsp=3DVariable = "vfsp" is not available. ) at = /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/= zfs_ctldir.c:1349 #9 0xffffffff80a604f9 in zfs_umount (vfsp=3D0xffffff00017518d0, = fflag=3D0) at = /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/= zfs_vfsops.c:1020 #10 0xffffffff803c080a in dounmount (mp=3D0xffffff00017518d0, flags=3D0, = td=3DVariable "td" is not available. ) at /usr/src/sys/kern/vfs_mount.c:1294 #11 0xffffffff803c1038 in unmount (td=3D0xffffff002ed50720,=20 uap=3D0xffffff80626cfbf0) at /usr/src/sys/kern/vfs_mount.c:1179 #12 0xffffffff805cc906 in syscall (frame=3D0xffffff80626cfc80) at /usr/src/sys/amd64/amd64/trap.c:989 #13 0xffffffff805b2c21 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:373 #14 0x0000000800f4ba4c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb)=20 --=20 Stefan Bethke Fon +49 151 14070811