From owner-freebsd-current@FreeBSD.ORG Mon Jan 23 16:47:01 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B771065673; Mon, 23 Jan 2012 16:47:01 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 25C628FC18; Mon, 23 Jan 2012 16:47:00 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q0NGkxZj039123; Mon, 23 Jan 2012 20:46:59 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q0NGkxiw039122; Mon, 23 Jan 2012 20:46:59 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 23 Jan 2012 20:46:59 +0400 From: Gleb Smirnoff To: Andriy Gapon Message-ID: <20120123164659.GQ16676@glebius.int.ru> References: <20120117110242.GD12760@glebius.int.ru> <20120120154158.GD16676@FreeBSD.org> <4F1ABFF3.9090305@FreeBSD.org> <20120122163539.GF16676@glebius.int.ru> <4F1D18A5.8010006@FreeBSD.org> <20120123130743.GI16676@glebius.int.ru> <4F1D6830.60602@FreeBSD.org> <20120123162410.GN16676@glebius.int.ru> <20120123162606.GO16676@FreeBSD.org> <4F1D8E2B.30800@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4F1D8E2B.30800@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@FreeBSD.org Subject: Re: new panic in cpu_reset() with WITNESS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2012 16:47:01 -0000 On Mon, Jan 23, 2012 at 06:43:23PM +0200, Andriy Gapon wrote: A> > db> bt A> > Tracing pid 1 tid 100001 td 0xfffffe0001d5e000 A> > kdb_enter() at kdb_enter+0x3b A> > panic() at panic+0x1c7 A> > _mtx_lock_spin_flags() at _mtx_lock_spin_flags+0x10f A> > cnputs() at cnputs+0x7a A> > vprintf() at vprintf+0xcb A> > printf() at printf+0x67 A> > db_putc() at db_putc+0x81 A> A> Ah, db_putc does something different from what I expected. A> Can you hack it to never use printf? Just cut printfs from db_putc()? -- Totus tuus, Glebius.