Bug 1550701
Summary: | Ethernet doesn't work after sleep | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Zaitsev <zamazan4ik> |
Component: | NetworkManager | Assignee: | Lubomir Rintel <lkundrak> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | alexl, bgalvani, cooperj10, dcbw, fgiudici, ilochab, john.j5live, lkundrak, mclasen, rhughes, rstrode, sandmann |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-21 08:41:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Zaitsev
2018-03-01 19:52:34 UTC
I also have this problem with Fedora 28. Let me know if you need any more troubleshooting information. $ lspci | grep Ethernet 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) A workaround seems to be to remove and reload the r8169 module after a sleep. This can be done automatically by creating a script for systemd to call: $ sudo cat <<EOF > /usr/lib/systemd/system-sleep/fix_network #!/bin/sh case "$1" in pre) modprobe -r r8169 ;; post) modprobe r8169 ;; esac EOF $ sudo chmod +x /usr/lib/systemd/system-sleep/fix_network Thanks for the idea goes to Steven Rosenberg at: http://stevenrosenberg.net/blog/linux/fedora/2015_0928_working_on_my_networking_after_suspend_resume_issue_in_fedora_22 This looks similar to bug 1580079. Can you please show the output of 'ip l' and 'dmesg' after resume from sleep? Closing, please reopen if needed. *** This bug has been marked as a duplicate of bug 1580079 *** Since 4.17 kernel workaround from Stephen Herr doesn't work and I should restart compute for Ethernet enabling. I am seeing this for the first time at Fedora 28 in Kernel 4.17. Switch to 4.16 and the ethernet resumes from sleep as expected. 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) Can you please reopen this as the duplicate is old and has been closed anyway. I have the same problem on my: Sony Vaio Vpcz21c5e Fedora 29 4.19.2-301.fc29.x86_64 19:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) I have a workaround that is unplug and plug again the rj45 connector but it's really boring Followup to my previous note: with kernel 4.18.18-300.fc29.x86_64 the problem doesn't occur. |