From nobody Sat Apr 18 13:53:33 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 4fyYB943c8z6Zmt8; Sat, 18 Apr 2026 13:53:37 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4fyYB93CW1z3J02; Sat, 18 Apr 2026 13:53:37 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776520417; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fQIfMT3bNwtCuBV+wx8v64p19rasNkuvafVvhIdIhJY=; b=LIuzFG+84OHV3OcpvovzPa/dnTfet3x9Jt75E2HNCek4HdmwyBHIgFvot7T61deChdVuTl Tbw+HoC46EpW2iEGurUN/Pp5dpDykOfRtvGJ5OCBfbycI86DEBos7ZYiMd2P/aj0ll8tb2 N/N+IDBebylgbSzO7pvE/Ge+yOcdL1O9vcBfx99exWkqmh41V2IM2jbtW2TUaJkTvj1AlD nxwFN6v6FWhMPmivbb1r4GouRo0/zzKXxJg2jPZMEcSxiLkBBV+ZFjr6wbOzlPFEJ+bUWj +9HLHaY5yrIklJ49tPQDICXIUTsS6fg7NCXNHeBmYCXoKv5GugkbZ0qJ9pXZUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776520417; a=rsa-sha256; cv=none; b=JthzUwJCwMJF3FKzvK/GktZXTeCLwes+30RqKvt7WSnDI07U1qs8dY5JUZ2/kUUt4JzBKd g7nwwgT+kCCeMf76qdwih+E/yUiKaacZ/qDFTI/VmqDX22/8+hodlX8zURPNhYaDRc6Zy1 OTYNOCzRrRErz94VMeorrLWxDQc3IOMHmUdX81h+eTsdUedLnvjf7ZtY7Gv8SQ9nC2P7mb 2RSM2betvoJZRn3jamE0FklzLhsw1Nq9wIuEgcASYoQC5c99LbSQP79Dug7I4159jZAovL Ij5xq6eC3KOa0oEo3Do5eM2kpIo23eXMdCRT18qsw5Q0llQxGv8vtQyWcbzgAA== 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=1776520417; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fQIfMT3bNwtCuBV+wx8v64p19rasNkuvafVvhIdIhJY=; b=nJv/5xhtPmWX37orY2uw80IEnFzWqarMS5vqJZuTIJs+slidV8924clnZK3DLn2R1l3YyG Q7vBolHPhQIvQUnXcrrhMTWF7dEGUyITjy1OcfAuKI8OG7rsjDHJkEajNU7khYNvxIETpd Wvq4gmZg2/PN7RUceFEy6LuXzww3V2ZhZnUHTR61xibkwCg2ijkl/rmk1HQVW9aa3Vcp7r QHmOzEyP3hZW+Sdie6WCxxITPTYsTccfJLT1CWq/oPeRhubOiruRqiCAblDYaH5WZEXsTr GNRPJyw/p10pK1xIoT0YVZw85VSDZ9AshJ6mTl3U+rVO3f80lNFbyFjuLmyuJw== Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1101:be00:d835:7117:6c6b:190a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: tuexen) by smtp.freebsd.org (Postfix) with ESMTPSA id 4fyYB86CVmzBkl; Sat, 18 Apr 2026 13:53:36 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Content-Type: text/plain; charset=us-ascii 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.500.181\)) Subject: Re: panic: assertion failed in iflib_txq_drain() From: Michael Tuexen In-Reply-To: Date: Sat, 18 Apr 2026 15:53:33 +0200 Cc: Ricardo Branco , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <9d640ae4-7133-4d4f-917f-d715ab71ee7b@suse.de> To: current@freebsd.org X-Mailer: Apple Mail (2.3864.500.181) > On 18. Apr 2026, at 14:06, David Wolfskill = wrote: >=20 > On Sat, Apr 18, 2026 at 11:47:14AM +0200, Ricardo Branco wrote: >> I'm getting this on FreeBSD-kernel-generic 16.snap20260416224424 >>=20 >> This is happening as soon as I try to ssh to a GMKTec NucBox G3 Plus = with >> Ethernet Controller I226-V. >>=20 >> It also happens when trying to do any TCP connection. Attached = gzipped >> /var/crash/core.txt >>=20 >> panic: Assertion mp !=3D NULL && *mp !=3D NULL failed at >> /home/pkgbuild/worktrees/main/sys/net/iflib.c:3922 cpuid=3D 3 time = 1776500574 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> 0xfffff81078b7450 vpanic at vpanic+0x136/frame 0xfffffe01078b7580 >> panic >> at panic+0x43/frame 0xfffffe01078b75e0 >> iflib_txq_drain at iflib_txq_drain+0x429/frame 0xfffffe81078b7660 >> drain_ring_lockless() at drain_ring_lockless+0x8a/frame = 0xfffffe01078b76b0 >> ifmp_ring_enqueue() at ifmp_ring_enqueue+0x332/frame = 0xfffffe81078b7700 >> .... >=20 > 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? I do see the problem also on one of my machines and local testing shows = that = https://cgit.FreeBSD.org/src/commit/?id=3D3fade68cfdf95ee0b517b5d69b270bd8= da633404 = is the problem. At least reverting it locally resolves the problem. Can you confirm this? Best regards Michael >=20 > In my case, the failure occurred after updating from=20 >=20 > FreeBSD 16.0-CURRENT #547 main-n285122-3b373d484046: Fri Apr 17 = 13:15:23 UTC 2026 = root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENER= IC amd64 1600015 1600015 >=20 > to main-n285179-7e9d974bc023. (As noted, 2 other machines (so far) > updated to main-n285179-7e9d974bc023 without issue.) >=20 > For now, I will reboot the machine to stable/15 (so it can build > packages for tomorrow's weekly update), but once that's done, I'm > happy to poke at it a bit or try out a patch or three, given suitable > clues. >=20 > The panic appears "quite reproducible." :-} >=20 > Peace, > david > --=20 > David H. Wolfskill david@catwhisker.org >=20 > See https://www.catwhisker.org/~david/publickey.gpg for my public key.