From owner-freebsd-net@freebsd.org Thu Jun 28 22:12:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 405A51029615 for ; Thu, 28 Jun 2018 22:12:26 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 D9BB17123F; Thu, 28 Jun 2018 22:12:25 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4D8AA21AC2; Thu, 28 Jun 2018 18:12:24 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Thu, 28 Jun 2018 18:12:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=cPo3ayRILc/VzNLhP OnIbIkB7qfoYW3fu2Wm+Lasok8=; b=EKIhpwas52XcUoBH1knQjM4i4Yv496jiU FJ9WImSQGE/uL9rCBKtBMzdPJeHc3N3vqykdD3pWbJbuRtGt5GLwBft7UBrZ/U8T ouA+wAOJxY0zoc3uxFXVbkUrcb1s2E74lsA5i+vQxYuQyRaf6hbjZIrCvQ4I913c KuFJ+A7llp7Rhg2x+Xl/AIe1bMuh2Q1bjUl7IxSV6TYY6Pk9PXFLmhCveJxk5uKn hRhA8/2DscXjGRpSOZa7sTcPzo52N7Ee6uanAjHA7zg6ZCj/csWE0vE2CXeGjK4P v3HINCb/cwXaNzcLLF1CJHZIWWu0NVQnikrr+uTCHI+Z02FssfIuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=cPo3ay RILc/VzNLhPOnIbIkB7qfoYW3fu2Wm+Lasok8=; b=U+OalcxpNYsPl8G3CsUEgv 52+Dyrks0yoeh3X18Dz7tgcxWR96izomSrAYChqDusipxPrgnWLmfDMPuUCAxzjB +ToZfU7rB1+k00AsYBB31CocPl5KTubJC5QSct6L3aQ9uTp6SAbgOi+P5OSDQYMt bZGSUDEyvV3G6eydM2bu7zrBiPa1vUCTOkGILqrkhrDjs+eoE8nTK516ilEeuGui fJ/7Am9fuxLZG7PHymUDs5tvxTGaSW17kpWxkaJTNinXCYhc5/uQ0erD+KXx+0d2 wq/p5MKGkhm3L9feiHKUhfZriOkq4RFHPSaa0znyzjQWorCCJdLw0kXy/BRc4/DQ == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id F1B7F4339; Thu, 28 Jun 2018 18:12:23 -0400 (EDT) Message-Id: <1530223943.3605310.1424040368.049B8A09@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Date: Fri, 29 Jun 2018 00:12:23 +0200 Subject: Re: unloading pf causes desktop system to freeze since ~ r335651 [solved] In-Reply-To: <1529999531.2330685.1420550472.409ED830@webmail.messagingengine.com> References: <1529960902.613046.1420067144.3B445531@webmail.messagingengine.com> <1529999531.2330685.1420550472.409ED830@webmail.messagingengine.com> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 22:12:26 -0000 On Tue, 26 Jun 2018, at 09:52, Dave Cottlehuber wrote: > > The HPET NMI watchdog patch was very timely - works a treat: > https://reviews.freebsd.org/D15630 > > > However each time there's no crashdump, & the usual ctrl-alt-esc does't > > work either. > > I bumped my /usr/src to latest HEAD, applied HPET NMI watchdog hack & > after freezing via `service pf stop`, I was rewarded with a coredump > on next reboot; full log: https://git.io/f4Q4P > > [1202] panic: Assertion !in_epoch() && ! > mtx_owned(&(&(*(__typeof(vnet_entry_tcbinfo)*) (((((__curthread())- > >td_vnet))->vnet_data_base) + (uintptr_t)&vnet_entry_tcbinfo)))- > >ipi_lock) failed at /usr/src/sys/netinet/tcp_input.c:802 I narrowed it down to setting this sysctl: net.inet.ip.process_options=0 # ignore IP options in the incoming packets (default 1) and it looks like it was fixed here: r335749 thanks glebius@ https://svnweb.freebsd.org/base/head/sys/netinet/tcp_subr.c?r1=335749&r2=335748&pathrev=335749 I've not had a repeat since building off this. A+ Dave