Date: Mon, 04 Jun 2018 18:24:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228750] panic on zfs mirror removal Message-ID: <bug-228750-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228750 Bug ID: 228750 Summary: panic on zfs mirror removal Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cheeky.m@live.com 11.2-beta2 and 11.2-RC1 steps to reproduce: zpool create test mirror da1 da2 mirror da3 d4 mirror da5 da6 zpool remove test mirror-1 it then panics. it also seems to be panic after reboot when trying to import it, or scrub it, or destroy it. # kgdb /boot/kernel/kernel /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: panic: page fault cpuid =3D 8 KDB: stack backtrace: #0 0xffffffff80b3d407 at kdb_backtrace+0x67 #1 0xffffffff80af6a77 at vpanic+0x177 #2 0xffffffff80af68f3 at panic+0x43 #3 0xffffffff80f77f6f at trap_fatal+0x35f #4 0xffffffff80f77fc9 at trap_pfault+0x49 #5 0xffffffff80f77797 at trap+0x2c7 #6 0xffffffff80f5744c at calltrap+0x8 #7 0xffffffff824f01d7 at vdev_indirect_io_start_cb+0x37 #8 0xffffffff824efe58 at vdev_indirect_remap+0x2f8 #9 0xffffffff824efb3d at vdev_indirect_io_start+0x2d #10 0xffffffff8251ac9e at zio_vdev_io_start+0x2ae #11 0xffffffff8251774c at zio_execute+0xac #12 0xffffffff8251706b at zio_nowait+0xcb #13 0xffffffff824f38ef at vdev_mirror_io_start+0x3ff #14 0xffffffff8251ab52 at zio_vdev_io_start+0x162 #15 0xffffffff8251774c at zio_execute+0xac #16 0xffffffff80b4ec14 at taskqueue_run_locked+0x154 #17 0xffffffff80b4fd78 at taskqueue_thread_loop+0x98 Uptime: 1m46s Dumping 1886 out of 49109 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% Reading symbols from /boot/kernel/ums.ko...Reading symbols from /usr/lib/debug//boot/kernel/ums.ko.debug...done. done. Loaded symbols for /boot/kernel/ums.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /usr/lib/debug//boot/kernel/pf.ko.debug...done. done. Loaded symbols for /boot/kernel/pf.ko Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko #0 doadump (textdump=3D<value optimized out>) at pcpu.h:229 229 pcpu.h: No such file or directory. in pcpu.h (kgdb) (kgdb) bt #0 doadump (textdump=3D<value optimized out>) at pcpu.h:229 #1 0xffffffff80af668b in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:383 #2 0xffffffff80af6ab1 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:776 #3 0xffffffff80af68f3 in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:707 #4 0xffffffff80f77f6f in trap_fatal (frame=3D0xfffffe0c58d30720, eva=3D0) = at /usr/src/sys/amd64/amd64/trap.c:875 #5 0xffffffff80f77fc9 in trap_pfault (frame=3D0xfffffe0c58d30720, usermode= =3D0) at pcpu.h:229 #6 0xffffffff80f77797 in trap (frame=3D0xfffffe0c58d30720) at /usr/src/sys/amd64/amd64/trap.c:415 #7 0xffffffff80f5744c in calltrap () at /usr/src/sys/amd64/amd64/exception.S:231 #8 0xffffffff82476994 in abd_get_offset (sabd=3D0x0, off=3D0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c:443 #9 0xffffffff824f01d7 in vdev_indirect_io_start_cb (split_offset=3D<value optimized out>, vd=3D0xfffff800237fd000, offset=3D1258659328, size=3D3584, arg=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1082 #10 0xffffffff824efe58 in vdev_indirect_remap (vd=3D<value optimized out>, offset=3D<value optimized out>, asize=3D<value optimized out>, func=3D0xffffffff824f01a0 <vdev_indirect_io_start_cb>, arg=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1041 #11 0xffffffff824efb3d in vdev_indirect_io_start (zio=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1099 #12 0xffffffff8251ac9e in zio_vdev_io_start (zio=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:3297 #13 0xffffffff8251774c in zio_execute (zio=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1768 #14 0xffffffff8251706b in zio_nowait (zio=3D0xfffff8006ac49000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1826 #15 0xffffffff824f38ef in vdev_mirror_io_start (zio=3D<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:557 #16 0xffffffff8251ab52 in zio_vdev_io_start (zio=3D0xfffff8006ad1c000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:3166 #17 0xffffffff8251774c in zio_execute (zio=3D0xfffff8006ad1c000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1768 #18 0xffffffff80b4ec14 in taskqueue_run_locked (queue=3D0xfffff8006a839900)= at /usr/src/sys/kern/subr_taskqueue.c:463 #19 0xffffffff80b4fd78 in taskqueue_thread_loop (arg=3D<value optimized out= >) at /usr/src/sys/kern/subr_taskqueue.c:755 #20 0xffffffff80aba0b3 in fork_exit (callout=3D0xffffffff80b4fce0 <taskqueue_thread_loop>, arg=3D0xfffff8006a7b81f0, frame=3D0xfffffe0c58d30c00) at /usr/src/sys/kern/kern_fork.c:1054 #21 0xffffffff80f5836e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:957 #22 0x0000000000000000 in ?? () (kgdb) -------------------------------------- kgdb /boot/kernel/kernel /var/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 current process =3D 0 (zio_free_issue_6_1) trap number =3D 12 fault code =3D supervisor read data, page not present =3D DPL 0, pres 1, long 1, def32 0, gran 1 instruction pointer =3D 0x20:0xffffffff82476994 stack pointer =3D 0x28:0xfffffe0c58b217e0 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (zio_free_issue_3_1) frame pointer =3D 0x28:0xfffffe0c58b21810 panic: page fault cpuid =3D 5 KDB: stack backtrace: #0 0xffffffff80b3d407 at kdb_backtrace+0x67 #1 0xffffffff80af6a77 at vpanic+0x177 #2 0xffffffff80af68f3 at panic+0x43 #3 0xffffffff80f77f6f at trap_fatal+0x35f #4 0xffffffff80f77fc9 at trap_pfault+0x49 #5 0xffffffff80f77797 at trap+0x2c7 #6 0xffffffff80f5744c at calltrap+0x8 #7 0xffffffff824f01d7 at vdev_indirect_io_start_cb+0x37 #8 0xffffffff824efe58 at vdev_indirect_remap+0x2f8 #9 0xffffffff824efb3d at vdev_indirect_io_start+0x2d #10 0xffffffff8251ac9e at zio_vdev_io_start+0x2ae #11 0xffffffff8251774c at zio_execute+0xac #12 0xffffffff8251706b at zio_nowait+0xcb #13 0xffffffff824f38ef at vdev_mirror_io_start+0x3ff #14 0xffffffff8251ab52 at zio_vdev_io_start+0x162 #15 0xffffffff8251774c at zio_execute+0xac #16 0xffffffff80b4ec14 at taskqueue_run_locked+0x154 #17 0xffffffff80b4fd78 at taskqueue_thread_loop+0x98 Uptime: 16m41s Dumping 1894 out of 49109 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% Reading symbols from /boot/kernel/ums.ko...Reading symbols from /usr/lib/debug//boot/kernel/ums.ko.debug...done. done. Loaded symbols for /boot/kernel/ums.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /usr/lib/debug//boot/kernel/pf.ko.debug...done. done. Loaded symbols for /boot/kernel/pf.ko Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko #0 doadump (textdump=3D<value optimized out>) at pcpu.h:229 229 pcpu.h: No such file or directory. in pcpu.h (kgdb) (kgdb) bt #0 doadump (textdump=3D<value optimized out>) at pcpu.h:229 #1 0xffffffff80af668b in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:383 #2 0xffffffff80af6ab1 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:776 #3 0xffffffff80af68f3 in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:707 #4 0xffffffff80f77f6f in trap_fatal (frame=3D0xfffffe0c58adb720, eva=3D0) = at /usr/src/sys/amd64/amd64/trap.c:875 #5 0xffffffff80f77fc9 in trap_pfault (frame=3D0xfffffe0c58adb720, usermode= =3D0) at pcpu.h:229 #6 0xffffffff80f77797 in trap (frame=3D0xfffffe0c58adb720) at /usr/src/sys/amd64/amd64/trap.c:415 #7 0xffffffff80f5744c in calltrap () at /usr/src/sys/amd64/amd64/exception.S:231 #8 0xffffffff82476994 in abd_get_offset (sabd=3D0x0, off=3D0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c:443 #9 0xffffffff824f01d7 in vdev_indirect_io_start_cb (split_offset=3D<value optimized out>, vd=3D0xfffff8002373f800, offset=3D1225929216, size=3D2560, arg=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1082 #10 0xffffffff824efe58 in vdev_indirect_remap (vd=3D<value optimized out>, offset=3D<value optimized out>, asize=3D<value optimized out>, func=3D0xffffffff824f01a0 <vdev_indirect_io_start_cb>, arg=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1041 #11 0xffffffff824efb3d in vdev_indirect_io_start (zio=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c:1099 #12 0xffffffff8251ac9e in zio_vdev_io_start (zio=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:3297 #13 0xffffffff8251774c in zio_execute (zio=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1768 #14 0xffffffff8251706b in zio_nowait (zio=3D0xfffff801c43c9000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1826 #15 0xffffffff824f38ef in vdev_mirror_io_start (zio=3D<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:557 #16 0xffffffff8251ab52 in zio_vdev_io_start (zio=3D0xfffff801c4419820) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:3166 #17 0xffffffff8251774c in zio_execute (zio=3D0xfffff801c4419820) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1768 #18 0xffffffff80b4ec14 in taskqueue_run_locked (queue=3D0xfffff80168168100)= at /usr/src/sys/kern/subr_taskqueue.c:463 #19 0xffffffff80b4fd78 in taskqueue_thread_loop (arg=3D<value optimized out= >) at /usr/src/sys/kern/subr_taskqueue.c:755 #20 0xffffffff80aba0b3 in fork_exit (callout=3D0xffffffff80b4fce0 <taskqueue_thread_loop>, arg=3D0xfffff800220f6f60, frame=3D0xfffffe0c58adbc00) at /usr/src/sys/kern/kern_fork.c:1054 #21 0xffffffff80f5836e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:957 #22 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) # zpool import pool: test id: 632784374722369342 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: test ONLINE mirror-0 ONLINE da1 ONLINE da2 ONLINE indirect-1 ONLINE mirror-2 ONLINE da5 ONLINE da6 ONLINE and then it panics when trying to import. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228750-227>