Re: [Bug 1779817] Re: r8169 no internet after suspending
New bug report opened: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792635 On 14 September 2018 at 21:29, Steve Dodd wrote: > Well 4.15.0-35.38 doesn't even finish booting on my machine. Doesn't > find the root volume and the USB keyboard doesn't finish booting. > Chances are the r8169 fix is fine but I can't test. > > On 14 September 2018 at 18:02, Brad Figg wrote: >> This bug is awaiting verification that the kernel in -proposed solves >> the problem. Please test the kernel and update this bug with the >> results. If the problem is solved, change the tag 'verification-needed- >> bionic' to 'verification-done-bionic'. If the problem still exists, >> change the tag 'verification-needed-bionic' to 'verification-failed- >> bionic'. >> >> If verification is not done by 5 working days from today, this fix will >> be dropped from the source code, and this bug will be closed. >> >> See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how >> to enable and use -proposed. Thank you! >> >> >> ** Tags added: verification-needed-bionic >> >> -- >> You received this bug notification because you are subscribed to the bug >> report. >> https://bugs.launchpad.net/bugs/1779817 >> >> Title: >> r8169 no internet after suspending >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Well 4.15.0-35.38 doesn't even finish booting on my machine. Doesn't find the root volume and the USB keyboard doesn't finish booting. Chances are the r8169 fix is fine but I can't test. On 14 September 2018 at 18:02, Brad Figg wrote: > This bug is awaiting verification that the kernel in -proposed solves > the problem. Please test the kernel and update this bug with the > results. If the problem is solved, change the tag 'verification-needed- > bionic' to 'verification-done-bionic'. If the problem still exists, > change the tag 'verification-needed-bionic' to 'verification-failed- > bionic'. > > If verification is not done by 5 working days from today, this fix will > be dropped from the source code, and this bug will be closed. > > See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how > to enable and use -proposed. Thank you! > > > ** Tags added: verification-needed-bionic > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Yup, this kernel finally fixes things for me too (I did remember to disable my other workaround) - thanks Kai, look forward to seeing it SRU'd. On 24 August 2018 at 09:39, Jan Rathmann wrote: > Kai-Heng, the bug seems to be gone on my system with your newest kernel > in #63 and I don't experience any regression so far. Thanks for your > work! > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Can we cherry-pick https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=7c53a722459c1d6ffb0f5b2058c06ca8980b8600 for bionic? On 10 August 2018 at 12:49, Heiner Kallweit <1779...@bugs.launchpad.net> wrote: > @Steve, there's some resistance amongst kernel maintainers against > additional module parameters. Each new parameter increases complexity and > makes maintenance harder. > Most likely it would result in a NAK when trying to fix an issue with one > broken exotic (sorry..) system in the kernel, especially if a userspace > workaround is available (disabling MSI via sysfs for the network device). > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
@Heiner, I know a number of other modules have a "use_msi_x" option - I guess that would be too much to ask given I'm the only one who seems to need it so far? :) On 9 August 2018 at 16:54, David Jordan wrote: > I can reproduce the issue with ethernet failing on the r8169 on resume > from suspend with the current kernel. This is a regression since a > previous kernel on 18.04 since the symptoms occur after installing > updates. > > I can also confirm that Kai's kernel seems to fix ethernet after suspend > on at least one of our products. Will do more testing, but this would > be very good to get into the next bionic kernel update. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
It's was only Kai's kernel from comment #39 that didn't boot - I've not had any other problems on that front. On 9 August 2018 at 12:05, Heiner Kallweit <1779...@bugs.launchpad.net> wrote: > Whether other systems suffer from the same MSI-X incompatability we'll > know only once I get more such bug reports. So far your report is the > only one. > > You said if MSI-X is enabled it doesn't even boot. Any error message or > does it just silently stop? > > And no, I'm not aware of any way to disable MSI-X only. The kernel > treats it as a sub-feature of MSI, therefore functions like > pci_dev_msi_enabled() return true if MSI or MSI-X is active for a > device. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Just double-checked with lspci -vvv and indeed the Realtek NIC is the only MSI-X capable device. Is there anyway to disable MSI-X globally but leave MSI on? All I can find is pci=nomsi which seems a bit heavy handed.. On 9 August 2018 at 10:08, Steve Dodd wrote: > Yup, afraid so, Beelink S1: https://www.amazon.co.uk/dp/B077HKCT78 - I'm > basically using it as an old-fashioned X Terminal. They promised a BIOS > update to "make it work with Linux" but I never got it to install and they > stopped answering my emails :( Happy to put it down to broken hardware so > long as I have a workaround, but is there anything else we can check to > confirm that? No noticeable problems with any other part of the system, > bit I guess everything else is part of the SoC, so this is probably the > only PCIe device I'm actually using.. > > On 9 August 2018 at 09:47, Heiner Kallweit <1779...@bugs.launchpad.net> > wrote: > >> Good that it's fixed for you. Indeed your BIOS seems to be broken with >> regard to MSI-X. According to the vendor part of the MAC address your >> mini PC is some no-name China product? >> >> -- >> You received this bug notification because you are subscribed to the bug >> report. >> https://bugs.launchpad.net/bugs/1779817 >> >> Title: >> r8169 no internet after suspending >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817 >> /+subscriptions >> > > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Yup, afraid so, Beelink S1: https://www.amazon.co.uk/dp/B077HKCT78 - I'm basically using it as an old-fashioned X Terminal. They promised a BIOS update to "make it work with Linux" but I never got it to install and they stopped answering my emails :( Happy to put it down to broken hardware so long as I have a workaround, but is there anything else we can check to confirm that? No noticeable problems with any other part of the system, bit I guess everything else is part of the SoC, so this is probably the only PCIe device I'm actually using.. On 9 August 2018 at 09:47, Heiner Kallweit <1779...@bugs.launchpad.net> wrote: > Good that it's fixed for you. Indeed your BIOS seems to be broken with > regard to MSI-X. According to the vendor part of the MAC address your > mini PC is some no-name China product? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
Hmm, no "IOMMU" messages in dmesg, and the CPU is supposed to support it, so I guess it is disabled, however this machine really doesn't have a BIOS to speak of, in terms of configurable settings anyway :( On 8 August 2018 at 14:42, Heiner Kallweit <1779...@bugs.launchpad.net> wrote: > One more hint: I found few reports where people had problems > (independent of what is being discussed here) with MSI-X when VT-d is > disabled in the BIOS. Could you check this as well? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
I'm about to dash out, but will try the above change later. Meanwhile, relevant bits of dmesg: [4.440185] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [4.445120] r8169 :01:00.0: enabling device ( -> 0003) [4.458178] r8169 :01:00.0 eth0: RTL8168g/8111g at 0x (ptrval), 84:39:be:67:5d:2f, XID 0c000800 IRQ 125 [4.458181] r8169 :01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] lspci: 00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b) .. 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c The box itself is an Apollo Lake SoC fanless mini PC, if that helps..? On 8 August 2018 at 14:19, Heiner Kallweit <1779...@bugs.launchpad.net> wrote: > Apart from switching to a more up-to-date API after this commit MSI-X > will be used if available. Maybe your system has a problem with MSI-X. > If you keep the commit and just do the following change, does it fix the > issue? > > Replace > flags = PCI_IRQ_ALL_TYPES; > with > flags = PCI_IRQ_LEGACY | PCI_IRQ_MSI; > > Also it would be important to know which exact chip version you have. > Can you provide a full dmesg output? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
I can't even boot Kai's latest kernel! The system hard locks early in the boot process, I have tried blacklisting r8169 and rebuilding the initramfs, pretty sure it is not loaded by the point at which it hangs. My hardware is cursed... On 7 August 2018 at 21:13, Jan Rathmann wrote: > @Kai-Heng > I can confirm what Erik says - my network card seems to come up properly > after suspend with the backported kernel in #39. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1779817] Re: r8169 no internet after suspending
I still think there are multiple bugs here. Some of us have a network that absolutely will not come back up after suspend with kernel version >4.15.0-23, even after reloading the driver. So there is a very clear regression that I would really like see resolved / rolled back. Breaking stuff in an LTS release for multiple users isn't much fun :( On 3 August 2018 at 10:45, Jan Rathmann wrote: > Ok, I can confirm what I wrote on #28 on another installation. > > Very hard for me to tackle this down - since bisecting obviously didn't > work. > > Here is a summary of what I found out about this bug: > > - Artful (or any other previous Ubuntu version) was not affected (at least > not to that extend, see below). > - Debian 9 is also not affected. > - On previous Ubuntu versions, I could observe something regarding > networking and suspend, that may also be a bug, but had a much less severe > impact on daily usage: In ~1 out of 10 cases, the network connection was > down after suspend, but it could be relatively easily be enabled again by > deactivating the network and activating it again (either via graphical > NetworkManager-icon or via terminal commands 'nmcli networking off|on'). > The difference to the current bug is that it was not necessary to reload > the kernel driver. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1779817 > > Title: > r8169 no internet after suspending > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/ > 1779817/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779817 Title: r8169 no internet after suspending To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs