Re: mount(1) at boot hangs in spa_namespace_lock

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 20 Aug 2015 10:38:57 +0300
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
Received on Thu Aug 20 2015 - 05:39:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC