Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4068140pxb; Fri, 11 Feb 2022 14:34:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw2O2USJlO8F2bdA8QI6a71Q8JcWGr06EduIPgCadHFn2vEpBVTbZ892mpmsxSsidZ1vDm X-Received: by 2002:a17:902:ef49:: with SMTP id e9mr3485138plx.56.1644618881449; Fri, 11 Feb 2022 14:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644618881; cv=none; d=google.com; s=arc-20160816; b=jFX5nm2wj67dNlzfO30T0SbuJ1rM6tbgemztH0ewLV6n6go/Z4vuwXTylELtxp1vQ1 5EODk7ujw3zlSHiUn48PReWZ6B+Jl7CnxUFwBkK06nTmjffaeX1Ct690PB+mpVscDDGB R5UMgMJAb2KP8KdujrryMvtGBUw7anlWRzSSEbOzefkJJIloVBN6FMnqAqwPsvODX5Q2 MRTdTW/bkTGU7Pno7dT3pKoj13AIYy44SoV7IJ8/sNDaqESQLRjkHefSXVGWxrwre/FI LqYTN+7TaKCIYXoKYL5648OHkxCg8QZ91PiS+UOUuHPn1X3kzjZcgzmm2E1JulgFTcbq rZDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=CTKCm88v7qTQ2R8sYmJYejrVwfkvF1N7DAtwHgyHITA=; b=hI7LZtCnwAEF5t1OGxO99Wo9cwvR7ATh/tZl+3WkgmwhK981DNAJuMv57qAqhjgqyv 13kyUqXNuybBUAgin5n36M8pdUK6T/YipS6B2GRSQ1Zxghpm5BJqjIQBkefIjSXivdSu ZZLILKw8E3j0AAdmnHjJl5aWKgQ+21zw67S9F2z0pnWgefbUzV8+kPAANNixGVJHKej8 K71cGDed7pqu4LVWeZ4FSC06eqnJorqGrEbLkJkH9SKDQggjtIz4Rn4mjzlXp79s4zV7 5fpAYzJBW40h7rNjBBG2+FGq30r9bUFMgcGLlK15WcuIoanq8X5egU9HVFrKV/7uSe5z 1+0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PEVvI8lv; 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 n14si4240719plc.385.2022.02.11.14.34.27; Fri, 11 Feb 2022 14:34:41 -0800 (PST) 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=20210112 header.b=PEVvI8lv; 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 S1348933AbiBKKcV (ORCPT + 99 others); Fri, 11 Feb 2022 05:32:21 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348919AbiBKKcS (ORCPT ); Fri, 11 Feb 2022 05:32:18 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 205D1E9E; Fri, 11 Feb 2022 02:32:17 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id d27so10642943wrb.5; Fri, 11 Feb 2022 02:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=CTKCm88v7qTQ2R8sYmJYejrVwfkvF1N7DAtwHgyHITA=; b=PEVvI8lvyG+yyMuME6bK+NTUsE9VvoSvcZ4MFjHGv/9JTjXB5/7gUu/nqdrnmGCQQm OueBhXQhUMI0LuetsVxITm0ROgg7pw0c7ZZHVr44THPeXeuhKDqURax/pVdIgBIpYHXH /ZIgIHxPDXcL9CPWn53STCsmHaIDtxOs5/0TYZ0ShMcOCkZQv3xNmqgPJV4ZwxW0Gqf6 f4QyUzQ4m3Fs50iKseKBV77iMM/V+AYaU94j531twb2pBv+DAXnjekLQHDAqn3WWbV0g 8m2gvpBo505dvgtughe0vKh7kEfe6SOuiXjgRZs1e9Hb3pGCg9MN9YWbjQpWbw7q/abd zgjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=CTKCm88v7qTQ2R8sYmJYejrVwfkvF1N7DAtwHgyHITA=; b=Mtmd2ar1ddz49s29OjxuetvpKv/JnFe3hrL5O7LwzvqdTLYwIxXroLaV7GODJvnF8C o7Ro+bUgCPY62ooCXun3GzM+vs+/hWfd9Nw31rMSxcN78O/vCpXR+dAXdvJ7RFWnhENt GeP63mmER+fpSfVlz7qex4rWmlwKmF7wRjfYQaa7teIuTb+tSJUR6w20nv9WUORfK+bG A1F3p2oZFCOR13BGPQHZcsJ7MgkStmUXYHnGVKZqU7ViCH9PDtr1UBgr3OkD3shTGA6e cPkDAUKZ2vcTcWIaYPJz7Z8JNnLAw3JZaX30WxpuLnvlFSJcjiuqCJIn2a4upfd2BYiH dbig== X-Gm-Message-State: AOAM533GNT32bz6fAVPS0OM7rZo/r6FO80K1YPMbSGSnY5MTNwhmbWo9 TSEUlrewGcCUrWFF6T7yI5U= X-Received: by 2002:a05:6000:137b:: with SMTP id q27mr852318wrz.430.1644575535558; Fri, 11 Feb 2022 02:32:15 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id y15sm30478038wry.36.2022.02.11.02.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 02:32:15 -0800 (PST) Date: Fri, 11 Feb 2022 11:32:13 +0100 From: Corentin Labbe To: hkallweit1@gmail.com, swsd@realtek.com, davem@davemloft.net, kuba@kernel.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: linux-tegra@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: NETDEV WATCHDOG: enp1s0 (r8169): transmit queue 0 timed out Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hello On my tegra124-jetson-tk1, I always got: [ 1311.064826] ------------[ cut here ]------------ [ 1311.064880] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:477 dev_watchdog+0x2fc/0x300 [ 1311.064976] NETDEV WATCHDOG: enp1s0 (r8169): transmit queue 0 timed out [ 1311.065011] Modules linked in: [ 1311.065074] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.16.7-dirty #7 [ 1311.065116] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree) [ 1311.065177] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 1311.065253] [] (show_stack) from [] (dump_stack_lvl+0x40/0x4c) [ 1311.065322] [] (dump_stack_lvl) from [] (__warn+0xd0/0x12c) [ 1311.065379] [] (__warn) from [] (warn_slowpath_fmt+0x90/0xb4) [ 1311.065434] [] (warn_slowpath_fmt) from [] (dev_watchdog+0x2fc/0x300) [ 1311.065493] [] (dev_watchdog) from [] (call_timer_fn+0x34/0x1a8) [ 1311.065554] [] (call_timer_fn) from [] (__run_timers.part.0+0x22c/0x328) [ 1311.065599] [] (__run_timers.part.0) from [] (run_timer_softirq+0x38/0x68) [ 1311.065648] [] (run_timer_softirq) from [] (__do_softirq+0x124/0x3cc) [ 1311.065732] [] (__do_softirq) from [] (irq_exit+0xa4/0xd4) [ 1311.065818] [] (irq_exit) from [] (__irq_svc+0x50/0x80) [ 1311.065860] Exception stack(0xc1101ed8 to 0xc1101f20) [ 1311.065884] 1ec0: 00000000 00000001 [ 1311.065913] 1ee0: c110a800 00000060 00000001 eed889f8 c121eaa0 418a949d 00000001 00000131 [ 1311.065940] 1f00: 00000001 00000131 00000000 c1101f28 c08bbe20 c08bbee8 60000113 ffffffff [ 1311.065962] [] (__irq_svc) from [] (cpuidle_enter_state+0x270/0x480) [ 1311.066031] [] (cpuidle_enter_state) from [] (cpuidle_enter+0x50/0x54) [ 1311.066078] [] (cpuidle_enter) from [] (do_idle+0x1e0/0x298) [ 1311.066133] [] (do_idle) from [] (cpu_startup_entry+0x18/0x1c) [ 1311.066174] [] (cpu_startup_entry) from [] (start_kernel+0x678/0x6bc) [ 1311.066242] ---[ end trace 3df1a997f30c7eb8 ]--- [ 1311.083269] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [ 2671.118597] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [27521.391461] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [47441.629280] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [49046.691475] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [53081.713430] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [55101.737951] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [59351.771382] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [60491.797371] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [61351.805499] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [69631.911327] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [71246.958267] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [86522.110241] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [88507.174307] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [104612.315286] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). [132797.695339] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100). This happen since at least 5.10. Any idea on how to debug this ? Regards