Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2322224imm; Sat, 15 Sep 2018 14:24:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZtNz6Uyqa22KctVEWAEU08bKbx8T7TIAQSXHIG7nRJdaPqJ5MJ+qeryCCShzVdVVjFp2pV X-Received: by 2002:a63:2d05:: with SMTP id t5-v6mr17466555pgt.403.1537046651193; Sat, 15 Sep 2018 14:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537046651; cv=none; d=google.com; s=arc-20160816; b=JSNlHpZCKUesBc71a9fvgScLcip6Y/AvjrG8OZ8Xn5McVraGPW8a4ZKHGTk6iOblWz g7oMInB7ZF7TCYrNqfKHXqfLWd5XZkKpUVrkKZM4MDZ2LoxeBSoqD59xbsxesRW8IlaO A0e0ew7eivXZB1AgXrlyrfF/XKsnb8PDmO8+V5CrSIg6XEAU+m7v9j4fN41PpHiKnNFO 3+R6xduTJeYNzkpASpgf1TfN0HAs5IkZw7g0Q/7mbwWoCZVCJ5qv8JsLXYzHIGJV/G4a r1YtYq79vJljxpJKbX1t9ekK+Kx8B5YE46CND+OX5ObZH2+6pl1n5L2LJepHGsrB5eUn 7tsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:to:from:subject; bh=nYFG6Ao2X18ggLRuQx6nl4dGbTt8PEw+aTayH+Jcuro=; b=kFltJPhfoOEyX3sE04vcyacv/2nVK63ACCjuEVw06j4KrnlYyxZyOX8jjRs7kuimS5 Mid71nDSitO2LCZIzo7BTP2bQn5vxH+QyhBWIssz/oMQ2XYLH1WJPkyhqQkH3+JuZKHR LVxpjAavdFkEIlukKzAGKeWLlChWT+Glh9zf6y2PQWI4453TbyeRteLtbYn2hsZAw0WV k26oUH2mFaY1UxnR5b/4sy52uuaebsPwPmZgCHgGsIK2Nkc8p+/aSaOXz1ooqYU2Ot8h w+1pcTlf09g3ijWmIkFBB21dqIvxUIqyQQjJtAjZ6KCajm7d+VDNUKXZUlTZ/3GFiU9D F2sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j193-v6si10049123pge.617.2018.09.15.14.23.55; Sat, 15 Sep 2018 14:24:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728121AbeIPCoO (ORCPT + 99 others); Sat, 15 Sep 2018 22:44:14 -0400 Received: from extserverfr1.prnet.org ([188.165.208.21]:33546 "EHLO extserverfr1.prnet.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727982AbeIPCoN (ORCPT ); Sat, 15 Sep 2018 22:44:13 -0400 Received: from extserver.intern.prnet.org (extserver.prnet.org [192.168.11.1]) by extserverfr1.prnet.org (8.14.9/8.14.9) with ESMTP id w8FLNkbU028311 for ; Sat, 15 Sep 2018 23:23:46 +0200 Received: from [IPv6:2001:7e8:cf00:bc00:da50:e6ff:febb:ea28] ([IPv6:2001:7e8:cf00:bc00:da50:e6ff:febb:ea28]) (authenticated bits=0) by extserver.intern.prnet.org (8.14.9/8.14.9) with ESMTP id w8FLNjDm001159 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 15 Sep 2018 23:23:46 +0200 Subject: Re: kernel 4.18.5 Realtek 8111G network adapter stops responding under high system load From: David Arendt To: linux-kernel@vger.kernel.org References: Message-ID: <4f54989b-9492-420e-374b-d8c9bddf0a7d@prnet.org> Date: Sat, 15 Sep 2018 23:23:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, just a follow up: In kernel 4.18.8 the behaviour is different. The network is not reachable a number of times, but restarting to be reachable by itself before it finally is no longer reachable at all. Here the logging output: Sep 15 17:44:43 server kernel: NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 timed out Sep 15 17:44:43 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:10:26 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:12:24 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:13:19 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:14:48 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:20:24 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:34:19 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:43:43 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 18:46:26 server kernel: r8169 0000:03:00.0 enp3s0: link up Sep 15 19:00:24 server kernel: r8169 0000:03:00.0 enp3s0: link up From 17:44 ro 18:46 the network is recovering automatically. After the up from 19:00, the network is no longer reachable without any additional message. If looking at ifconfig, the counter for TX packets is incrementing, the counter for RX packets not. Here again the driver from 4.17.14 is working flawlessly. Thanks in advance, David Arendt On 9/4/18 8:19 AM, David Arendt wrote: > Hi, > > When using kernel 4.18.5 the Realtek 8111G network adapter stops > responding under high system load. > > Dmesg is showing no errors. > > Sometimes an ifconfig enp3s0 down followed by an ifconfig enp3s0 up is > enough for the network adapter to restart responding. Sometimes a reboot > is necessary. > > When copying r8169.c from 4.17.14 to the 4.18.5 kernel, networking works > perfectly stable on 4.18.5 so the problem seems r8169.c related. > > Here the output from lshw: > >         *-pci:2 >              description: PCI bridge >              product: 8 Series/C220 Series Chipset Family PCI Express > Root Port #3 >              vendor: Intel Corporation >              physical id: 1c.2 >              bus info: pci@0000:00:1c.2 >              version: d5 >              width: 32 bits >              clock: 33MHz >              capabilities: pci pciexpress msi pm normal_decode > bus_master cap_list >              configuration: driver=pcieport >              resources: irq:18 ioport:d000(size=4096) > memory:f7300000-f73fffff ioport:f2100000(size=1048576) >            *-network >                 description: Ethernet interface >                 product: RTL8111/8168/8411 PCI Express Gigabit Ethernet > Controller >                 vendor: Realtek Semiconductor Co., Ltd. >                 physical id: 0 >                 bus info: pci@0000:03:00.0 >                 logical name: enp3s0 >                 version: 0c >                 serial: >                 size: 1Gbit/s >                 capacity: 1Gbit/s >                 width: 64 bits >                 clock: 33MHz >                 capabilities: pm msi pciexpress msix vpd bus_master > cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt > 1000bt-fd autonegotiation >                 configuration: autonegotiation=on broadcast=yes > driver=r8169 driverversion=2.3LK-NAPI duplex=full > firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=yes multicast=yes > port=MII speed=1Gbit/s >                 resources: irq:18 ioport:d000(size=256) > memory:f7300000-f7300fff memory:f2100000-f2103fff > > Thanks in advance for looking into this, > > David Arendt > >