From nobody Sat Apr 18 19:25:48 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 4fyhYt14cZz6WspG; Sat, 18 Apr 2026 19:26:10 +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 4fyhYs5wsPz48tr; Sat, 18 Apr 2026 19:26:09 +0000 (UTC) (envelope-from gallatin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776540369; 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=71gNs8kHE8rmkmuz9+v4P/4TEFnpRtuhxj6BhoAduv8=; b=sEBhi4Z+c06UhufUWmEoKcNlFrohJySFeB+8IrAdtkFsPgcb+rTrF3YB+FlkNrfOb/BaRN eBtBT/vCLZoV05+XB1Jgk44BmiJ4nBxHKeCHhV49LbO6yQFRrhNGVFtGo4KX4etg/pPi0P n7ahtXEY0fi2Wyaa1SBrSs2u55RT7fYmRE6aN+l8eTP3Mi3Ncv6a7V4zuYkxjpH9RM+IJ+ QopSlLzqcALAu9VtgmF7DsO5n+IYV52ltwZipe85/Vw9qs8p1M1n+qXbRcFmdkUHjOm8ca 1ABc4hz53f/KJjzxNwiHEusGBUUcXT5XGKGDzzv9J/LQ4mZrabe8MHa3KdVX7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776540369; a=rsa-sha256; cv=none; b=O0R2xo0gifbhXMkkYPFeMsq/wiq8GcGuSpJdrFi34Soy5RSO20yNzgsqSMgjCzsuWgGTwg 1dW+va9ehR6sMG8AIlXKQS+HQp9fQtzX40aUbU2cY/jOxfZCAc79ZIhNsJVp6KLxsuzO6p JWo/a0HMYncq7CwUadettVasDOe0fXPDxSl3Iyt3oSCYuPPPaJoxWLuYCEP1j2BrLDo02Y LdpepaFWG4GeXpQEhm+x/w8V7IllC2YCFzLCHaDVJcVBTquvqx9bY349ca/3VEKbpapDSa C+CNNf+cyZPguN4x9qLbNhue6s4im70jLMTOpNbKmALSBIfzyN5JHvDyLYAw7g== 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=1776540369; 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=71gNs8kHE8rmkmuz9+v4P/4TEFnpRtuhxj6BhoAduv8=; b=l4fTEutgIRwmulIYVnWTl5fyhqlyctl9DtS5usXUo/fHtjxYLgca0UgELL3stRD1f0Z/M/ 4AQvgo+gOjYWRkknWZrbRUTfpLI7Q7yioXC59ACwTVEc/wVmJPcX0QsLgUyMnDjdmxJ7Kp X2Q5M6aAWbaMeydgpxBt//JMjois/ptUNQlg1BUcaA1GL0mEa/e73jBHWaaM0F5o8S9Q7s F+QrCQ5GWNoXfvJIIdHpNl5mjYMMRjYfRrzLpO39ybjIl+dOj/tfEFn8l1LoeJbTE5Tf6Q 4DtoA3+DsFwEwgp0Ufwnew8FBJo20xSp76Rv9xrBJKAcb3q8/vkPQu2nGQCooQ== 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 4fyhYs4wXYzJ8D; Sat, 18 Apr 2026 19:26:09 +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 46082F40068; Sat, 18 Apr 2026 15:26:09 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-05.internal (MEProxy); Sat, 18 Apr 2026 15:26:09 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdehfeeitdcutefuodetggdotefrod 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 1FFB8700065; Sat, 18 Apr 2026 15:26:09 -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:25:48 -0400 From: "Drew Gallatin" To: tuexen Cc: current@freebsd.org, "Ricardo Branco" , freebsd-current@freebsd.org Message-Id: <432c4416-4783-4c7e-8e64-4b440672a355@app.fastmail.com> In-Reply-To: References: <9d640ae4-7133-4d4f-917f-d715ab71ee7b@suse.de> <3b60c3e6-f53f-4084-a435-fe5371c56e58@app.fastmail.com> Subject: Re: panic: assertion failed in iflib_txq_drain() Content-Type: multipart/alternative; boundary=dda45f7b44245c72920294bf51ead7d7a5817a31 --dda45f7b44245c72920294bf51ead7d7a5817a31 Content-Type: text/plain Content-Transfer-Encoding: 7bit Indeed, that looks reasonable, and I see how the packet count was overloaded before. Testing it now. Drew On Sat, Apr 18, 2026, at 3:12 PM, Michael Tuexen wrote: > > On 18. Apr 2026, at 21:09, Drew Gallatin wrote: > > > > 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.. > Hi Drew, > > I think https://reviews.freebsd.org/D56509 fixes it. > > Best regards > Michael > > > > 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. > >> > >> > >> > > > > --dda45f7b44245c72920294bf51ead7d7a5817a31 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Indeed, that= looks reasonable, and I see how the packet count was overloaded before.=   Testing it now.

Drew

On Sat, Apr 18, 2026, at 3:12 PM, Michael Tuexen wrote:
> On 18. Apr 2026, at = 21:09, Drew Gallatin <gallati= n@freebsd.org> wrote:
> 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..
Hi Drew,


Best regar= ds
Michael
> Drew
= > 
> On Sat, Apr 18, 2026, at 1:38 PM, Michael Tuex= en wrote:
>> 
>> 
&g= t;> > On 18. Apr 2026, at 19:14, David Wolfskill <david@catwhisker.org> 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-)he= adless build machine.  (2 laptops, updated in sync with the
>> >>> build machine, did not panic.  One of thos= e also uses a wired NIC.)
>> >> Do the network dri= vers of the machines not being affected use iflib?
>> &g= t; 
>> > Apparently not -- they are em(4), iwm(4= ), & iwn(4), while the panicking
>> > machine use= s igb(4).
>> > 
>> >> I do= see the problem also on one of my machines and local testing shows that=
>> >>= ; is the problem. At least reverting it locally resolves the problem.
>> >> Can you confirm this?
>> >&= nbsp;
>> > I can, and do:  after reverting main-= n285140-3fade68cfdf9 & rebuilding,
>> > I am able= to ssh in without issue; the machine reports:
>> >&n= bsp;
>> > freebeast(16.0-C)[2] uname -aUK
&= gt;> > FreeBSD fr= eebeast.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #549 main-n= 285180-23a84efeb191: Sat Apr 18 17:01:25 UTC 2026    = ; root@freebeast.c= atwhisker.org:/common/S3/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1= 600015 1600015
>> > 
>> > Tha= nks!
>> You could also disable TSO. I will put up a revi= ew for a fix soon.
>> 
>> Best rega= rds
>> Michael
>> > 
&= gt;> > Peace,
>> > david
>> >= ; -- 
>> > David H. Wolfskill   &= nbsp;           &= nbsp;           &= nbsp;  david@catwhiske= r.org
>> > 
&g= t;> 
>> 
>> 



--dda45f7b44245c72920294bf51ead7d7a5817a31--