From owner-freebsd-current@freebsd.org Thu Aug 20 07:39:54 2015 Return-Path: Delivered-To: freebsd-current@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 3D5B59BED0C for ; Thu, 20 Aug 2015 07:39:54 +0000 (UTC) (envelope-from avg@FreeBSD.org) 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 270761980 for ; Thu, 20 Aug 2015 07:39:54 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2656B9BED0B; Thu, 20 Aug 2015 07:39:54 +0000 (UTC) Delivered-To: current@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 25ECB9BED0A for ; Thu, 20 Aug 2015 07:39:54 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 67E92197F for ; Thu, 20 Aug 2015 07:39:52 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA01743; Thu, 20 Aug 2015 10:39:51 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ZSKRz-000C2m-5x; Thu, 20 Aug 2015 10:39:51 +0300 Subject: Re: mount(1) at boot hangs in spa_namespace_lock To: Jens Schweikhardt , current@FreeBSD.org References: <20150819210743.GA1194@schweikhardt.net> From: Andriy Gapon Message-ID: <55D58411.2010703@FreeBSD.org> Date: Thu, 20 Aug 2015 10:38:57 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150819210743.GA1194@schweikhardt.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 20 Aug 2015 07:39:54 -0000 On 20/08/2015 00:07, Jens Schweikhardt wrote: > Gang, > > for a few weeks now I can't get a CURRENT system to boot. I am using the > zfsloader and have root fs on ZFS. This has worked flawlessly for more > than a year. > > The last message printed is "Mounting local file systems:" (from > rc.d/mountcritlocal) and the system hangs until I push reset. Ctrl-C etc > are ignored. However, CTRL-T says that mount is running in > spa_namespace_lock, and the "r"untime increases at 1 second per second > which looks like it is busy spinning on that lock. If you can reproduce the problem reliably could you please test a patch from this review request https://reviews.freebsd.org/D3281 ? (https://reviews.freebsd.org/D3281?download=true) If I get a success report then I'll immediately commit the fix. -- Andriy Gapon