From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8196AC43381 for ; Sun, 10 Mar 2019 19:02:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 49D9520657 for ; Sun, 10 Mar 2019 19:02:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WgjMqDgk" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726870AbfCJTC0 (ORCPT ); Sun, 10 Mar 2019 15:02:26 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:35371 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbfCJTC0 (ORCPT ); Sun, 10 Mar 2019 15:02:26 -0400 Received: by mail-lf1-f65.google.com with SMTP id h6so1799265lfc.2 for ; Sun, 10 Mar 2019 12:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bIg1LmJTnBM54us4e/PzXqkXKJDeZqGodI7XkVCERug=; b=WgjMqDgkyCuRTYLPtYKhUxxzDj5tdbcuLHd6nT0Y/rAWrq7CursNGnSssbNhceHod2 cuaZ/gTtpbIkCpbnrQQhxxb/OLSkVjBU+pa/oTFVyAYeSiuRzT+qFkmWGfWNuguhadJl tyDTdyNG8NpnSpd+9C2A+8mA1SlEmPdD5S0Ce4tVVcn6W2fqqEBepRzlZ86XWGYKxUdA fnerQ8FYePZmVzHZ906eE+glrcGEcZSnl3BW30kB4/lt2043C6UbSldfSGSObYVom6oY lYVdss7Y5chIXZYCFL/Fn034ujNi0x6OREfWkPJryVO1xTsLI7a2o261ErvG6AGMYlu1 vjBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bIg1LmJTnBM54us4e/PzXqkXKJDeZqGodI7XkVCERug=; b=bhIvlqygnq5o6pLL/aKtvwcGoYGesxp7+18lXwKTgGGRYXXBLOmxXapsZjnQsR6EER G08Q14VkTG1D0QbT8RfkfvaQh7OFrIoPIRPtFlYIVmJpWiINRjWOvi68N0Ky1HHpO3XY KjBYY1EoWxMV+pM3QAoagCaYYoFIWhQMk4LRapIP45af855BeFsso+3ol5AoWDI66Y24 7xs4nGq15Ju71MYOORDO8TiHDpUFLhLoCYCn8HQuy6bWD5s5FBFvK+Yf+QWgj+v3o5/E afHoMU/fCxLW0JOb0qnRnZFVb+mO5J48ixx2/8qKVGS0cmrpKi45sl2DEKNY9+XSVyfs +7Ew== X-Gm-Message-State: APjAAAV3C+d95zrD3xqpIzLheTMuHpJBzYuIgGNReqB5rFiLDJzJ2DEe riTXowA6xYJQZ6BfhMpTpqEeNFkvUArps4faqSOTZ0N0o4Y= X-Google-Smtp-Source: APXvYqzUndHWV6HoCrL7bem2Wt206ucSwXoSlsWLeUE7vb4olxCHIonOf+JnNvcCe6rybewl1nflpi8sor4RxP7J4A8= X-Received: by 2002:ac2:42da:: with SMTP id n26mr9450609lfl.91.1552244543039; Sun, 10 Mar 2019 12:02:23 -0700 (PDT) MIME-Version: 1.0 From: VDR User Date: Sun, 10 Mar 2019 12:02:10 -0700 Message-ID: Subject: r8169 driver from kernel 5.0 crashing To: netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, after updating to kernel 5.0, the nic driver (r8169) has been crashing whenever I start using heavy traffic on it (for example, xferring large files to the box across my lan). The destination harddrive may be sleeping and need to spin-up, or not, but the box itself does not suspend/hibernate. The nic becomes completely unresponsive and all connections to the box drop. After what I think is several minutes, the connection comes back to life. The problem happens consistently but seemingly not consistently at the same point. For example, I can xfer a few 4gb files and it will crash at around 2-3gb on the first file. The next time it might not crash until 2-3gb on the second file.Prior to kernel 5.0 I was using 4.19.12 and this problem didn't occur. I have since downgraded back to 4.19.12 pending what response this post gets. Thanks for any help or assistance on how to proceed! -Derek NOTE: I'm not subscribed to this mailing list so please CC me on any replies! The nic is on-board ECS A75F-A: 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) Subsystem: Elitegroup Computer Systems RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: r8169 I see the following in the syslog: [164572.785517] ------------[ cut here ]------------ [164572.785595] NETDEV WATCHDOG: enp4s0 (r8169): transmit queue 0 timed out [164572.785677] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:461 dev_watchdog+0x1bb/0x1e0 [164572.785730] Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ohci_pci snd_hda_intel snd_hda_codec snd_hwdep xhci_pci ehci_pci ohci_hcd xhci_hcd ehci_hcd usbcore usb_common snd_hda_core snd_pcm snd_timer snd soundcore nfsd auth_rpcgss oid_registry lockd grace sunrpc ip_tables x_tables ipv6 [164572.785807] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.0.0-amd #2 [164572.785842] Hardware name: ECS A75F-A/A75F-A, BIOS 4.6.5 09/14/2011 [164572.785878] EIP: dev_watchdog+0x1bb/0x1e0 [164572.785912] Code: 8b 50 3c 89 f8 e8 3d aa 0a 00 8b 7e f4 eb a4 89 f8 c6 05 e7 1c 6d c1 01 e8 72 4f fd ff 53 50 57 68 78 05 66 c1 e8 25 ad ba ff <0f> 0b 83 c4 10 eb c9 eb 1c 8d b4 26 00 00 00 00 8d b4 26 00 00 00 [164572.785963] EAX: 0000003b EBX: 00000000 ECX: 00000800 EDX: 00000103 [164572.785998] ESI: f4cbc264 EDI: f4cbc000 EBP: f4c99f74 ESP: f4c99f4c [164572.786033] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00210296 [164572.786067] CR0: 80050033 CR2: 020dc000 CR3: 2b80b000 CR4: 00000690 [164572.786102] Call Trace: [164572.786135] [164572.786168] ? qdisc_put_unlocked+0x40/0x40 [164572.786203] call_timer_fn+0x19/0xa0 [164572.786237] run_timer_softirq+0x337/0x380 [164572.786270] ? qdisc_put_unlocked+0x40/0x40 [164572.786302] ? rcu_process_callbacks+0xcb/0x380 [164572.786337] __do_softirq+0xd6/0x21c [164572.786370] ? __irqentry_text_end+0x18/0x18 [164572.786404] call_on_stack+0x10/0x60 [164572.786435] [164572.786467] ? irq_exit+0x91/0xc0 [164572.786495] ? smp_apic_timer_interrupt+0x56/0xa0 [164572.786525] ? apic_timer_interrupt+0xd5/0xdc [164572.786555] ? acpi_idle_enter_s2idle+0x60/0x60 [164572.786584] ? cpuidle_enter_state+0x122/0x360 [164572.786614] ? tick_nohz_idle_stop_tick+0x27b/0x2a0 [164572.786644] ? cpuidle_enter+0xf/0x20 [164572.786673] ? call_cpuidle+0x1c/0x40 [164572.786701] ? do_idle+0x1e6/0x220 [164572.786730] ? cpu_startup_entry+0x25/0x40 [164572.786758] ? start_secondary+0x1a5/0x220 [164572.786787] ? startup_32_smp+0x15f/0x164 [164572.786816] ---[ end trace 662a5195537dbad8 ]---