From owner-freebsd-current Sat Feb 24 4: 2: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from syncopation-03.iinet.net.au (syncopation-03.iinet.net.au [203.59.24.49]) by hub.freebsd.org (Postfix) with SMTP id 6E72C37B503 for ; Sat, 24 Feb 2001 04:02:05 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 24304 invoked by uid 666); 24 Feb 2001 12:14:18 -0000 Received: from i076-112.nv.iinet.net.au (HELO elischer.org) (203.59.76.112) by mail.m.iinet.net.au with SMTP; 24 Feb 2001 12:14:18 -0000 Message-ID: <3A97A299.34B2EF7B@elischer.org> Date: Sat, 24 Feb 2001 04:01:29 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Warner Losh Cc: current@freebsd.org Subject: Re: Today's panic :-) References: <200102240551.f1O5p0W85583@harmony.village.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > I've added INVARIANTS and WITNESS to my kernel. Today I get a random > panic on boot sometimes: > > lock order reseral (this doesn't cause the panic, but > does seem to happen all the time) > 1st vnode interlock last acquired @ ../../usr/ffs/ffs_fsops.c:396 > 2nd 0xc04837a0 mntvnode @ ../../ufs/ffs/ffs_vfsops.c:457 > 3rd 0xc80b9e8c vnode interlock @ ../../kern/vfs_subr.c:1872 I keep dropping into ddb with: ad1: 99MB [216/15/63] at ata0-slave WDMA2 Mounting root from ufs:/dev/ad0s1a lock order reversal 1st lockmgr last acquired @ ../../kern/kern_lock.c:239 2nd 0xc085d654 ucred @ ../../kern/kern_prot.c:1177 3rd 0xc02b65e0 lockmgr @ ../../kern/kern_lock.c:239 lock order reversal 1st vnode interlock last acquired @ ../../kern/vfs_vnops.c:625 2nd 0xc02d0a60 mntvnode @ ../../ufs/ffs/ffs_vfsops.c:940 3rd 0xc3d7186c vnode interlock @ ../../ufs/ffs/ffs_vfsops.c:949 lock order reversal 1st lockmgr last acquired @ ../../kern/kern_lock.c:239 2nd 0xc02b8620 uidinfo hash @ ../../kern/kern_resource.c:765 3rd 0xc02b65e0 lockmgr @ ../../kern/kern_lock.c:239 lock order reversal 1st lockmgr last acquired @ ../../kern/kern_lock.c:239 2nd 0xc08d321c uidinfo struct @ ../../kern/kern_resource.c:819 3rd 0xc02b65e0 lockmgr @ ../../kern/kern_lock.c:239 hitting 'c' (for continue) allows me to go on.... This with a kernel CVSUP'd in the last day. I'll CVsup again as I vaguely remember a commit message that may affect this. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message