Subject: lockmgr panic
To: None <port-sparc@netbsd.org>
From: None <ks@ub.uni-mainz.de>
List: port-sparc
Date: 02/24/1999 15:46:18
hi,

following up to my mail from this morning...
i got the lockmgr: locking against myself painc again, trying to
compile a new kernel. the kernel which was running has the locking
patches from bill studenmund applied. filesystems were mounted as
follows:

- the source tree is physicaly located in /c1/src
- /c1/src is null mounted on /usr/src (to get the right pathnames for
				       "make obj". maybe I should set
				       BSDSRCDIR?=/c1/src in /etc/mk.conf?)
- /usr/lsrc is union-mounted on /usr/src

I was just doing 'make' in /usr/src/sys/arch/sparc/compile/DINO...

ps in ddb shows
25784	  25783		25772	0 2 0x4006	make
25783	  25722		25722	0 3 0x4086	  sh	wait
25722	  16061		25722	0 3 0x4086	make	wait
and so on

trace gives:
_lockmgr
_ufs_lock
_null_bypass
_null_lock
_vn_lock
_vrele
_union_freevp
_union_reclaim
_vclean
_vgonel
_getnewvnode
_ffs_vget
_ufs_lookup
_lookup
_namei
_sys___stat13
_syscall
syscall

next I'll try w/o the null layer, perhaps this helps?

-ks
===============================================================================
Dipl.-Inform. Kurt Schreiner            Tel. : +49 6131 39 5134
Universitaet Mainz/Zentralbibliothek	Fax. : +49 6131 39 4159
Jakob Welder Weg 6, 55128 Mainz		Mail : kurt.schreiner@uni-mainz.de
===============================================================================