Subject: Re: locking problem on amd64 (w/ lfs)
To: Andrew Doran <ad@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 12/02/2007 20:21:08
On Sun, Dec 02, 2007 at 05:18:17PM +0100, Andrew Doran wrote:
> On Mon, Nov 12, 2007 at 12:55:38PM +0100, Kurt Schreiner wrote:
> 
> > while compiling userland (w/ -j 8) on my dual-opteron
> > box running a (customized) kernel compiled from fresh
> > sources with src- obj- and dest-dirs on lfs the machine
> > paniced while installing to dest. I can leave it in this
> > state to pull more info for debugging this if needed...
> 
> This is a bug in LFS. It spends so long traversing mnt_vnodelist and syncing
> all the vnodes that the other CPU gives up trying to acquire kernel_lock.
Doh!

> Workaround: don't use LFS, it will always give you a headache in the end.
Hm, that's what I do on some other machines to keep them up and healthy ;-)
(or put the files on an NFS-exported ZFS filesystem on a Solaris machine...)

Kurt