From owner-freebsd-net@freebsd.org Tue Jul 21 20:21:25 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 012FE9A63B5 for ; Tue, 21 Jul 2015 20:21:25 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D98401900 for ; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: by mailman.ysv.freebsd.org (Postfix) id D5A929A63B3; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4EE69A63B0; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id B5E1018FC; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from marvin.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 6AE4D5647F; Tue, 21 Jul 2015 15:21:23 -0500 (CDT) Message-ID: <55AEA9BC.5070806@vangyzen.net> Date: Tue, 21 Jul 2015 15:21:16 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Wolfskill , Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Stewart Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> <20150721200515.GD27865@albert.catwhisker.org> In-Reply-To: <20150721200515.GD27865@albert.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 20:21:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/21/2015 15:05, David Wolfskill wrote: > On Tue, Jul 21, 2015 at 10:28:32PM +0300, Konstantin Belousov wrote: >> ... >> Indeed, thank you. >> ithread_loop() at ithread_loop+0xa6/frame 0xfffffe083b9c0a70 >> fork_exit() at fork_exit+0x84/frame 0xfffffe083b9c0ab0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe083b9c0ab0 >> --- trap 0, rip =3D 0, rsp =3D 0xfffffe083b9c0b70, rbp =3D 0 --- >> suspending ithread with the following locks held: >> shared rw udpinp (udpinp) r =3D 3 (0xfffff80010c7d7b0) locked @ /usr/s= rc/sys/netinet6/in6_pcb.c:1174 >> panic: witness_warn >> cpuid =3D 3 >> >> So it looks like net swi, leaking some udp6 lock. > Curiouser and curiouser... While I'm not taking any special pains to > avoid building IPv6, I'm not actively actually doing anything with it > (IPv6), either (for both the failing machine and my laptop). > > Once I'm back home, I should be able to poke around in ddb after > re-creating the panic, if that would be a useful thing for me to do (an= d > given some hints as to what to poke). > > Naturally, I'm also happy to change bits of sources, rebuild, and > smoke-test. > > A quick check from the SVN update output only shows r285710, r285711, a= nd > r285740 in the range from (r285685,r285741] -- as the kernel running > r285685 had no known issues -- that touched sys/netinet6/*. It's a multicast destination. Maybe something is using mDNS? Randall, does the test on line 406 of udp6_usrreq.c need to be inverted? Eric --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVrqm8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzRTcwNEY0QTBEMTM0MUU4QkNFNEQ3M0RB RkMxMkExM0VDMjBEQUI4AAoJEK/BKhPsINq4Uj8H/3kMl7ihOq6gq5k8SgZuBa12 wH2DAxlxo1Lb16q2wO9Ec1StP2BuMOqB4WSlpHe/Zmxgn/Nfv0wtGvo4kYr+tX4u i1uJKiqC6xeeLwlEXuBTjGDDji2zF6blau6v+iG2btXfvUSihA5lmXsv61y/Xmv1 KSl1828RRl8BxbYwKsBXHbXkPDGxAPRjGm2qbuLGboFYOX8QJFiRmmNOwjKPBQsJ dxmGaSmKPQqixgvYamhOAf39jcc3CbBLl8za22Qk+yyPvcFzPwV4qxOm+cA8EZfz a5zEsq5Rb5o1yAEiqrjBvQNg5QQKJd5D7UO97CUOf5lID8e30/aXNdiFiQqXG0E= =xlKO -----END PGP SIGNATURE----- --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu--