Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2822386imm; Sun, 7 Oct 2018 12:37:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV62hJab59lM14N0vUcMNasSulWDIx0Mk5fq9m3MiCXC8d6+6pBEWi74en/w3efV0f/Yz1Bxc X-Received: by 2002:a63:cc0b:: with SMTP id x11-v6mr4803326pgf.33.1538941051452; Sun, 07 Oct 2018 12:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538941051; cv=none; d=google.com; s=arc-20160816; b=zwL/4wxu24YBAei0XwBTo+yfZTw7jAHIaI1jlbpAwZFPxejBIuoiy3VMEkMbfzuQKK naWRD8I4Nw5ajDOJhhOEp+6q3Cphh9F7Eu01Gp1QHXFu5qsMR+2+ZW3nfxZuDLE+CpLi oxx1UvigO8yS+Q8AkrkTBc2otJ/yxj0omtQ5CgbKey4rxefzgyCqDj0t50eLPLpseCvz Lg1HVjA7hCm2cjwRcFgbvZFYbWJTClq+pW8Sc5yye6mL3s+kSvMb4oU34xUFsuwk7DrT pEd15lMLD/+Qy63YEC25fIeiE4JhngXSIJX0i6N/3E6sKR+ZZJQ9AIhrGBUpfO11LG39 glEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=czesGM3pUaccv7+x7PdDpX7wdZpFyZZLGL16ByM9eao=; b=H3Uoel4JxCGkNA7ndv6jqVF2vSjqfxIF1b74uyviyF/1KZtbPUxxuLOCDNUJdReF8o PL+zP4L9aAUYcC2YEwk3rTS1xpJIvb3EER9o6mTOVudRhkDo4hX2Er8OBiDeHNuSAjO2 8+KcF79qX2rerCZA12bwyhql4H0jPT5xtXCBN00EWv/YcJaxPYqCXeXutX6X0q/jNERI XIj4HjIIqs21XLEcLHl8n5/oyXxRGCKTuxPYe/oWzzrztikRUzsqlYzdCqBKcigMDBpJ HW+FHoDq18SOe0TMTHNtkI2JqWnhxCxlpTg+UPetLPuHpWFJmLBzvkNzSscBiP+rgztD A94Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=rrrErFin; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14-v6si16964092plk.130.2018.10.07.12.36.34; Sun, 07 Oct 2018 12:37:31 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=rrrErFin; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728238AbeJHCor (ORCPT + 99 others); Sun, 7 Oct 2018 22:44:47 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36058 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726976AbeJHCor (ORCPT ); Sun, 7 Oct 2018 22:44:47 -0400 Received: by mail-wr1-f67.google.com with SMTP id y16so18541249wrw.3 for ; Sun, 07 Oct 2018 12:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=czesGM3pUaccv7+x7PdDpX7wdZpFyZZLGL16ByM9eao=; b=rrrErFin0Ir+7ZfowGfrEjrxnsEnBYtTDULn1E3C4Gn6soXzaHX4LfwHzGQZHLRlC/ Rs1Mp1TlskO9NqQRZVCsGx53h9FuQ73oixbFQDHwl8hiATHj6aJsGQBXKJTZYKfj1704 dK8qpGnbWNyOhkIf4+cbj+A7jZh+cDooo+IQqXzcmrnBBymCOiJgYNqDic+jpHEilNNG gxUn+GdLayvrr10GQfOzydgfgNuWXyD+mWgn64UaFDQzMuCGrO3kQ2QDpVNljR9E8bYV 4ukug3mHAgEzeJm2ZJMfqQpWdyyf+1lc9AFiCU65Aaof5LNlKzE5s8yYB0TcMkdc6iRj 1Btw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=czesGM3pUaccv7+x7PdDpX7wdZpFyZZLGL16ByM9eao=; b=UWRbUdXt4zZ2qPkh4PVq+dhJjhQ4A9HmH5bAgZ9OjLCzHSFGZKpG6xR0+n5bWZcMn4 h61yX46jtuHubqX8GAwfIhIKeJAE1JVjBH+7PQomkRc5gf5M2JHxgYkT4UhKcl50EIfk np9G8u+EFlJ4y9FnhKGp/cCnCqpPjZVJ9zXY4SAE24Ju+mShdLJHbp38Qksz17lA0VRt ddq1kJ9dafeT5nk5Ys7Z0J6q0dGgL178AlWRuTYdk4ZK1dCiI2e3nfcYOoNRjepGXE+Z tIwEBdjZ1+HJicPPDeKBXaB3AbKy7luT6XIFSfKy2/rhFpvfK5g9fJq5tLFeuSEjRYBs zRFA== X-Gm-Message-State: ABuFfojajViX04ISMtHGl5BEw2gbxpmF8E3o3wBgEi7C5p+d0Sf/5hvn TwR5EzkBIcHySepRgE+4lLkdd0Qy X-Received: by 2002:adf:e387:: with SMTP id e7-v6mr14405340wrm.94.1538940985679; Sun, 07 Oct 2018 12:36:25 -0700 (PDT) Received: from [192.168.0.20] ([94.1.125.110]) by smtp.googlemail.com with ESMTPSA id x186-v6sm17859781wmx.24.2018.10.07.12.36.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Oct 2018 12:36:24 -0700 (PDT) Subject: Re: R8169: Network lockups in 4.18.{8,9,10} (and 4.19 dev) From: Chris Clayton To: Heiner Kallweit , "Maciej S. Szmigiero" Cc: "David S. Miller" , Azat Khuzhin , Greg Kroah-Hartman , Realtek linux nic maintainers , linux-kernel References: <54d8d7e9-a80d-dc2b-5628-22f9dc14e2ee@maciej.szmigiero.name> <535f42c7-6c3b-8e5a-49de-5dc975879b21@googlemail.com> <98680351-5123-761f-982a-726098da9716@gmail.com> <9980dcc1-f7fe-5de7-75be-99b1592c9206@googlemail.com> Message-ID: <6b1685ce-22ac-2c71-e1d4-b05748a7d977@googlemail.com> Date: Sun, 7 Oct 2018 20:36:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <9980dcc1-f7fe-5de7-75be-99b1592c9206@googlemail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi again, I didn't think there was anything in 4.19-rc7 to fix this regression, but tried it anyway. I can confirm that the regression is still present and my network still fails when, after a resume from suspend (to ram or disk), I open my browser or my mail client. In both those cases the failure is almost immediate - e.g. my home page doesn't get displayed in the browser. Pinging one of my ISPs name servers doesn't fail quite so quickly but the reported time increases from 14-15ms to more than 1000ms. Chris On 04/10/2018 09:41, Chris Clayton wrote: > Hi Heiner, > > Here's the reply to your questions. Sorry for the delay. > > On 28/09/2018 23:13, Heiner Kallweit wrote: >> On 29.09.2018 00:00, Chris Clayton wrote: >>> Thanks Maciej. >>> >>> On 28/09/2018 16:54, Maciej S. Szmigiero wrote: >>>> Hi, >>>> >>>>> Hi, >>>>> >>>>> I upgraded my kernel to 4.18.10 recently and have since been experiencing network problems after resuming from a >>>>> suspend to RAM or disk. I previously had 4.18.6 and that was OK. >>>>> >>>>> The pattern of the problem is that when I first boot, the network is fine. But, after resume from suspend I find that >>>>> the time taken for a ping of one of my ISP's nameservers increases from 14-15ms to more than 1000ms. Moreover, when I >>>>> open a browser (chromium or firefox), it fails to retrieve my home page (https://www.google.co.uk) and pings of the >>>>> nameserver fail with the message "Destination Host Unreachable". Often, I can revive the network by stopping it with >>>>> /sbin/if(down,up} but sometimes it is necessary to also remove the r8169 module and load it again. >>>> >>>> Please have a look at the following thread: >>>> https://lkml.org/lkml/2018/9/25/1118 >>>> >>> >>> I applied your patch for the 4.18 stable kernels to 4.18.10, but the problem is not solved by it. Similarly, I applied >>> Heiner's patch to the 4.19, but again the problem is not solved. >>> >> I think we talk about two different issues here. The one the fix is for has no link to suspend/resume. >> >> Chris, the lspci output doesn't provide enough detail to determine the exact chip version. >> Can you provide the dmesg part with the XID? > > $ dmesg | grep r8169 > [ 5.274938] libphy: r8169: probed > [ 5.276563] r8169 0000:05:00.2 eth0: RTL8411, 80:fa:5b:08:d0:3d, XID 48800800, IRQ 29 > [ 5.278158] r8169 0000:05:00.2 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] > [ 9.275275] RTL8211E Gigabit Ethernet r8169-502:00: attached PHY driver [RTL8211E Gigabit Ethernet] > (mii_bus:phy_addr=r8169-502:00, irq=IGNORE) > [ 9.460876] r8169 0000:05:00.2 eth0: No native access to PCI extended config space, falling back to CSI > [ 11.005336] r8169 0000:05:00.2 eth0: Link is Up - 100Mbps/Full - flow control rx/tx > >> According to your lspci output neither MSI nor MSI-X is active. >> Do you have to use nomsi for whatever reason? >> > > No, I do not use nomsi, but MSI wasn't enabled in my kernel config. I'm 99% sure that it used to be - I've no idea how > it got dropped. If I'm not sure about an option, I start by taking the recommendation in the kconfig help. Help on MSI > has a very clear "say Y". I've re-enabled it now. > > Chris > >> Heiner >> >>>> Maciej >>>> >>> Chris >>> >> >>