Date: Fri, 11 Dec 2009 20:28:19 +0100 From: Stefan Bethke <stb@lassitu.de> To: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: panic on zfs unmount Message-ID: <36AED70D-52B8-47AD-8E6A-C21402D42151@lassitu.de>
next in thread | raw e-mail | index | archive | help
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 <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36AED70D-52B8-47AD-8E6A-C21402D42151>