AndiWeiss / alx-wol

dkms for atheros alx ethernet driver wol patch
23 stars 4 forks source link

installation problem on 6.4 #3

Closed dga4130-renato closed 1 year ago

dga4130-renato commented 1 year ago

Running the post_remove script: depmod... Deleting module alx-wol-1.3 completely from the DKMS tree. ping: www.kernel.org: Nome o servizio sconosciuto Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Creating symlink /var/lib/dkms/alx-wol/1.4/source -> /usr/src/alx-wol-1.4

Running the pre_build script: wget: impossibile risolvere l'indirizzo dell'host ‘git.kernel.org’

Building module: Cleaning build area...(bad exit status: 2) make -j8 KERNELRELEASE=6.4.0-060400-generic -C /lib/modules/6.4.0-060400-generic/build M=/var/lib/dkms/alx-wol/1.4/build...(bad exit status: 2) ERROR (dkms apport): binary package for alx-wol: 1.4 not found Error! Bad return status for module build on kernel: 6.4.0-060400-generic (x86_64) Consult /var/lib/dkms/alx-wol/1.4/build/make.log for more information. install_alx-wol.sh: installation of "alx-wol/1.4" failed

dga4130-renato commented 1 year ago

renato@firefox-server:~/Scrivania/alx/alx-wol-master$ sudo '/home/renato/Scrivania/alx/alx-wol-master/install_alx-wol.sh' found "alx-wol/1.4: added" installed ----> "alx-wol/1.4" will be installed before doing so current installed version "alx-wol/1.4: added" will be removed. SHALL TIHS BE DONE (enter yes)? yes Warning: I do not know how to handle added. Error! The module/version combo: alx-wol-1.4: is not located in the DKMS tree. install_alx-wol.sh: removal of "alx-wol/1.4: added" failed renato@firefox-server:~/Scrivania/alx/alx-wol-master$

dga4130-renato commented 1 year ago

clean installation works ok. had to delete manually /usr/src/alx /var/lib/dkms/alx-wol/ folder and installed. i i dind not do a clear installation new kernel was exiting with an error on such module

AndiWeiss commented 1 year ago

Did you have the 1.3 installed and updated to the 6.4 kernel before you did the update to alx-wol 1.4?

dga4130-renato commented 1 year ago

Il dom 16 lug 2023, 11:00 AndiWeiss @.***> ha scritto:

Did you have the 1.3 installed and updated to the 6.4 kernel before you did the update to alx-wol 1.4?

— Reply to this email directly, view it on GitHub https://github.com/AndiWeiss/alx-wol/issues/3#issuecomment-1637029257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKL7WCK5MY4MX7UKFVNVVR3XQOUUFANCNFSM6AAAAAA2D667B4 . You are receiving this because you authored the thread.

I updated kernel to 6.4.x and run the script.. but yes I had 1.3 before.. after deleted all 1.3. And 1.4 folders was perfect

Message ID: @.***>

AndiWeiss commented 1 year ago

That's interesting. I tried to reproduce but without success.

What I did:

Your log line 'ping: www.kernel.org: Nome o servizio sconosciuto' points to the direction that the alx module of your 6.4 kernel wasn't completely running. I use 'ping' to be sure that the alx-module is completely loaded and initialized. That was one issue during installation in the version 1.3: I unload the previous installed module and load the original module. If I don't add delay it happens rather easily that the insmod didn't finish until I try to wget the sources. To avoid that I use ping in the 1.4. With this I added a loop until kernel.org answers. Interestingly I would expect no output from that ping as I redirect that to /dev/null.

Do you use secure boot?

dga4130-renato commented 1 year ago

No secure boot. Maybe was just a "one shot " problem ..anyway the solution I used worked. Btw I could not install any new kernel after that bug because of some dipendance problems. Who knows . Maybe will test more 8n the next days if I find some extra time 👍

Il dom 16 lug 2023, 16:44 AndiWeiss @.***> ha scritto:

That's interesting. I tried to reproduce but without success.

What I did:

  • Installed fresh xubuntu 22.04
  • Installed alx-wol 1.3, worked fine
  • Installed kernel 6.4.0 (linux-image-unsigned-6.4.0-060400-generic_6.4.0-060400.202306271339_amd64.deb) alx-wol noted that this kernel isn't supported
  • did a rebbot, checked that kernel 6.4 is running
  • installed alx-wol 1.4 and didn't face any issue

Your log line 'ping: www.kernel.org: Nome o servizio sconosciuto' points to the direction that the alx module of your 6.4 kernel wasn't completely running. I use 'ping' to be sure that the alx-module is completely loaded and initialized. That was one issue during installation in the version 1.3: I unload the previous installed module and load the original module. If I don't add delay it happens rather easily that the insmod didn't finish until I try to wget the sources. To avoid that I use ping in the 1.4. With this I added a loop until kernel.org answers. Interestingly I would expect no output from that ping as I redirect that to /dev/null.

Do you use secure boot?

— Reply to this email directly, view it on GitHub https://github.com/AndiWeiss/alx-wol/issues/3#issuecomment-1637110908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKL7WCO4PANXWZOHEDAUXSTXQP45JANCNFSM6AAAAAA2D667B4 . You are receiving this because you authored the thread.Message ID: @.***>

AndiWeiss commented 1 year ago

If you face new issues just write again.