From owner-freebsd-current@freebsd.org Mon Mar 5 06:25:00 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09691F3510B for ; Mon, 5 Mar 2018 06:25:00 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 79B9F8579E for ; Mon, 5 Mar 2018 06:24:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 32948F35109; Mon, 5 Mar 2018 06:24:59 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C20EF35108; Mon, 5 Mar 2018 06:24:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 675D78579C; Mon, 5 Mar 2018 06:24:58 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f41.google.com with SMTP id 37so21427690lfs.7; Sun, 04 Mar 2018 22:24:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UT26Tlr8N97BXiqJOrYKqp3fK7llfSt+cUlKTQR7BFo=; b=e246f27fq3r8H2ZByfcV1ldltn53NLKsowp3xwqehUECcgPoxXWp/T0k0DFahIwjRU 3wGYDsnI/O6x4DCkdoF97XngRJXG9CbwsTOT3oZU9vh9INRabEUcxom+/Td+A9JfZRtE GeAHwtIyidGRu6SP2eKc8u2dgZmjrPtsPAHyogQmViJVerqPsbZOy2gYjlzOpcTWbv33 xNSLKtMSlp4qGHq3wzxHCneqPK3LNeLsnqLsGzXLjyDE5ZGk+zHMiK+lmn2BlZLL5tFq bCjXg0e5iC4UOmKNG3xkFH9lAK0w1OZKqFRcWCHWB3UhbGMeQa0CCnioT3xwkIgtRTNj TVCg== X-Gm-Message-State: AElRT7F8i+k5zMpQUbo5Dhl8wkoBgvtybS73UsEKMGI+uAbaZunbevWk Q4EVdzwz+chDJ5XPkr0OaWNqpO55 X-Google-Smtp-Source: AG47ELtekot6ayH0fN1KrED5k1wXHlPNyCdjx13oi1uhp1W6bZP4Pb6c6PhHscyn102c4imSdD8vYg== X-Received: by 10.46.87.72 with SMTP id r8mr9293185ljd.93.1520231091136; Sun, 04 Mar 2018 22:24:51 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id 21sm2568536ljc.82.2018.03.04.22.24.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Mar 2018 22:24:50 -0800 (PST) Subject: Re: ZFS panic at boot when mounting root on r330386 To: Bryan Drewery , "current@freebsd.org" , FreeBSD FS References: <681cabc1-9b50-8f27-5242-5a9eb3ed3c39@FreeBSD.org> From: Andriy Gapon Message-ID: <407e9672-f138-38de-c10f-a0bcee0716be@FreeBSD.org> Date: Mon, 5 Mar 2018 08:24:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <681cabc1-9b50-8f27-5242-5a9eb3ed3c39@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 05 Mar 2018 06:25:00 -0000 On 05/03/2018 02:59, Bryan Drewery wrote: >> panic: solaris assert: refcount_count(&spa->spa_refcount) > spa->spa_minref || MUTEX_HELD(&spa_namespace_lock), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c, line: 952 >> cpuid = 10 >> time = 1520207367 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe23f57a2420 >> vpanic() at vpanic+0x18d/frame 0xfffffe23f57a2480 >> panic() at panic+0x43/frame 0xfffffe23f57a24e0 >> assfail() at assfail+0x1a/frame 0xfffffe23f57a24f0 >> spa_close() at spa_close+0x5d/frame 0xfffffe23f57a2520 >> spa_get_stats() at spa_get_stats+0x481/frame 0xfffffe23f57a2700 >> zfs_ioc_pool_stats() at zfs_ioc_pool_stats+0x25/frame 0xfffffe23f57a2740 >> zfsdev_ioctl() at zfsdev_ioctl+0x76b/frame 0xfffffe23f57a27e0 >> devfs_ioctl() at devfs_ioctl+0xcb/frame 0xfffffe23f57a2830 >> VOP_IOCTL_APV() at VOP_IOCTL_APV+0x102/frame 0xfffffe23f57a2860 >> vn_ioctl() at vn_ioctl+0x124/frame 0xfffffe23f57a2970 >> devfs_ioctl_f() at devfs_ioctl_f+0x1f/frame 0xfffffe23f57a2990 >> kern_ioctl() at kern_ioctl+0x2c2/frame 0xfffffe23f57a29f0 >> sys_ioctl() at sys_ioctl+0x15c/frame 0xfffffe23f57a2ac0 >> amd64_syscall() at amd64_syscall+0x786/frame 0xfffffe23f57a2bf0 >> fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe23f57a2bf0 >> --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80049afda, rsp = 0x7fffffffbd18, rbp = 0x7fffffffbd90 --- >> KDB: enter: panic >> [ thread pid 56 tid 100606 ] >> Stopped at kdb_enter+0x3b: movq $0,kdb_why >> db> > > It seems like a race as I can get it to boot sometimes. Yes, it does. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210409 -- Andriy Gapon