From nobody Sat Apr 18 19:09:42 2026 X-Original-To: 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 4fyhCK3k2qz6WrbY; Sat, 18 Apr 2026 19:10:05 +0000 (UTC) (envelope-from gallatin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fyhCK1jzXz434b; Sat, 18 Apr 2026 19:10:05 +0000 (UTC) (envelope-from gallatin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776539405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ggdz+RAgVtoo/devzUDWmkFNzlwnQf1Jlgi8Z55We6s=; b=SV7X4BpIr6es5JtssWrZY6Qum5IKBBBONHxtFzVnhS9oUIKYik9Z0xR4tW1nqnKUjnIBHB ftwe+ghAHQrLQUA+ujL7U54swIpXLddxj4+oQxYJf5ur6k2bZBVDqcG7AMW5O2VR+2ArIt ttYkvEZ+A3H6vVGiVHsGnFqc8NwVD2lnhVSd7FAeN2pR5ChwEdHLkqI0D9NF1H/+q01heG rLMLfhPyJmced+0+BwsEvUZIRboOLYA6lrD2UQWLl71XCu7nyTi6U6M88uNeseg08wx/XO 5PFVf1ol4unRdiCWOoWmhclqZfFgYvTeYoa8V9nY+PASnO71FjG9Vq0dUis5nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776539405; a=rsa-sha256; cv=none; b=V754JeGYfKvVQNooswawFaokmuv9+Fvwvm+D30vVJCf/H417Tk/5HUUO2+1yvWbz9vMqM/ ED9Vc1WOUBeyiBuiGwpUAZWYwZUHTtX4CRcpSEMD9C7410hBDNurd4kXPY3e4HWrI8tqMM L0juS91LtRJgC9IrRzraI3YqfbKPZdS2dENM7YRuqN6kSYAjigvkmR7H5c3cP73b/Qdicg 7gJIdMpQMmD4Hfm7s/kUBkgLLMAa8dX4DZj75J+ZMy+sXCibg1FM6wLalxn3tVK/KsLSJe L3cxlMAzjYk5d8wUuuayTbt8RXMJNm1C81BHpnrCeg1iWbXL9WccMQYB4dRwZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776539405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ggdz+RAgVtoo/devzUDWmkFNzlwnQf1Jlgi8Z55We6s=; b=USz5QLA9zqtm6wt3/Kz22q+N3jhqxl/vO6ipIqWNj1acmgfc51ZTCWnPtKl6ZTehydx9JC mzFd7jyWZNsRkI7Z7Wad8FeaQ2S7YXaDx5tN/Ju4pxJcNKQvtdNh4U8YLp0dKNTMBiFipD Kokd8aUX4fMRSffrB8Z7fpE5I8z029UR0+UVWjO4Dnu8MUy/+r2xQhnkUGE4NrsNnHmaJy wP3MBUNZXihxm+ez7D2KHQLdPwonbPcDerbiR3qZsOqGic1Gvw8dmm2abocGNNV2m+Lf7r fTfYDfQ37f5bRcBarcyv4TcxM4MJaHeJL4bgfa0zMbdOSRsow+LdfLJl9GKv2w== Received: from fauth-a1-smtp.messagingengine.com (fauth-a1-smtp.messagingengine.com [103.168.172.200]) (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 did not present a certificate) (Authenticated sender: gallatin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4fyhCJ6sV6zJjR; Sat, 18 Apr 2026 19:10:04 +0000 (UTC) (envelope-from gallatin@freebsd.org) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfauth.phl.internal (Postfix) with ESMTP id 46179F4006D; Sat, 18 Apr 2026 15:10:04 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-05.internal (MEProxy); Sat, 18 Apr 2026 15:10:04 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdehfeehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtsegrtderreertddtnecuhfhrohhmpedfffhrvgifucfi rghllhgrthhinhdfuceoghgrlhhlrghtihhnsehfrhgvvggsshgurdhorhhgqeenucggtf frrghtthgvrhhnpeehjedvgedttdejtdegjeeiieekudeutdefgeekudekgfevtdefhfel fffggeelhfenucffohhmrghinhepfhhrvggvsghsugdrohhrghdptggrthifhhhishhkvg hrrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepghgrlhhlrghtihhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddufe efheelvddvudeiqddvleehtdegudekgedqghgrlhhlrghtihhnpeepfhhrvggvsghsugdr ohhrghesfhgrshhtmhgrihhlrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhgpdhr tghpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrghdprh gtphhtthhopehtuhgvgigvnhesfhhrvggvsghsugdrohhrghdprhgtphhtthhopehrsghr rghntghosehsuhhsvgdruggv X-ME-Proxy: Feedback-ID: i41414658:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CFFD9700065; Sat, 18 Apr 2026 15:10:03 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface 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 X-ThreadId: APgOGAU08yF- Date: Sat, 18 Apr 2026 15:09:42 -0400 From: "Drew Gallatin" To: tuexen , current@freebsd.org Cc: "Ricardo Branco" , freebsd-current@freebsd.org Message-Id: <3b60c3e6-f53f-4084-a435-fe5371c56e58@app.fastmail.com> In-Reply-To: References: <9d640ae4-7133-4d4f-917f-d715ab71ee7b@suse.de> Subject: Re: panic: assertion failed in iflib_txq_drain() Content-Type: multipart/alternative; boundary=de29220a76d19c76af1d1ba6f005ef33c6782576 --de29220a76d19c76af1d1ba6f005ef33c6782576 Content-Type: text/plain Content-Transfer-Encoding: 7bit Sorry, looking into this now. I did not test this change with the mp_ring path.. i don't see how fixing the counters could cause this panic. Looking at it now.. Drew On Sat, Apr 18, 2026, at 1:38 PM, Michael Tuexen wrote: > > On 18. Apr 2026, at 19:14, David Wolfskill wrote: > > > > On Sat, Apr 18, 2026 at 03:53:33PM +0200, Michael Tuexen wrote: > >> ... > >>> So... one of the machines on which I track head got this, as well -- my > >>> (mostly-)headless build machine. (2 laptops, updated in sync with the > >>> build machine, did not panic. One of those also uses a wired NIC.) > >> Do the network drivers of the machines not being affected use iflib? > > > > Apparently not -- they are em(4), iwm(4), & iwn(4), while the panicking > > machine uses igb(4). > > > >> I do see the problem also on one of my machines and local testing shows that > >> https://cgit.FreeBSD.org/src/commit/?id=3fade68cfdf95ee0b517b5d69b270bd8da633404 > >> is the problem. At least reverting it locally resolves the problem. > >> Can you confirm this? > > > > I can, and do: after reverting main-n285140-3fade68cfdf9 & rebuilding, > > I am able to ssh in without issue; the machine reports: > > > > freebeast(16.0-C)[2] uname -aUK > > FreeBSD freebeast.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #549 main-n285180-23a84efeb191: Sat Apr 18 17:01:25 UTC 2026 root@freebeast.catwhisker.org:/common/S3/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1600015 1600015 > > > > Thanks! > You could also disable TSO. I will put up a review for a fix soon. > > Best regards > Michael > > > > Peace, > > david > > -- > > David H. Wolfskill david@catwhisker.org > > > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > > > --de29220a76d19c76af1d1ba6f005ef33c6782576 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Sorry, looki= ng into this now.  I did not test this change with the mp_ring path= .. i don't see how fixing the counters could cause this panic.  &nb= sp;Looking at it now..

Drew

On Sat, Apr 18, 2026, at 1:38 PM, Michael Tuexen wrote:
> On 18. Apr 2026, at = 19:14, David Wolfskill <david= @catwhisker.org> wrote:
> On Sa= t, Apr 18, 2026 at 03:53:33PM +0200, Michael Tuexen wrote:
>= ;> ...
>>> So... one of the machines on which I tr= ack head got this, as well -- my
>>> (mostly-)headles= s build machine.  (2 laptops, updated in sync with the
&g= t;>> build machine, did not panic.  One of those also uses a = wired NIC.)
>> Do the network drivers of the machines no= t being affected use iflib?
> Apparent= ly not -- they are em(4), iwm(4), & iwn(4), while the panicking
> machine uses igb(4).
>> = I do see the problem also on one of my machines and local testing shows = that
>> https://cgit.FreeBSD= .org/src/commit/?id=3D3fade68cfdf95ee0b517b5d69b270bd8da633404 <<= a href=3D"https://cgit.freebsd.org/src/commit/?id=3D3fade68cfdf95ee0b517= b5d69b270bd8da633404">https://cgit.freebsd.org/src/commit/?id=3D3fade68c= fdf95ee0b517b5d69b270bd8da633404>
>> is the probl= em. At least reverting it locally resolves the problem.
>&g= t; Can you confirm this?
> I can, and = do:  after reverting main-n285140-3fade68cfdf9 & rebuilding,
> I am able to ssh in without issue; the machine reports:
> freebeast(16.0-C)[2] uname -aUK
> FreeBSD freebea= st.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #549 main-n28518= 0-23a84efeb191: Sat Apr 18 17:01:25 UTC 2026    &nbs= p;root@freebeast.catwhi= sker.org:/common/S3/obj/usr/src/amd64.amd64/sys/GENERIC amd64 160001= 5 1600015
> Thanks!
You coul= d also disable TSO. I will put up a review for a fix soon.
Best regards
Michael
> Peace,
> david
> -- 
>= ; David H. Wolfskill        &nbs= p;           &nbs= p;         david@catwhisker.org



=

--de29220a76d19c76af1d1ba6f005ef33c6782576--