Package Details: alx-wol-dkms 6-2

Git Clone URL: https://aur.archlinux.org/alx-wol-dkms.git (read-only, click to copy)
Package Base: alx-wol-dkms
Description: The alx kernel module with a patch enabling WoL applied
Upstream URL: https://bugzilla.kernel.org/show_bug.cgi?id=61651
Keywords: alx dkms wake-on-lan wol
Licenses: GPL
Submitter: angelsl
Maintainer: christoph_heiss
Last Packager: christoph_heiss
Votes: 8
Popularity: 0.000000
First Submitted: 2017-12-26 05:17 (UTC)
Last Updated: 2023-03-19 00:54 (UTC)

Dependencies (4)

Required by (0)

Sources (10)

Latest Comments

1 2 3 4 Next › Last »

jeffm commented on 2023-11-23 02:55 (UTC)

Package runs OK for me on kernel 6.5 but not on 6.6.

dkms error :

==> dkms install --no-depmod alx-wol/6 -k 6.6.2-arch1-1-6602-02
Error! Bad return status for module build on kernel: 6.6.2-arch1-1-6602-02 (x86_64)
Consult /var/lib/dkms/alx-wol/6/build/make.log for more information.
==> WARNING: `dkms install --no-depmod alx-wol/6 -k 6.6.2-arch1-1-6602-02' exited 10

/var/lib/dkms/alx-wol/6/build/make.log :


DKMS make.log for alx-wol-6 for kernel 6.6.2-arch1-1-6602-02 (x86_64)
Thu 23 Nov 2023 10:29:26 AEDT
make: Entering directory '/usr/lib/modules/6.6.2-arch1-1-6602-02/build'
  CC [M]  /var/lib/dkms/alx-wol/6/build/main.o
  CC [M]  /var/lib/dkms/alx-wol/6/build/ethtool.o
  CC [M]  /var/lib/dkms/alx-wol/6/build/hw.o
/var/lib/dkms/alx-wol/6/build/main.c: In function ‘alx_probe’:
/var/lib/dkms/alx-wol/6/build/main.c:1821:9: error: implicit declaration of function ‘pci_enable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1821 |         pci_enable_pcie_error_reporting(pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/alx-wol/6/build/main.c:1956:9: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1956 |         pci_disable_pcie_error_reporting(pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/alx-wol/6/build/main.o] Error 1
make[1]: *** [/usr/lib/modules/6.6.2-arch1-1-6602-02/build/Makefile:1913: /var/lib/dkms/alx-wol/6/build] Error 2
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.6.2-arch1-1-6602-02/build'
/var/lib/dkms/alx-wol/6/build/make.log (END)

If I comment out pci_disable_pcie_error_reporting(pdev); at line 1821 in /usr/src/alx-wol-6/main.c , dkms can build the module and it all works on kernel 6.6.2-arch1-1.

Is an update for kernel 6.6 necessary?

christoph_heiss commented on 2023-03-18 23:21 (UTC)

Hi all, just pushed a rel-update to fix the module version override issue.

Cheers!

j0se commented on 2023-03-03 08:09 (UTC)

@christoph_heiss I found no mention at all of alx in the journal for the boot where I got the problem. But this morning I rerun the dkms install (from history, so I'm sure I used the same command), rebooted and it's working now.

christoph_heiss commented on 2023-03-02 10:08 (UTC)

@Hugo_Placer: Thanks for the report! Seems I may have fscked something up while packaging, I'll have a look and push an updated package-revision as necessary. Sorry!

@j0se: Can you provide the output of # lspci -vvv -s <slot>, where <slot> is the first column of # lspci | grep Ethernet? Also, are there any errors in kernel log (# dmesg | grep alx)?

You can also reach me via e-mail if you want, to further debug this :^)

j0se commented on 2023-03-02 08:30 (UTC)

With kernel 6.2.1-arch1-1, the network interface is even missing on ifconfig -a.

Hugo_Placer commented on 2023-02-16 15:15 (UTC)

@jOse yes, is the same error :). Thankss!

j0se commented on 2023-02-15 18:43 (UTC) (edited on 2023-02-16 15:57 (UTC) by j0se)

I get this error:

==> dkms install --no-depmod alx-wol/6 -k 6.1.11-arch1-1
Module version  for alx.ko.zst
exactly matches what is already found in kernel 6.1.11-arch1-1.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod alx-wol/6 -k 6.1.11-arch1-1' exited 6

So I installed the module with # dkms install -m alx-wol -v 6 --force.

@Hugo_Placer maybe you got the same error? WOL is working here with linux 6.1.11.arch1-1.

Hugo_Placer commented on 2023-02-02 08:46 (UTC)

In the last version of Linux kernel this patch doesn't work. "ethtool interface | grep Wake-on" doesn't show up anything. :(

christoph_heiss commented on 2022-12-27 21:48 (UTC)

Hi all, I just pushed an update, for compatibility with 6.1. Sorry for the delay.

I've updated the driver to the latest upstream and brought some quality-of-life improvements to the patch. It was indeed broken due to a change in the netif API [0].

My next steps are that I will be trying to upstream these changes again. If this is only revision-dependent, that should definitively be doable.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/netdevice.h?id=b48b89f9c189d24eb5e2b4a0ac067da5a24ee86d