From owner-freebsd-current Mon Jul 22 16:14:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B62337B400 for ; Mon, 22 Jul 2002 16:14:21 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C2C843E31 for ; Mon, 22 Jul 2002 16:14:21 -0700 (PDT) (envelope-from abjenkins@attbi.com) Received: from attbi.com ([24.60.235.125]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020722231420.LDFN19639.sccrmhc02.attbi.com@attbi.com> for ; Mon, 22 Jul 2002 23:14:20 +0000 Message-ID: <3D3C91CE.5060108@attbi.com> Date: Mon, 22 Jul 2002 19:14:22 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020423 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current Subject: Panic + lock order reversal (SMP Athlon) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG System was cvsup'd yesterday afternoon: FreeBSD 5.0-CURRENT #4: Sun Jul 21 23:43:59 EDT 2002 ajenkins@foo:/usr/obj/usr/src/sys/MYKERNEL-5.0 Background fsck was started and I waited a decent amount of time after the login: prompt showed up before logging into root. Root (bash) prompt displayed after /etc/motd and immediately after the serial console gets the panic: Starting background filesystem checks Mon Jul 22 18:57:46 EDT 2002 lock order reversal 1st 0xc034aee0 sysctl sysctllock (sysctl sysctllock) @ /usr/src/sys/kern/kern_sysctl.c:1181 2nd 0xc03179e0 Giant (Giant) @ /usr/src/sys/dev/isp/isp_freebsd.c:2065 dev = da0s1g, block = 6657576, fs = /usr panic: ffs_blkfree: freeing free block cpuid = 1; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x46: xchgl %ebx,in_Debugger.0 db> trace Debugger(c02e10fa) at Debugger+0x46 panic(c02f0e00,c02f0de0,c41ca44c,659628,0) at panic+0xde ffs_blkfree(c41d0800,c41fa000,659628,0,4000) at ffs_blkfree+0x418 indir_trunc(c41a1a00,1966180,0,0,f600c,0,d6a3dc40) at indir_trunc+0x290 indir_trunc(c41a1a00,1964740,0,1,100c,0,d6a3dc40) at indir_trunc+0x26b handle_workitem_freeblocks(c41a1a00,0) at handle_workitem_freeblocks+0x1d0 process_worklist_item(0,0) at process_worklist_item+0x170 softdep_process_worklist(0) at softdep_process_worklist+0xb4 sched_sync(0,d6a3dd48,c1585c00,c01f69f4,0) at sched_sync+0x17e fork_exit(c01f69f4,0,d6a3dd48) at fork_exit+0x94 fork_trampoline() at fork_trampoline+0x1a db> locks No such command db> show locks exclusive sleep mutex Giant r = 0 (0xc03179e0) locked @ /usr/src/sys/dev/isp/isp_freebsd.c:2065 db> I just got my 2nd Athlon MP chip today, hopefully this is similar to the last time I crashed while in background fsck.... Let me know if any more info is needed, I'll play with the coredump a bit. -- Anthony Jenkins http://www.mindspring.com/~abjenkins/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message