AndiWeiss / alx-wol

dkms for atheros alx ethernet driver wol patch
20 stars 3 forks source link

Not working on 6.9.6 Arch kernel #14

Open notherealmarco opened 1 week ago

notherealmarco commented 1 week ago
$ sudo ./install.sh
grep: warning: stray \ before "
grep: warning: stray \ before "
grep: warning: stray \ before "
/etc/initramfs-tools/hooks doesn't exist
continue installation, update of initramfs may fail
Sign command: /usr/lib/modules/6.9.6-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Usage: extract-vmlinux <kernel-image>
extract_kversion_string.sh: /boot/vmlinuz-6.9.6-arch1-1 seems not to be a vmlinuz file
extract_kversion.sh: can't access /var/lib/dkms/alx-wol/2.1/6.9.6-arch1-1/kernel_version_string
gcc_used.sh: can't access /var/lib/dkms/alx-wol/2.1/6.9.6-arch1-1/kernel_version_string
rm: impossibile rimuovere '/var/lib/dkms/alx-wol/2.1/6.9.6-arch1-1/kernel_version_string': File o directory non esistente
Creating symlink /var/lib/dkms/alx-wol/2.1/source -> /usr/src/alx-wol-2.1

Running the pre_build script:
cat: /var/lib/dkms/alx-wol/2.1/build/../6.9.6-arch1-1/kernel_version: File o directory non esistente
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/drivers/net/ethernet/atheros/alx?h=v:
2024-07-03 20:07:57 ERRORE 404: Not found.
fetch_kernelparts.sh failed

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.9.6-arch1-1 -C /usr/lib/modules/6.9.6-arch1-1/build M=/var/lib/dkms/alx-wol/2.1/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.9.6-arch1-1 (x86_64)
Consult /var/lib/dkms/alx-wol/2.1/build/make.log for more information.
#### FAILED installation of alx-wol version 2.1 ####

Content of /var/lib/dkms/alx-wol/2.1/build/make.log:

$ cat /var/lib/dkms/alx-wol/2.1/build/make.log
DKMS make.log for alx-wol-2.1 for kernel 6.9.6-arch1-1 (x86_64)
mer 3 lug 2024, 20:08:27, CEST
make: ingresso nella directory «/usr/lib/modules/6.9.6-arch1-1/build»
scripts/Makefile.build:41: /var/lib/dkms/alx-wol/2.1/build/alx/Makefile: File o directory non esistente
make[3]: ***  Nessuna regola per generare l'obiettivo «/var/lib/dkms/alx-wol/2.1/build/alx/Makefile».  Arresto.
make[2]: *** [scripts/Makefile.build:485: /var/lib/dkms/alx-wol/2.1/build/alx] Error 2
make[1]: *** [/usr/lib/modules/6.9.6-arch1-1/build/Makefile:1918: /var/lib/dkms/alx-wol/2.1/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: uscita dalla directory «/usr/lib/modules/6.9.6-arch1-1/build»
AndiWeiss commented 1 week ago

Hm ... which distro is this? It doesn't look like Ubuntu, Debian or Proxmox. Installation fails, so I expect that my alx-wol doesn't know the distri. Do I get it right: is this Arch linux?

AndiWeiss commented 5 days ago

I took a first look in arch Linux, never did that before. I'll see what I can do, just follow changes in this repo. May take a while but I'll get it working on arch Linux, too.

notherealmarco commented 3 days ago

is this Arch linux?

that's correct

May take a while but I'll get it working on arch Linux, too

thanks a lot!

AndiWeiss commented 2 days ago

I took a first view, a large part is already working. But I have a question: Are you experienced with how Arch Linux handles kernel updates? I need to know a possibility for doing a kernel update in the way arch linux does it.