Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2015 08:39:52 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        "Alexander V. Chernikov" <melifaro@freebsd.org>
Cc:        "ipfw@freebsd.org" <ipfw@freebsd.org>, "current@freebsd.org" <current@freebsd.org>, "net@freebsd.org" <net@freebsd.org>
Subject:   Re: panic: refcount inconsistency: found: 0 total: 1
Message-ID:  <20151103163952.GP21127@albert.catwhisker.org>
In-Reply-To: <693401446563735@web30h.yandex.ru>
References:  <20151103140436.GJ21127@albert.catwhisker.org> <693401446563735@web30h.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--r/w8vo2lxBmCPGjQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 03, 2015 at 06:15:35PM +0300, Alexander V. Chernikov wrote:
> ...
> > I tried booting it, and during the transition to multi-user mode,
> > once ipfw was being invoked, I got the above-cited panic. Circumvention
> > was to leave it disconnected from a network (turn off the WiFi
> > switch, in my case), so we don't get a chance to use the network.
> It is most probably related with r290334. Would you mind reverting it and=
 checking if ipfw works correctly ?
> ....

OK; after:

Script started on Tue Nov  3 08:22:37 2015
g1-252(10.2-S)[1] (cd /S4/usr/src/ && svn diff -c 290334 >/tmp/r290334)^M
g1-252(10.2-S)[2] (cd /S4/usr/src/ && svn patch --reverse-diff /tmp/r290334=
)^M
U         sys/netpfil/ipfw/ip_fw_sockopt.c
U         sys/netpfil/ipfw/ip_fw_table.c
g1-252(10.2-S)[3] exit

followed by a "make buildkernel", I now have:

FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #232  r290334M/290334:1=
100086: Tue Nov  3 08:27:20 PST 2015     root@localhost:/common/S4/obj/usr/=
src/sys/CANARY  amd64

and

localhost(11.0-C)[3] ifconfig wlan0=20
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
        ether 00:24:d6:7a:03:ce
        inet 198.135.49.33 netmask 0xfffffc00 broadcast 198.135.51.255=20
=2E..

as I type, and IPFW is isn use


at a *guess*, we'll need a bit more effort to keep "found" and
"ci->object_opcodes" in sync, at least by the time the KASSERT on
src/sys/netpfil/ipfw/ip_fw_table.c:3395 looks at the values.

Thanks!

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.

--r/w8vo2lxBmCPGjQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJWOONYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7VRIP/3i6WSUOZHXNnuYmo3Rj5PFK
j9X1xP4PRIEYk5nKrrevEEvm7P4BfQ3snhK5dBPXbHwweIjYnzk0wdet38MKKX1u
FSK+gJ0/asN0F2kCmudkLyZ3Es63ZdMMEKNRTrVyJQuVejSLLXCPfUJkEs9MSj/K
H/TrqhRFMX3yw6PDuN7mumqVeiawylTKz3Cb5qFNcrJSRiY+1WxQRNQ5QJQCGSXx
zo3ecXqmzjMm0eijrYV7TyIJ0HJKKa4vIsWu0wpejoBhBP8rJLyXwY26QZxS9WBE
jvCApt2zkutYPN2uoq7w6V+Fsk6lN/t5TbQvtneUI2qMHjprRhfJ531i95RCYd98
wWaLe35WUXAA4OdE+zocscd8JF4+2Gn3Ug/Io5c+1IjKY1Tpgm2euQyWy+VD4DJ2
CzlCpwm+HN9REhK1iHfvXeEqT6LEQWd9KS14/AbUzXmXtyq9e/1OAWz/kPPERDQU
6mwSFGeoC+DDGrHyD+OQEbqLOeq+wWPy0dql8n53Y1CDuG/wthTjsxHvnF/4uANw
Mv3P8JRVUVHLKscqCIAjqgW9W2wY+VaTG8LUS2cx0drEAlmoamXs+oD+P54HP4tk
VDXMIYSJ8UQ3N3KXRTlkMFcGKiQQxososZaTpQiuhG9mEIXQN+WvnzmggoaPo2PU
LqUrt3IGlvNmx80daG7F
=Tmh8
-----END PGP SIGNATURE-----

--r/w8vo2lxBmCPGjQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151103163952.GP21127>