From nobody Sun Dec 21 04:09:02 2025 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 4dYnpX2JYJz6LXCs for ; Sun, 21 Dec 2025 04:09:24 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yx1-xb129.google.com (mail-yx1-xb129.google.com [IPv6:2607:f8b0:4864:20::b129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dYnpX07q0z3x9W for ; Sun, 21 Dec 2025 04:09:24 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yx1-xb129.google.com with SMTP id 956f58d0204a3-6455a60c11fso2227933d50.2 for ; Sat, 20 Dec 2025 20:09:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766290158; x=1766894958; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p5WoJCowiSzz5cdKI7DGlSqYIrMJxgsEVhJ12AMxubo=; b=PrLRUeHNAt8Le+oBaZ34JAcdIjDwzCC7EE8RqaRlep/3F/ZKbLZWapxLhPg/8+A6z/ QGRzG7qC5e5RO+teoJ6c1SayKcbTDcaAUXRWCKCy8Ko28FCCMtlf57Ck9+kJsXDh4ldN wL37uluBoClnSpdn/OH4zTlNzXuh9d5X1JLcMvqHHLARtOEGGUzOS/VSREkeOzyKB+qZ zHxno5kYjWOaHYOdR4L8h/9NIsB/pQupsD2EYOEZ20sAfoPIsclaLzusYweusieS3SRn Jgj2TjUuKo5dv0A1PV4sM8JlXj7N/QG8T298de4OrF6Mv8l9+yjjjbZ7guHrU6TzU2rA +13Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766290158; x=1766894958; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p5WoJCowiSzz5cdKI7DGlSqYIrMJxgsEVhJ12AMxubo=; b=N8Kx5ToT9PAHzQ4Oe+RoYex7KMjN75MQ2Wac6Q0mfjOL1bxDitpceYxoZOlOepL8OK FlHiYGGJZVbV6meh48oytFzRij28Di14Go/cUHAu+2Vv6yvBi2YwuTwlyvaXhQWXMcEC jl4awSg8Jd1jF1ltQhMiaUPkomMihjLo/gLYgAB6rp3bdXrWtyXz9AmJg0RuOu5lNeN+ zJIb5fsxqOk5gSrNCpCnGcNj4EQQ9bN9A2JWR8zn9FU5v+jXyXfgi2wS0MbZ7dOxo3nf GyKhWQrsMV2UbDHl5SmwYqTjSjaMyj5nob7CV6aB68CzTFZEdVOct7RuoUKl24DKSuWY O3mw== X-Gm-Message-State: AOJu0Yz5IQnHEXkfSH2wyaALAWTGOVFZuy76FxLflm4O09hJRF59c+Lh hCjpWRnRpc8b8vHNt1WERw0GmGdk5KLMZZHuXeMn08Xq+eecrkL2n/EmrEoM/YtaEQJlvSL46xG 0i4dGzqjGMW2E5yhTh0GpoWsGngxzxoFtWtoXEjw= X-Gm-Gg: AY/fxX7L1alz09tgd1N88LLuACV4Un9b5Nb2ma3PDEtCY5Wqb5VP2hPeFM+MtieOuT0 FZAMOHFBwXGkQL0XtH0XKLosxO8mvIr7rUwq3UNR7K/Q/cuSIg/Ss914VeQhEXJHLDAlL1ilR2r DBg3+vzTnvHMxEi5bjwLhW+qo/bLu0sC51r6crFFuC4xtkNC6lUXwfm69h+6//dDqHCFgUznkiY FXIDYKYM4mtmLl3+seIlTQKhRbLKN4+e7mCFnzHjEZwd5nCs6GazW/i7uBZbb11jZFPKU1P X-Google-Smtp-Source: AGHT+IGrnZN31wOW5wwfAKErp5P+b2TOc026rWv3YBqePMJl1J+q+Q3CGXMHG/On20UFS2qqNh7aUbfJaG2flhfzAKM= X-Received: by 2002:a05:690e:1a92:b0:646:5127:9d0a with SMTP id 956f58d0204a3-6466a8d8001mr4520832d50.81.1766290158252; Sat, 20 Dec 2025 20:09:18 -0800 (PST) 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 References: <1163988110.212299.1766221725540@localhost> In-Reply-To: <1163988110.212299.1766221725540@localhost> From: Kevin Oberman Date: Sat, 20 Dec 2025 20:09:02 -0800 X-Gm-Features: AQt7F2pq7m6FbPbTfwsg1wU65EyGF5xtjRA04pNTaqeJOhAqNqFxqMuwDpRbpG4 Message-ID: Subject: Re: Panic during boot on assertion in ipfw strtup To: Ronald Klop Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000073f82306466e7918" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dYnpX07q0z3x9W --00000000000073f82306466e7918 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 20, 2025 at 1:08=E2=80=AFAM Ronald Klop = wrote: > There were changes to bpf. Maybe try those. > > Regards, > Ronald > > *Van:* Kevin Oberman > *Datum:* 20 december 2025 06:24 > *Aan:* FreeBSD Current > *Onderwerp:* Panic during boot on assertion in ipfw strtup > > As of current as of Dec 16 21:22:39 UTC 2025 m system panics when > starting ipfw. was not happening on 2f29d0f3e6d2 on Saturday Dec 13. I > tried to get a dump, but the system did an immediate reboot when I tried > 'panic'. Here is the panic output: > Dec 19 07:12:30 ptavv kernel: ipfw2 (+ipv6) initialized, divert loadable, > nat loadable, default to deny, logging disabled > Dec 19 07:12:30 ptavv kernel: panic: Assertion tap->rule =3D=3D rule fail= ed at > /usr/src/sys/netpfil/ipfw/ip_fw_bpf.c:86 > Dec 19 07:12:30 ptavv kernel: cpuid =3D 11 > Dec 19 07:12:30 ptavv kernel: time =3D 1766124707 > Dec 19 07:12:30 ptavv kernel: KDB: stack backtrace: > Dec 19 07:12:30 ptavv kernel: db_trace_self_wrapper() at > db_trace_self_wrapper+0x2b/frame 0xfffffe00eb3d3900 > Dec 19 07:12:30 ptavv kernel: vpanic() at vpanic+0x136/frame > 0xfffffe00eb3d3a30 > Dec 19 07:12:30 ptavv kernel: panic() at panic+0x43/frame > 0xfffffe00eb3d3a90 > Dec 19 07:12:30 ptavv kernel: ipfw_tap_alloc() at > ipfw_tap_alloc+0x2f7/frame 0xfffffe00eb3d3ac0 > Dec 19 07:12:30 ptavv kernel: add_rules() at add_rules+0x137/frame > 0xfffffe00eb3d3b30 > Dec 19 07:12:30 ptavv kernel: ipfw_ctl3() at ipfw_ctl3+0x365/frame > 0xfffffe00eb3d3ce0 > Dec 19 07:12:30 ptavv kernel: sogetopt() at sogetopt+0x15a/frame > 0xfffffe00eb3d3d40 > Dec 19 07:12:30 ptavv kernel: kern_getsockopt() at > kern_getsockopt+0xb5/frame 0xfffffe00eb3d3dd0 > Dec 19 07:12:30 ptavv kernel: sys_getsockopt() at > sys_getsockopt+0x52/frame 0xfffffe00eb3d3e00 > Dec 19 07:12:30 ptavv kernel: amd64_syscall() at amd64_syscall+0x169/fram= e > 0xfffffe00eb3d3f30 > Dec 19 07:12:30 ptavv kernel: fast_syscall_common() at > fast_syscall_common+0xf8/frame 0xfffffe00eb3d3f30 > Dec 19 07:12:30 ptavv kernel: --- syscall (118, FreeBSD ELF64, > getsockopt), rip =3D 0x1d91f7dd13da, rsp =3D 0x1d91f513d1a8$ > Dec 19 07:12:30 ptavv kernel: KDB: enter: panic > > I saw no commits to netpfilt that look like candidates during hte three > day window, so I suspect that it is triggered by some other part of the > ipfw start. > > I can do a bisect if nothing else seems useful. I'm afraid that I don't > have a hash for the one that is the initial failure on Dec 16, so I'll t= ry > to track down something close. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > Thnks, Ronald, but I bisected the and tracked the culprit looks like 3daae1ac1d82ecdcd855101bab5206e914b1235. While I have not looked at the details of the commit, it certainly looks likely to be the issue. I have submitted 291854 now that I have found it. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --00000000000073f82306466e7918 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Dec 20, 2025 at 1:08=E2= =80=AFAM Ronald Klop <ronald-lis= ts@klop.ws> wrote:
There wer= e changes to bpf. Maybe try those.=C2=A0

Regards,
<= div>Ronald

Van: Kevin Oberman <rkoberman@gmail.com>Datum: 20 december 2025 06:24
Aan: FreeBSD Current <freebsd-curr= ent@freebsd.org>
Onderwerp: Panic during boot on assertion= in ipfw strtup

As o= f current as of=C2=A0Dec 16=C2=A0=C2=A021:22:39 UTC 2025 m system panics wh= en starting ipfw. was not happening on=C2=A02f29d0f3e6d2 on Saturday Dec 13= . I tried to get a dump, but the system did an immediate reboot when I trie= d 'panic'. Here is the panic output:
Dec 19 07:12:30 ptavv kernel: ipfw2 (+i= pv6) initialized, divert loadable, nat loadable, default to deny, logging d= isabled
Dec 19 07:12:30 ptavv kernel: panic: Assertion tap->rule =3D= =3D rule failed at /usr/src/sys/netpfil/ipfw/ip_fw_bpf.c:86
Dec 19 07:12= :30 ptavv kernel: cpuid =3D 11
Dec 19 07:12:30 ptavv kernel: time =3D 17= 66124707
Dec 19 07:12:30 ptavv kernel: KDB: stack backtrace:
Dec 19 0= 7:12:30 ptavv kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b= /frame 0xfffffe00eb3d3900
Dec 19 07:12:30 ptavv kernel: vpanic() at vpan= ic+0x136/frame 0xfffffe00eb3d3a30
Dec 19 07:12:30 ptavv kernel: panic() = at panic+0x43/frame 0xfffffe00eb3d3a90
Dec 19 07:12:30 ptavv kernel: ipf= w_tap_alloc() at ipfw_tap_alloc+0x2f7/frame 0xfffffe00eb3d3ac0
Dec 19 07= :12:30 ptavv kernel: add_rules() at add_rules+0x137/frame 0xfffffe00eb3d3b3= 0
Dec 19 07:12:30 ptavv kernel: ipfw_ctl3() at ipfw_ctl3+0x365/frame 0xf= ffffe00eb3d3ce0
Dec 19 07:12:30 ptavv kernel: sogetopt() at sogetopt+0x1= 5a/frame 0xfffffe00eb3d3d40
Dec 19 07:12:30 ptavv kernel: kern_getsockop= t() at kern_getsockopt+0xb5/frame 0xfffffe00eb3d3dd0
Dec 19 07:12:30 pta= vv kernel: sys_getsockopt() at sys_getsockopt+0x52/frame 0xfffffe00eb3d3e00=
Dec 19 07:12:30 ptavv kernel: amd64_syscall() at amd64_syscall+0x169/fr= ame 0xfffffe00eb3d3f30
Dec 19 07:12:30 ptavv kernel: fast_syscall_common= () at fast_syscall_common+0xf8/frame 0xfffffe00eb3d3f30
Dec 19 07:12:30 = ptavv kernel: --- syscall (118, FreeBSD ELF64, getsockopt), rip =3D 0x1d91f= 7dd13da, rsp =3D 0x1d91f513d1a8$
Dec 19 07:12:30 ptavv kernel: KDB: ente= r: panic

I saw no commits=C2=A0to netpfilt=C2=A0that look like candidates=C2= =A0during hte three day window, so I suspect that it is triggered by some o= ther part of the ipfw start.

I can do a bisect if nothing else seems useful. I'm afr= aid that I don't have a hash for the one that is the initial failure on= Dec 16, so I'll=C2=A0 try to track down something close.
--
Kevin Oberman, Part time kid herd= er and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerpr= int: D03FB98AFA78E3B78C1694B318AB39EF1B055683
=
Thnks, Ro= nald, but I bisected the and tracked the=C2=A0culprit looks like 3da= ae1ac1d82ecdcd855101bab5206e914b1235. While I have not looked at the detail= s of the commit, it certainly looks=C2=A0likely to be the= issue.

I have submitted=C2=A0=C2=A0291854=C2=A0now that I have found it.
--
Kevin Oberman, Part time kid herder an= d retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: = D03FB98AFA78E3B78C1694B318AB39EF1B055683
--00000000000073f82306466e7918--