From owner-freebsd-current@FreeBSD.ORG Mon Jan 20 18:55:28 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F13D9C1C; Mon, 20 Jan 2014 18:55:27 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE3EC1F5E; Mon, 20 Jan 2014 18:55:27 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id s0KItQZd013848; Mon, 20 Jan 2014 10:55:26 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id s0KItQ28013847; Mon, 20 Jan 2014 10:55:26 -0800 (PST) (envelope-from david) Date: Mon, 20 Jan 2014 10:55:26 -0800 From: David Wolfskill To: current@freebsd.org Subject: Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx... Message-ID: <20140120185526.GW1789@albert.catwhisker.org> References: <76191F53-3C1F-4175-AE9C-1D9FD1B1F0CA@bsdimp.com> <1390238048.1230.75.camel@revolution.hippie.lan> <20140120163750.GC24664@kib.kiev.ua> <20140120183341.GU1789@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4WCFFtl4AQpQKunj" Content-Disposition: inline In-Reply-To: <20140120183341.GU1789@albert.catwhisker.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: Warner Losh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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, 20 Jan 2014 18:55:28 -0000 --4WCFFtl4AQpQKunj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 20, 2014 at 10:33:41AM -0800, David Wolfskill wrote: > ... > On Mon, Jan 20, 2014 at 10:47:12AM -0700, Warner Losh wrote: > > ... > > I have a fix for this. I committed the wrong version of uart_core.c. r2= 60911 should fix this. So this is broken from r260890-r260910. > > .... >=20 > So I see. I'll hand-apply that, rebuild the kernel, and give it a shot, >=20 > Thanks, all! :-) > .... We have a winner! Ref.: =2E.. Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xe1fb9cfc --- syscall (55, FreeBSD ELF32, sys_reboot), eip =3D 0x805a9df, esp =3D 0xb= fbfd88c, ebp =3D 0xbfbfd960 --- Uptime: 5m15s usbus0: Controller shutdown uhub0: at usbus0, port 1, addr 1 (disconnected) usbus0: Controller shutdown complete usbus1: Controller shutdown uhub1: at usbus1, port 1, addr 1 (disconnected) usbus1: Controller shutdown complete usbus2: Controller shutdown uhub2: at usbus2, port 1, addr 1 (disconnected) usbus2: Controller shutdown complete usbus3: Controller shutdown uhub3: at usbus3, port 1, addr 1 (disconnected) usbus3: Controller shutdown complete usbus4: Controller shutdown uhub4: at usbus4, port 1, addr 1 (disconnected) usbus4: Controller shutdown complete aac0: shutting down controller...done acpi0: Powering system off Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --4WCFFtl4AQpQKunj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJS3XEdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7HDUQAJ+l8YhbnpMciEACq+6x2Q4Z v87oMDcrKTLHcOIbXZRspcxDn7ygqBCQP9Avo2WLezOlYblyTGgzxncBRf7ZHxsA lDlqMjsP6UVERjjYOovAALkUwXaD0aFM+NHXHC9T8ZY+vyG+aEGecvEP4SiV7VOE ILqD7OeWZ6JBAxd4V52MZZav9datE7wI1QNSSxT27FWRtyYgfzEH2lc1jOrZvAR+ egbvzMq6c+qAJhfaJo3PEQdTi1taL0P/PhbEMrw07k0r1I3noOFbN6wZchM7bhfG 4S4KEWkjrMTxHIxH6IwuViQEIbKGPo72TH9UNyiMOrLimWJZjvHI+WGFTKr5qWD3 vguTATEcrnDx4QSTFX+5hg1n4npjRBPU4lRb71/eCl4RNm9T1+CA00wzBJS6XmTn zIQFkduvLlNzlRLXFkhrBKDWdweypzwoyKgWzgYoXWniDPs/hDr86lmsLRrWqf5y D6uTynJXRwv7NK1R5RjloniZRYssELR99xlTXxbjsV4hnYgrmIOtMgkLlAIswW7c 3EmLrth3RmZXV0xisY6dtOKCdm8WDjJSns457LqpaIvd8ytVBJz++PwEg8sD8T7v 4LjIQ/mtA3tX2zLtGFl/ns49mYEEEo/CozyxZnk18MBa3MTY9exLavgNIzswUu/f l5oT9Ugym86Qjg/UpJEe =nRs6 -----END PGP SIGNATURE----- --4WCFFtl4AQpQKunj--