From nobody Fri Jan 02 01:57:43 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dj6Kd3NKVz6M5DM for ; Fri, 02 Jan 2026 01:58:13 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "prime.gushi.org", Issuer "E7" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dj6Kb1fXxz3bXf; Fri, 02 Jan 2026 01:58:11 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=k1PiTLVM; dmarc=pass (policy=none) header.from=gushi.org; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org Received: from smtpclient.apple ([IPv6:2001:500:6b:200:c000:0:0:74a]) (authenticated bits=0) by prime.gushi.org (8.18.1/8.18.1) with ESMTPSA id 6021w0lh005855 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Jan 2026 01:58:01 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 6021w0lh005855 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1767319083; bh=Uc/NI/gCz5T8s0c/keXv9IEKn82YktpKFJmximtaSqQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To; z=Subject:=20Re:=20CURRENT:=20kernel=20panic=20in=20IPFW=20while=20 stopping=20jails|From:=20"Dan=20Mahoney=20(ports)"=20|In-Reply-To:=20|Date:=20Thu ,=201=20Jan=202026=2019:57:43=20-0600|Cc:=20Alastair=20Hogge=20,=0D=0A=20FreeBSD=20User=20,= 0D=0A=20Ronald=20Klop=20,=0D=0A=20FreeBSD=20 CURRENT=20|References:=20=0D=0A=20<6ed6434fce515fb9dab694bb649da95b@ris eup.net>=0D=0A=20|To:=20Gleb=20Smi rnoff=20; b=k1PiTLVM6XcEQHoRkyn1AUdzzLqdySB8cHay6z8S8Cnh6/8yD3/FgacFHPMQtzCKN jM3kaN6cP+QA+7fuq9GEpmSMzup0lTXys0T/d/tyBKiDxSHykE6whIqNhOVEsvrUKX MjoThgvh04ohO+HAPv25BPBZowVhIz5u5pKB8E9RPcMo6ypeLKN4i+WSiC5pLtIOzf wLRBDe/lV02/kPWWo0xNZuRhYjwZ+MxY8c5NYn958+95MXQCug/4ln0Tv8nZEOjijD 7+yrZ44n2h2rpCympsppNdYFBSBNSUe8TY5SAHZqIW5AFxBNIAdPVjEsIRdp2fM/VD nJhDRd+lrwF8g== X-Authentication-Warning: prime.gushi.org: Host [IPv6:2001:500:6b:200:c000:0:0:74a] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: CURRENT: kernel panic in IPFW while stopping jails From: "Dan Mahoney (ports)" In-Reply-To: Date: Thu, 1 Jan 2026 19:57:43 -0600 Cc: Alastair Hogge , FreeBSD User , Ronald Klop , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <6ed6434fce515fb9dab694bb649da95b@riseup.net> To: Gleb Smirnoff X-Mailer: Apple Mail (2.3864.300.41.1.7) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.87 / 15.00]; DWL_DNSWL_LOW(-1.00)[gushi.org:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.57)[-0.567]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; MV_CASE(0.50)[]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+] X-Rspamd-Queue-Id: 4dj6Kb1fXxz3bXf Building now. Sorry for delay, I've been doing a long cross-country = drive. -Dan > On Dec 31, 2025, at 12:00=E2=80=AFPM, Gleb Smirnoff = wrote: >=20 > On Wed, Dec 31, 2025 at 03:06:38AM +0000, Alastair Hogge wrote: > A> > I have found the problem, thanks to Alastair for a core file. > A> >=20 > A> > The problem affects rules with automatic rule numbers and = logging. > A> >=20 > A> > The attached patch should fix the problem, but it is not a final = version. > A>=20 > A> Is there a special patch incantation I should be aware of? I have = tried > A> the patch against both 8e951583936980909d34a6104ace781541fb62b1[1], = and > A> 4fecc8e3fe9408621429777b1028c9afb83c3925[2], and observed the = following: > ... > A> 3 out of 3 hunks failed while patching = sys/netpfil/ipfw/ip_fw_sockopt.c >=20 > The only explanation I have is that your email agent has mangled the = patch. >=20 > A> > Dan & Alastair, if any of you can confirm that the patch heals = your setup - I > A> > will appreciate. > A>=20 > A> I manually patched in your work, and was able to boot a sync'd > A> -CURRENT[2], with logging counters re-enabled, there has been no = panics > A> for ~20 minutes now. >=20 > Great! The patch as is isn't final. I will find out something better = after > the holidays. >=20 > --=20 > Gleb Smirnoff