[Bug 1083866] New: Kernel 4.15 - USB network adapter r8152 freeze
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866 Bug ID: 1083866 Summary: Kernel 4.15 - USB network adapter r8152 freeze Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: suhn@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- openSUSE Tumbleweed on a Dell XPS 13 with a Dell DA-200 4-in-1 Thunderbolt dongle. Of the four (HDMI, VGA, USB3, LAN) only LAN (Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter) is affected. This problem started with kernel 4.15. Problem and symptoms: - After some time of inactivity the network adapter freezes (goes into powersaving) and doesn't come back up. - NFS share is mounted and minidlna server running - freezes nonetheless; even a simple "ls" in the console causes hangs. - shutdown is locked-up. The graphical environment closes, system is then stuck on plymouth shutdown screen. Half of the time it manages to run the shutdown scripts and then locks-up. The other half it can't run any shutdown scripts at all or gets stuck in a loop with "Avahi" and other network related tasks. Mitigation - Preliminary fix: - In powertop, switching "Autosuspend for USB device USB 10/100/1000 LAN [Realtek]" from the default "GOOD" to "BAD". - Equivalent of "echo 'on' > '/sys/bus/usb/devices/4-1.4/power/control'" My two cents: - Wasn't sure what caused the hangs. Suspected my NVME at first. I was aware of the NVME ALPM changes. Played with the switches, no change. - The frozen KWorker processes then revealed they were dealing with two kernel modules: usbcore and r8152 - Tried to find powermanagement relevant changes concerning those modules in the 4.15 changelog, but the only ones standing out to me were the NVME/SSD dipm ALPM ones. I'm far from being an expert in that matter. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c1
--- Comment #1 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c2
Oliver Neukum
Quick follow-up:
I have not provided any logs since the journal entries appear to be quite unhelpful. No clues given at all.
However, if you want me to investigate further - I do have hardware availability after all - let me know. Just provide me with a step-by-step guide (what to install, what to run etc.) and I'll get you what you need.
Are you positive it worked with v4.14?
If so, the likely cause is:
commit 0b1655143df00ac5349f27b765b2ed13a3ac40ca
Author: Kai-Heng Feng
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c3
Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c4
--- Comment #4 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c5
--- Comment #5 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c6
--- Comment #6 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c7
--- Comment #7 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c8
--- Comment #8 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c9
Oliver Neukum
Any suggestions what the cause might be? Is my adapter affected by the commit changes at all?
No. It looks like a change in another part of the kernel affected the driver.
Just to reiterate, I'm willing to install kernel debug packages and all the necessary tools in order to provide useful information. I can run both kernel versions for comparisons sake until the powermanagement (if that's the issue) kicks in or whatever else makes sense.
It looks like this issue will have to be bisected. The procedure is described here: https://www.kernel.org/doc/html/v4.14/admin-guide/bug-bisect.html the good commit: git bisect good v4.14 the bad commit: git bisect v4.15 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c10
--- Comment #10 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c11
--- Comment #11 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c12
Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c13
Gabriel Rauter
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c16
Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c17
Oliver Neukum
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c18
Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c19
--- Comment #19 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c20
--- Comment #20 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
Francisco Pina Martins
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c21
Michael Rans
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866#c22
--- Comment #22 from Steffen Ungruh
http://bugzilla.opensuse.org/show_bug.cgi?id=1083866
Moritz Moroder
participants (1)
-
bugzilla_noreply@novell.com