Subject: Re: locking problem on amd64 (w/ lfs)
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 12/02/2007 16:18:17
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.
Workaround: don't use LFS, it will always give you a headache in the end.
Thanks,
Andrew