From owner-freebsd-current Mon Nov 11 9:23:11 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 31E9337B401 for ; Mon, 11 Nov 2002 09:23:10 -0800 (PST) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44BC343E7B for ; Mon, 11 Nov 2002 09:23:09 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 24913 invoked from network); 11 Nov 2002 17:23:12 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 11 Nov 2002 17:23:12 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gABHN62D001594; Mon, 11 Nov 2002 12:23:07 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <40095464.1036852016@[192.168.1.20]> Date: Mon, 11 Nov 2002 12:23:08 -0500 (EST) From: John Baldwin To: "Joel M. Baldwin" Subject: RE: Panics instead of Hard Locks Cc: current@freebsd.org 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 On 09-Nov-2002 Joel M. Baldwin wrote: > > Since going from a SMP to nonSMP kernel the Hard Locks don't > seem to be happening. However I'm getting panics. > > I've gotten 4 'sleeping thread owns a mutex' panics and one each > of 'Assertion i != 0 failed at ../../../kern/subr_witness.c:669' > and 'Duplicate free of item 0xc3895cc0 from zone 0xc0ea63c0(VMSPACE)' > > More info follows. I finally got a debugger kernel built so I'll > have even more info after the next panic. Let me know what I can > do to help. > > -------------------------------------------------------------- > > > panic: Assertion i != 0 failed at ../../../kern/subr_witness.c:669 > Debugger("panic") > Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 > db> bt > No such command > db> x > Debugger+0x54: 29401d87 > db> t > Debugger(c038693f,c03f6020,c0389a7b,cd2e2b00,1) at Debugger+0x54 > panic(c0389a7b,c0389cee,c038993f,29d,cd2e2b64) at panic+0xab > witness_lock(c03c29a0,8,c0386f4e,134,c0385a95) at witness_lock+0x513 > _mtx_lock_flags(c03c29a0,0,c0386f4e,134,cd2e2b90) at > _mtx_lock_flags+0xb1 > msleep(c265d504,c03f4974,44,c039acd9,0) at msleep+0x644 > acquire(c265d504,1000000,600,e3,5) at acquire+0xa7 > lockmgr(c265d504,2,0,c0eadea0,cd2e2c2c) at lockmgr+0x378 > _vm_map_lock_read(c265d4c8,c039ad3c,153,c0385a95,c265c700) at > _vm_map_lock_read+0x5b > vmspace_swap_count(c265d4c8,0,c039c4d2,493,0) at vmspace_swap_count+0x29 > vm_pageout_scan(0,0,44,c039c590,1f4) at vm_pageout_scan+0xa48 > vm_pageout(0,cd2e2d48,c0384133,354,0) at vm_pageout+0x262 > fork_exit(c03163b0,0,cd2e2d48) at fork_exit+0xa5 > fork_trampoline() at fork_trampoline+0x1a > --- trap 0x1, eip = 0, esp = 0xcd2e2d7c, ebp = 0 --- *sigh*, This is a bogus assertion and my fault. I'll fix it. Thanks! -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message