From nobody Mon Dec 11 18:49:19 2023 X-Original-To: net@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 4SprPr12Vhz53xFq for ; Mon, 11 Dec 2023 18:49:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SprPq5qnmz4YWF for ; Mon, 11 Dec 2023 18:49:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702320559; a=rsa-sha256; cv=none; b=uyRV+VcKOAR8iOcHNA6On929yLnm+AD7/fH27mGjR2v7SOIrCostgZN6WRwxwUBX3dO7/8 Uu2FwEuoGZNmEQzVN+b0Vu7Vtb3GTLH+Nvxa5iSEh7JdDVhV9pgKAAaueNL4C9IpZylG20 3vmoUyWl7VDK7vh65EuxqvqX/5FIRDJlK1bPlIdc0KuDQvza4mMO/VzHn9VzraYTvrKTon G3RZ+0R9iECeLay6OZAbQWobt4DK+4FtaFM2xIdcJOxM2V8jRz7u/bxfg10lGWOuIXiRxF zbiAKNG+Sme9gkt63izlLGH7IAzxxXfxRWdmwSp75Kw5fax3HHLYROB1kPiDTQ== 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=1702320559; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6jVu+FrnvW+Gya2FjY8nm8PRNP3hYVRh8uz3B2b1NSU=; b=KZ5ixHoy7w279YV5CC8HkpPW+Huk5XGrIleQObxf5mbq8eBn70RUmqRSke7Thwx1l/LVBX PBaArc8RU5tAx6zwRKKULrz1KEsIh5wm+IdIrgr0F+a1dxkTL6zl9QoHNPpJENLNyZ8ckB LPnROXEcQeH8YvpYP0uItLGxa2R91+JHpsr1HDc7BVAJ/QLRmMhPxyhl8X78VkrDHla6Bl c4DmkSMVnGDH6SePQdK/gvuB4qqJvM95xJ8/+GU3go60MRz+J0g3leKgATw6rY552hxQVx mqV4Ck0p9ID7TwnGs+Nu7Rb44mL9SAQylerXbIwRO6ohyaZXXU3Mhnsw9RSolQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SprPq4xVRzhdX for ; Mon, 11 Dec 2023 18:49:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BBInJcW022270 for ; Mon, 11 Dec 2023 18:49:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BBInJcB022269 for net@FreeBSD.org; Mon, 11 Dec 2023 18:49:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 272416] Seldom crash happening with RTL8125 Date: Mon, 11 Dec 2023 18:49:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tino.engel@mail.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272416 --- Comment #7 from Tino Engel --- I had the same problem about a year ago - unfortunately I have forgotten wh= at workaround I used. Anyhow when I look at the source of /usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-d3a7a3d/if_re.c where the problem seems to happen: 7103 #if OS_VER < VERSION(4,9) 7104 /* Remove header from mbuf and pass it on. */ 7105 m_adj(m, sizeof(struct ether_header)); 7106 ether_input(ifp, eh, m); 7107 #else 7108 (*ifp->if_input)(ifp, m); 7109 #endif 7110 RE_LOCK(sc); >From the crash dump stacks, it seems to end up in line 7106, which is betwe= en=20 #if OS_VER < VERSION(4,9) and #else see also Comment #4: #8 ether_input (ifp=3D, m=3D0xffff) at /usr/src/sys/net/if_ethersubr.c:849 That seems wrong to me for FreeBSD 13. See if_rereg.h: #define OS_VER __FreeBSD_version --=20 You are receiving this mail because: You are the assignee for the bug.=