mount(1) at boot hangs in spa_namespace_lock

Andriy Gapon avg at FreeBSD.org
Thu Aug 20 07:39:54 UTC 2015


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


More information about the freebsd-current mailing list