From owner-freebsd-fs@freebsd.org Mon Aug 10 19:41:27 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69B7399E559 for ; Mon, 10 Aug 2015 19:41:27 +0000 (UTC) (envelope-from kp@vega.codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3322BE38 for ; Mon, 10 Aug 2015 19:41:26 +0000 (UTC) (envelope-from kp@vega.codepro.be) Received: from vega.codepro.be (unknown [172.16.1.3]) by venus.codepro.be (Postfix) with ESMTP id 41A2318FFA for ; Mon, 10 Aug 2015 21:41:23 +0200 (CEST) Received: by vega.codepro.be (Postfix, from userid 1001) id 3A2407B888; Mon, 10 Aug 2015 21:41:23 +0200 (CEST) Date: Mon, 10 Aug 2015 21:41:23 +0200 From: Kristof Provost To: freebsd-fs@freebsd.org Subject: solaris assert: t == ZIO_TYPE_READ || t == ZIO_TYPE_WRITE, file: ...zfs/vdev_queue.c, line: 302 Message-ID: <20150810194122.GE48727@vega.codepro.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Checked-By-NSA: Probably User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 19:41:27 -0000 Hi, Booting CURRENT (r286582) earlier I saw the following panic: panic: solaris assert: t == ZIO_TYPE_READ || t == ZIO_TYPE_WRITE, file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c, line: 302 cpuid = 1 Uptime: 41s ... (kgdb) #0 doadump (textdump=1) at pcpu.h:221 #1 0xffffffff80a19e65 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:329 #2 0xffffffff80a1a458 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:626 #3 0xffffffff80a1a4a3 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:557 #4 0xffffffff8242622a in assfail (a=, f=, l=) at /usr/src/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c:81 #5 0xffffffff8213f8be in vdev_queue_io (zio=0xfffff8000ede1000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c:302 #6 0xffffffff82163406 in zio_vdev_io_start (zio=0xfffff8000ede1000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2774 #7 0xffffffff8215eaa9 in zio_execute (zio=0xfffff8000ede1000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1496 #8 0xffffffff8215de5b in zio_nowait (zio=0xfffff8000ede1000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1550 #9 0xffffffff8219f23c in trim_map_commit (spa=0xfffffe00032b7000, zio=0xfffff8000eda6760, vd=0xfffff8000e7dd800) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c:476 #10 0xffffffff8219f046 in trim_map_commit (spa=0xfffffe00032b7000, zio=0xfffff8000eda6760, vd=0xfffff8000e9b4800) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c:532 #11 0xffffffff8219f046 in trim_map_commit (spa=0xfffffe00032b7000, zio=0xfffff8000eda6760, vd=0xfffff8000e9b4000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c:532 #12 0xffffffff8219ed9f in trim_thread (arg=0xfffffe00032b7000) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c:579 #13 0xffffffff809e0374 in fork_exit ( callout=0xffffffff8219ecb0 , arg=0xfffffe00032b7000, frame=0xfffffe0239c09c00) at /usr/src/sys/kern/kern_fork.c:1006 #14 0xffffffff80e5e7ae in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:610 #15 0x0000000000000000 in ?? () This is a regular amd64 machine with 4 disks in raidz. I'd pulled one drive and replaced it with an empty one. It's possible that's related to the panic. Regards, Kristof