From owner-freebsd-current@freebsd.org Wed Nov 4 02:33:28 2015 Return-Path: Delivered-To: freebsd-current@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 6FC96A25EAB for ; Wed, 4 Nov 2015 02:33:28 +0000 (UTC) (envelope-from david@catwhisker.org) 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 4E22918C1 for ; Wed, 4 Nov 2015 02:33:28 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4EBC2A25EA7; Wed, 4 Nov 2015 02:33:28 +0000 (UTC) Delivered-To: current@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 3336BA25EA5; Wed, 4 Nov 2015 02:33:28 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 866DF18BE; Wed, 4 Nov 2015 02:33:26 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id tA42XJmB033986; Tue, 3 Nov 2015 18:33:19 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id tA42XJce033985; Tue, 3 Nov 2015 18:33:19 -0800 (PST) (envelope-from david) Date: Tue, 3 Nov 2015 18:33:19 -0800 From: David Wolfskill To: "Andrey V. Elsukov" Cc: "Alexander V. Chernikov" , "ipfw@freebsd.org" , "current@freebsd.org" , "net@freebsd.org" Subject: Re: panic: refcount inconsistency: found: 0 total: 1 Message-ID: <20151104023319.GZ21127@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , "Andrey V. Elsukov" , "Alexander V. Chernikov" , "ipfw@freebsd.org" , "current@freebsd.org" , "net@freebsd.org" References: <20151103140436.GJ21127@albert.catwhisker.org> <693401446563735@web30h.yandex.ru> <20151103163952.GP21127@albert.catwhisker.org> <20151103211001.GT21127@albert.catwhisker.org> <563933EE.1050909@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6ysXqiu0yoUmUNJB" Content-Disposition: inline In-Reply-To: <563933EE.1050909@yandex.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 04 Nov 2015 02:33:28 -0000 --6ysXqiu0yoUmUNJB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 04, 2015 at 01:23:42AM +0300, Andrey V. Elsukov wrote: > On 04.11.2015 00:10, David Wolfskill wrote: > > So... with the change from r290334, what's the point of the KASSERT? >=20 > Yes, you are right. We changed this code and use it some time, but > without INVARIANTS. I just removed this KASSERT in r290345. Can you try > this revision? Sorry for the breakage. > .... OK; I first did "svn revert /usr/src/sys/netpfil/ipfw/", then (having saved a copy of r290345's commit message as /tmp/r290345), did "svn patch --strip 1 /tmp/r290345 /usr/src", then built & installed a new kernel, which booted without a panic: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #233 r290334M/290334:1100086: T= ue Nov 3 17:18:26 PST 2015 root@localhost:/common/S4/obj/usr/src/sys/C= ANARY amd64 I was un the shuttle bus at the time; apparently the DHCP server in the access point wasn't behaving itself, as I got a DHCPNAK from it -- running either head or stable/10. I booted up head here at home, and DHCP works fine: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #233 r290334M/290334:1100086: T= ue Nov 3 17:18:26 PST 2015 root@localhost:/common/S4/obj/usr/src/sys/C= ANARY amd64 So: looks like awin to me! :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --6ysXqiu0yoUmUNJB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWOW5vXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7FtgP/1VtwOEkCY2jQQm02mALkh6M vjUaVhdV8EUw3u3Y7ziuuCDEsnSb2raDl0TQDa3pPcRWjRkPGfHpA1Ep1XbIOMLl QvckSq5i9QcKXHBkpxWrm1xXfIvE2tQOM3eJfJWGNH2+eGA5+6qaH1wANqYOEAV3 /oqZixR5KXm9PiowXs/QHWjfxHw2hi3dm51fzwNWurTdtJKvilNeHsdaxiDiL00/ Obnmrv/tIc7OLU/dOWNUtj7TdBjGKeCgUGtsNXI7UoFi9JIE83X8/3VTjvnH1RD5 CyCjXZrPL2Gfu1y7ZAZ0QWiSRY+foug5FKmZcNw68BMljk828eMyBSVLTkbPDsV5 k6QD5ZDZIIFTe3udyPzPUyTjoxEbH/mXONLHlcRt0ZMW4C38hXO6aRhSu+wd/FIH LVOqFB8OlJvWiMqJu5HIQrw53c5tACCbyrxdd3vmr5h3BW009+4bbuzp78juLrKd JKC6YkI9DSHp0Gui9ucQ7fXZZun6VAaUG7NwZnicwPbj2e3FSEHd4/GDIPIh4A7y goTIZFqXuWV2ENGa7tY7k6IdFzA7YEwEA96kiGsbb0IOF4ZF699P4L3l3cuwn9GX welGKUE4+L0zr5eElJ7qfdBr5rSDBAJWGYqWcDHwJYe6v3RWnpnID4aYaa0zCOb/ VY5VDVt0I++PdAcyMRZO =Wrhk -----END PGP SIGNATURE----- --6ysXqiu0yoUmUNJB--