[Bug 1209526] New: WOL not working with RTL8111/8168/8411 with 6.2.x kernel
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 Bug ID: 1209526 Summary: WOL not working with RTL8111/8168/8411 with 6.2.x kernel Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: jiivee@iki.fi QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Suspend / resume utilizing WOL (wake-on-LAN) stopped working when Tumbleweed went from 6.1.x kernels to 6.2.x kernels. It worked great until then for a long time. Ethernet interface still tells that wake-on-LAN is enabled like before (setting is defined in /etc/sysconfig/network/ifcfg-eth0). When machine suspends, ethernet adapter shuts down completely. Machine wakes up from suspend by pressing power button. $ ethtool eth0 | grep -i wake Supports Wake-on: pumbg Wake-on: g $ lspci | grep -i ethernet 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09) I can see from system journal logs that nightly backups resumed that machine neatly with 6.1.12 kernel, but no longer with 6.2.0 and later kernels up and including version 6.2.6. There is nothing unusual logged into system journal as fas as I can tell. I haven���t changed any procedures myself. Tumbleweed updates have done all changes. I have also few other machines with different ethernet cards, where WOL still works with 6.2.x kernels. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c2 Juha Virtanen <jiivee@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jiivee@iki.fi) | --- Comment #2 from Juha Virtanen <jiivee@iki.fi> --- I tested WOL with Linux <host> 6.3.0-rc3-1.gd72bdba-default #1 SMP PREEMPT_DYNAMIC Sun Mar 19 21:25:52 UTC 2023 (d72bdba) x86_64 x86_64 x86_64 GNU/Linux kernel. WOL does not work with it either. Problem persists. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c3 Frank Kr�ger <fkrueger@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fkrueger@mailbox.org --- Comment #3 from Frank Kr�ger <fkrueger@mailbox.org> --- Might be related to https://bugzilla.kernel.org/show_bug.cgi?id=217069 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c4 --- Comment #4 from Frank Kr�ger <fkrueger@mailbox.org> --- (In reply to Frank Kr�ger from comment #3)
Might be related to https://bugzilla.kernel.org/show_bug.cgi?id=217069
JFYI: Reverting 5c62d5aab8752e5ee7bfbe75ed6060db1c787f98 seems to fix the WOL issue there. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c5 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jiivee@iki.fi) --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- Thanks, that's a good info. I'm building a test kernel with the revert of the given commit in OBS home:tiwai:bsc1209526 repo. Please give it a try later. Also, another test kernel is being built in OBS home:tiwai:bsc1209526-2 repo. This one includes the suggested ACPICA fix instead of the revert: https://lore.kernel.org/all/b39064e3-4f8b-f607-b270-1e0c8539d391@loongson.cn... Please this kernel later, too. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c6 Juha Virtanen <jiivee@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jiivee@iki.fi) | --- Comment #6 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #5)
Thanks, that's a good info.
I'm building a test kernel with the revert of the given commit in OBS home:tiwai:bsc1209526 repo. Please give it a try later.
I tested this. First install yielded to interactive reboot as there was something wrong with created initramfs. This kernel was bootable besides initramfs issues. I reinstalled kernel and then it booted neatly. Linux videostore 6.2.8-1.g0a0133f-default #1 SMP PREEMPT_DYNAMIC Sat Mar 25 08:39:19 UTC 2023 (0a0133f) x86_64 x86_64 x86_64 GNU/Linux This kernel solves the WOL problem.
Also, another test kernel is being built in OBS home:tiwai:bsc1209526-2 repo. This one includes the suggested ACPICA fix instead of the revert:
https://lore.kernel.org/all/b39064e3-4f8b-f607-b270-1e0c8539d391@loongson.cn... Please this kernel later, too.
This kernel doesn't solve the WOL problem. Linux videostore 6.2.8-1.gfbdf16a-default #1 SMP PREEMPT_DYNAMIC Sat Mar 25 08:51:05 UTC 2023 (fbdf16a) x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.kernel.org | |/show_bug.cgi?id=217069 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- Thanks. I updated the upstream bugzilla entry with your test results. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c9 Juha Virtanen <jiivee@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jiivee@iki.fi) | --- Comment #9 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #8)
Another test kernel is being built for the revised fix patch in OBS home:tiwai:bsc1209526-3 repo. Please try it once after the build finishes.
Tested. This kernel doesn't solve the WOL problem. Linux videostore 6.2.8-1.g1810fb4-default #1 SMP PREEMPT_DYNAMIC Mon Mar 27 14:51:11 UTC 2023 (1810fb4) x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c10 --- Comment #10 from Juha Virtanen <jiivee@iki.fi> --- It was mentioned in upstream bug https://bugzilla.kernel.org/show_bug.cgi?id=217069 that sending WOL magic packet twice worked to trigger WOL. I tested this, too. It does not work for me. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c11 --- Comment #11 from Takashi Iwai <tiwai@suse.com> --- At best, could you join to the upstream bugzilla and comment there directly? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c12 --- Comment #12 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #11)
At best, could you join to the upstream bugzilla and comment there directly?
So far I haven't had any facts to comment upstream. For example yesterday's test: I had no knowledge, were I testing patch in https://bugzilla.kernel.org/show_bug.cgi?id=217069#c33 or something else. I just can't guess and comment based on guessing. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c14 --- Comment #14 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #13)
You can write your test result directly there instead of answering here.
This time I can comment upstream as I know I tested patch in https://bugzilla.kernel.org/show_bug.cgi?id=217069#c39.
In anyway, I'm building yet another test kernel from the patch of https://bugzilla.kernel.org/show_bug.cgi?id=217069#c40 in OBS home:tiwai:bsc1209526-4 repo. Please give it a try later.
Thanks for building test kernels. I tested this kernel. WOL is not working. Neither with a single magic packet nor two or more magic packets. Linux videostore 6.2.8-1.g1810fb4-default #1 SMP PREEMPT_DYNAMIC Mon Mar 27 14:51:11 UTC 2023 (1810fb4) x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c15 --- Comment #15 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Juha Virtanen from comment #14)
Linux <host> 6.2.8-1.g1810fb4-default #1 SMP PREEMPT_DYNAMIC Mon Mar 27 14:51:11 UTC 2023 (1810fb4) x86_64 x86_64 x86_64 GNU/Linux
Oops. Wrong kernel. Linux <host> 6.2.8-1.g768abb4-default #1 SMP PREEMPT_DYNAMIC Tue Mar 28 15:40:59 UTC 2023 (768abb4) x86_64 x86_64 x86_64 GNU/Linux WOL is not working with this kernel. Neither with a single magic packet nor with two or more magic packets. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c16 --- Comment #16 from Takashi Iwai <tiwai@suse.com> --- Building another kernel in OBS home:tiwai:bsc1209526-5 repo with the patch in https://bugzilla.kernel.org/show_bug.cgi?id=217069#c46 Please give back the test result on the upstream bugzilla. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c17 --- Comment #17 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #16)
Building another kernel in OBS home:tiwai:bsc1209526-5 repo with the patch in https://bugzilla.kernel.org/show_bug.cgi?id=217069#c46
Please give back the test result on the upstream bugzilla.
Linux <host> 6.2.9-1.gda795ff-default #1 SMP PREEMPT_DYNAMIC Thu Mar 30 15:01:35 UTC 2023 (da795ff) x86_64 x86_64 x86_64 GNU/Linux WOL not working. I'll report upstream. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c18 --- Comment #18 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Juha Virtanen from comment #6)
(In reply to Takashi Iwai from comment #5)
Thanks, that's a good info.
I'm building a test kernel with the revert of the given commit in OBS home:tiwai:bsc1209526 repo. Please give it a try later.
I tested this. First install yielded to interactive reboot as there was something wrong with created initramfs. This kernel was bootable besides initramfs issues. I reinstalled kernel and then it booted neatly.
Linux <host> 6.2.8-1.g0a0133f-default #1 SMP PREEMPT_DYNAMIC Sat Mar 25 08:39:19 UTC 2023 (0a0133f) x86_64 x86_64 x86_64 GNU/Linux
This kernel solves the WOL problem.
I decided to give this kernel another try to see, if WOL is still working with it. WOL is no longer working with reverted patch. Unless, machine is cold rebooted. After a cold reboot works with reverted patch. I normally reboot by kexec to avoid attaching display and keyboard for entering LUKS password. Nevertheless, WOL used several years with this setup until 6.2.0 came out. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c19 --- Comment #19 from Takashi Iwai <tiwai@suse.com> --- Ah that makes sense. It used to work because the previous state was OK. And now it's broken, and the state isn't cleared unless a cold boot. It's worth to comment in the upstream bug report. Also, you can retry the older test kernels in the same condition, too. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209526 http://bugzilla.opensuse.org/show_bug.cgi?id=1209526#c20 --- Comment #20 from Juha Virtanen <jiivee@iki.fi> --- (In reply to Takashi Iwai from comment #19)
Ah that makes sense. It used to work because the previous state was OK. And now it's broken, and the state isn't cleared unless a cold boot. It's worth to comment in the upstream bug report. Also, you can retry the older test kernels in the same condition, too.
Unfortunately I don't have time to retest those other test kernels until next week. From previous test: home:tiwai:bsc1209526-2 set the network card to such state it broke WOL. From today's test: home:tiwai:bsc1209526-5 did not set network card to state where WOL breaks. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com