Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp394542rwb; Tue, 25 Jul 2023 18:03:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXCfIfa4ovR91OmI17G2fZkk52WR1iJhT1RtgG1Z+OazKopp1odpEdb4hHIRNHi0hc18Y1 X-Received: by 2002:a17:902:e848:b0:1bb:7b6c:9837 with SMTP id t8-20020a170902e84800b001bb7b6c9837mr584132plg.49.1690333418178; Tue, 25 Jul 2023 18:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690333418; cv=none; d=google.com; s=arc-20160816; b=qV4e251C78fU3W08q9vhYsG3TkplX+FJKckPf8zuzWsXKfD4mPdNfPDWPysYmfeSMe 3Gll0l91cTXU/f9t7wDARxR/BaC+5ebnCu3lKUn0zRvBoaL9RIh63Q57r8T6sDKlcMzW KZ6RR4nfLqECU5vCoaxUR/3EmP+UXECWeKFuAT0B7s+YgKuj/e0CaIqaJWOmPyZsUowx TZlAKX/DzeCTH+1MsmbFpPjgQwqdPWaI4Ubq2EbJP7hL0POXIQUIJeJ4rn3DYvm58/TT AkjIme3CHoGBE51d4Bfnxe5hJbaD4DUZb7BHwWvBLvbfGnPcekU+uBrBy0g4xiKFsope VIAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MntZLPg9Q2TkUipdw5URIw2GbDHNmtTpFo/G9AqaGl8=; fh=nHWXGDI4QOSl5t/1ULnrIK8oAZ+l89rUqNpDH+Yrgj8=; b=RPpr3l/Qlsx+ZiWhWwTub/24jSY9DaogrjcHCccM5JswaG8D1GJdzVHCW4EjmxpZgw wcNFCOnJhq6lYpm6qR/9dUF+wIFYy8+GxnTMBX4Nd7Qx3MywwdkQrdx+O+twKatF5vbU HFUp8nNpcxwdVoUpql3xQLbk6VRAEnRtXw5triYvECoW1B6bCK8rUNbr1doB9irKWzOi VwHv40M59dhMRRqQ/YaL7pgnHmnY3aEWJaxQGOuxm9v0uI/0x0heE7sLhfMSgTH0yFyG Ycg/nA4zu/gZ2Q4iXAZRgHhSUKWtmMH/EUiQE60uM2gJKpbmttXMzu3F/FmHBj7TnU98 IVKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NcnLZAsl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170902d0c900b001b58767a0f7si11165573pln.60.2023.07.25.18.03.25; Tue, 25 Jul 2023 18:03:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NcnLZAsl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230270AbjGYXvG (ORCPT + 99 others); Tue, 25 Jul 2023 19:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjGYXvF (ORCPT ); Tue, 25 Jul 2023 19:51:05 -0400 Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD601E2; Tue, 25 Jul 2023 16:50:57 -0700 (PDT) Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-56368c40e8eso3778499eaf.0; Tue, 25 Jul 2023 16:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690329057; x=1690933857; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MntZLPg9Q2TkUipdw5URIw2GbDHNmtTpFo/G9AqaGl8=; b=NcnLZAsl/ELgMGRZHqKtVn9uEWSI7mXT9tyTc3vBN6zCSfgBl5nNIoHcUbeHj/1bb1 7TVWKeBXM4LVNKY3H4EEIOjYge9df3vlFwHI5CNoqM7xcvxhsu41x9CyjR/s9+wixj5Q OiUwuFf/2P+3gbuIAhnbc0y6qkVIo/7TPUHbRhhemeQF4w15VIgeziXSgkZuBvGvtxky 75O3kuuW/8j7jeeC/gZJihv/Rj6o7OCKwuC6zsTWPp+SuTkt+qSvgZPDcM7pNgSYv5Dl ukVrDRTuD6SWugwpqvBKVt9kQVcW7K0gpLRcQzBha0H4iC5ImojFMbgRPMdTRzsIYpid 42jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690329057; x=1690933857; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MntZLPg9Q2TkUipdw5URIw2GbDHNmtTpFo/G9AqaGl8=; b=ZaEVZaaem8UQtNj/I3fN0WBJfIaoc9RVAlRvtSXbVGffNg5ncm3HcZicvNURYd/QJx wUEzrHGhlGC8IuusRZfKpkDZbiqaNeLaaz+BKyIrqg1rDvXxVx7xgAXGS0OnLMdx0mI+ IB8V1o/vEt4hr1YkDfVViyILAkxCdnHSrkI116dNSkgzgYXkN7/D6dHeStBI+uH3alZI 8AEt0t7vw42nt7LvfgT3pI7598OZufuyux23np3omSuTVGHj+M0wdmjXM+ThmXTdT1WW pG7pzTk5Z1vF/iXAgtVeXJ0LoPAmLexeilTZ6Q6lOBUFKkDoL/2/sBhXqYTlWQ9DPSF7 jMGw== X-Gm-Message-State: ABy/qLaGvmU6ueoIeVQAIdXiGcFxfLvG78cO5FeML809ZFdIHEfxJOFM KQOZQXYHat38uH3+OTichyvN7ce05CTlYQ== X-Received: by 2002:a05:6808:1588:b0:3a4:232c:5d7e with SMTP id t8-20020a056808158800b003a4232c5d7emr476635oiw.5.1690329056959; Tue, 25 Jul 2023 16:50:56 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id rj14-20020a17090b3e8e00b00267fe43f518sm110915pjb.23.2023.07.25.16.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 16:50:56 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id AD3F981944A1; Wed, 26 Jul 2023 06:50:53 +0700 (WIB) Date: Wed, 26 Jul 2023 06:50:52 +0700 From: Bagas Sanjaya To: Andrzej Kacprowski , Krystian Pradzynski , Stanislaw Gruszka , Jacek Lawrynowicz , Oded Gabbay , Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Linux regression tracking (Thorsten Leemhuis)" , hq.dev+kernel@msdfc.xyz, Linus Torvalds Cc: Linux Kernel Mailing List , Linux Regressions , Linux DRI Development , Linux Networking , Linux Intel Ethernet Drivers Subject: Re: Fwd: Unexplainable packet drop starting at v6.4 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OUAsi7azhbgmAo1h" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OUAsi7azhbgmAo1h Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 18, 2023 at 07:51:24AM +0700, Bagas Sanjaya wrote: > Hi, >=20 > I notice a regression report on Bugzilla [1]. Quoting from it: >=20 > > Hi, > >=20 > > After I updated to 6.4 through Archlinux kernel update, suddenly I noti= ced random packet losses on my routers like nodes. I have these networking = relevant config on my nodes > >=20 > > 1. Using archlinux > > 2. Network config through systemd-networkd > > 3. Using bird2 for BGP routing, but not relevant to this bug. > > 4. Using nftables for traffic control, but seems not relevant to this b= ug.=20 > > 5. Not using fail2ban like dymanic filtering tools, at least at L3/L4 l= evel > >=20 > > After I ruled out systemd-networkd, nftables related issues. I tracked = down issues to kernel. > >=20 > > Here's the tcpdump I'm seeing on one side of my node "" > >=20 > > ``` > > sudo tcpdump -i fios_wan port 38851 > > tcpdump: verbose output suppressed, use -v[v]... for full protocol deco= de > > listening on fios_wan, link-type EN10MB (Ethernet), snapshot length 262= 144 bytes > > 10:33:06.073236 IP [BOS1_NODE].38851 > [REDACTED_PUBLIC_IPv4_1].38851: = UDP, length 148 > > 10:33:11.406607 IP [BOS1_NODE].38851 > [REDACTED_PUBLIC_IPv4_1].38851: = UDP, length 148 > > 10:33:16.739969 IP [BOS1_NODE].38851 > [REDACTED_PUBLIC_IPv4_1].38851: = UDP, length 148 > > 10:33:21.859856 IP [BOS1_NODE].38851 > [REDACTED_PUBLIC_IPv4_1].38851: = UDP, length 148 > > 10:33:27.193176 IP [BOS1_NODE].38851 > [REDACTED_PUBLIC_IPv4_1].38851: = UDP, length 148 > > 5 packets captured > > 5 packets received by filter > > 0 packets dropped by kernel > > ``` > >=20 > > But on the other side "[REDACTED_PUBLIC_IPv4_1]", tcpdump is replying p= ackets in this wireguard stream. So packet is lost somewhere in the link. > >=20 > > From the otherside, I can do "mtr" to "[BOS1_NODE]"'s public IP and fou= nd the moment the link got lost is right at "[BOS1_NODE]", that means "[BOS= 1_NODE]"'s networking stack completely drop the inbound packets from specif= ic ip addresses. > >=20 > > Some more digging > >=20 > > 1. This situation began after booting in different delays. Sometimes ca= n trigger after 30 seconds after booting, and sometimes will be after 18 ho= urs or more. > > 2. It can envolve into worse case that when I do "ip neigh show", the i= pv4 ARP table and ipv6 neighbor discovery start to appear as "invalid", mea= ning the internet is completely loss. > > 3. When this happened to wan facing interface, it seems OK with lan fac= ing interfaces. WAN interface was using Intel X710-T4L using i40e and lan s= ide was using virtio > > 4. I tried to bisect in between 6.3 and 6.4, and the first bad commit i= t reports was "a3efabee5878b8d7b1863debb78cb7129d07a346". But this is not r= elevant to networking at all, maybe it's the wrong commit to look at. At th= e meantime, because I haven't found a reproducible way of 100% trigger the = issue, it may be the case during bisect some "good" commits are actually ba= d.=20 > > 5. I also tried to look at "dmesg", nothing interesting pop up. But I'l= l make it available upon request. > >=20 > > This is my first bug reports. Sorry for any confusion it may lead to an= d thanks for reading. >=20 > See Bugzilla for the full thread. >=20 > Thorsten: The reporter had a bad bisect (some bad commits were marked as = good > instead), hence SoB chain for culprit (unrelated) ipvu commit is in To: > list. I also asked the reporter (also in To:) to provide dmesg and request > rerunning bisection, but he doesn't currently have a reliable reproducer. > Is it the best I can do? >=20 > Anyway, I'm adding this regression to be tracked in regzbot: >=20 > #regzbot introduced: a3efabee5878b8 https://bugzilla.kernel.org/show_bug.= cgi?id=3D217678 > #regzbot title: packet drop on Intel X710-T4L due to ipvu boot fix >=20 This time, the bisection points out to v6.4 networking pull, so: #regzbot introduced: 6e98b09da931a0 (also Cc: Linus.) Thanks. --=20 An old man doll... just what I always wanted! - Clara --OUAsi7azhbgmAo1h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZMBf0wAKCRD2uYlJVVFO o+/YAP0Z6eCcYl71Y1kT2UYGDBIwMXXiM7+aR40lhmu0mcdmbAEA9m/ui3/uZX51 DmktMr6iQDC9/1h00DKNiilDimu++go= =+BBU -----END PGP SIGNATURE----- --OUAsi7azhbgmAo1h--