Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 20:09:26 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Maxime Henrion <mux@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Panic during reboot in vflush()
Message-ID:  <3D80CA46.1AF0CA4A@FreeBSD.org>
References:  <3D8045D3.35A3DECE@FreeBSD.org> <20020912080531.GQ86074@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxime Henrion wrote:
> 
> Maxim Sobolev wrote:
> > Any ideas?
> 
> Looks like some other processes was modifying the mountlist while
> vfs_unmountall() was running.  Is this an SMP box ?

No, it's UP.

> It would be nice if
> you could check in gdb which other process was holding the mountlist_mtx
> mutex if any.

Sure, if you will provide me with instruction on how to do in.

> The vfs_unmountall() function doesn't acquire the
> mounstlist_mtx and states this is OK in a comment because this functions
> is ran upon reboot, but I suspect this is incorrect and we still need to
> do the locking.  I'll write a patch tonight to add locking into
> vfs_unmountall(), but it may be hard to test unless you know of a way to
> reproduce this panic easily.

No, I don't. It's the first time I've encountered this particular
problem.

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D80CA46.1AF0CA4A>