Re: mount(1) at boot hangs in spa_namespace_lock

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Thu, 20 Aug 2015 12:14:00 +0200
Andriy Gapon <avg_at_FreeBSD.org> wrote:

> 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.

If it doesn't help, you could also try the patch from:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198563

Fabian

Received on Thu Aug 20 2015 - 08:28:06 UTC

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