Bug 217629 - [regression] Wake-on-LAN broken in kernel >5.x for E2400 Ethernet with Qualcomm Atheros AR816x/AR817x
Summary: [regression] Wake-on-LAN broken in kernel >5.x for E2400 Ethernet with Qualco...
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 15:40 UTC by cptX
Modified: 2023-11-01 13:15 UTC (History)
4 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description cptX 2023-07-03 15:40:58 UTC
I recently upgraded my pc to linux mint 21.1 (ubuntu 22.04) with kernel 5.15.0.75 and I realized that wake on lan functionality is not working any more. Up to Linux Mint 20.3 it was always working perfectly!
I have a Killer E2400 Gigabit Ethernet Controller with Qualcomm Atheros AR816x/AR817x chipset.

As this functionality is very important for my job I'm filing here a bug with the hope things to return back to normal.
There is this bug from 2013 https://bugzilla.kernel.org/show_bug.cgi?id=61651
which looks like dead thread, that's why I decided to open a new one.
Comment 1 Bagas Sanjaya 2023-07-04 02:12:03 UTC
(In reply to cptX from comment #0)
> I recently upgraded my pc to linux mint 21.1 (ubuntu 22.04) with kernel
> 5.15.0.75 and I realized that wake on lan functionality is not working any
> more. Up to Linux Mint 20.3 it was always working perfectly!
> I have a Killer E2400 Gigabit Ethernet Controller with Qualcomm Atheros
> AR816x/AR817x chipset.
> 
> As this functionality is very important for my job I'm filing here a bug
> with the hope things to return back to normal.
> There is this bug from 2013 https://bugzilla.kernel.org/show_bug.cgi?id=61651
> which looks like dead thread, that's why I decided to open a new one.

dmesg? lspci?

Also, what kernel version do you use before upgrade? And can you try latest mainline please?
Comment 2 cptX 2023-07-05 08:35:53 UTC
Hi, I have linux mint 21 (ubuntu 22.04) with kernel 5.15 and is not working.
Before upgrade I had linux mint 20.3 (ubuntu 20.04) but I don't remember the kernel.
According to what I read in the internet all the kernels after 5.14 have the same issue.

lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
02:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
03:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
Comment 3 cptX 2023-07-05 09:05:46 UTC
sudo dmesg  | grep -i ethernet
[    1.241154] alx 0000:03:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [d8:cb:8a:ec:c4:98]
Comment 4 cptX 2023-07-05 09:14:35 UTC
Also I would like to ask us to find a more complete solution for this issue as a lot of people are affected if you search the internet. I'll provide here some findings just to show how many attempts have been done to find a solution. In my opinion the solution should be given from the default kernel itself.

https://bugzilla.kernel.org/show_bug.cgi?id=61651
https://github.com/AMV007/alx_dkms_installer
https://askubuntu.com/questions/1424675/wake-on-lan-broken-after-22-04-update
https://www.beachyuk.com/blog/get-wake-on-lan-working-on-linux-with-atheros-network-adaptor 

Also some of the above solutions are not compatible with the long term support kernel of ubuntu 22.04 (5.15), which makes the problem more difficult. I think focus should be given for supporting the long term kernels.
Comment 5 Bagas Sanjaya 2023-07-06 12:13:52 UTC
(In reply to cptX from comment #2)
> Hi, I have linux mint 21 (ubuntu 22.04) with kernel 5.15 and is not working.
> Before upgrade I had linux mint 20.3 (ubuntu 20.04) but I don't remember the
> kernel.
> According to what I read in the internet all the kernels after 5.14 have the
> same issue.
> 

Can you do bisection please to find the culprit?
Comment 6 cptX 2023-07-06 14:17:33 UTC
(In reply to Bagas Sanjaya from comment #5)
> (In reply to cptX from comment #2)
> > Hi, I have linux mint 21 (ubuntu 22.04) with kernel 5.15 and is not
> working.
> > Before upgrade I had linux mint 20.3 (ubuntu 20.04) but I don't remember
> the
> > kernel.
> > According to what I read in the internet all the kernels after 5.14 have
> the
> > same issue.
> > 
> 
> Can you do bisection please to find the culprit?

Hi Bagas,what do you mean bisection?

Note You need to log in before you can comment on or make changes to this bug.