AndiWeiss / alx-wol

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

support for 6.6 #7

Closed dga4130-renato closed 6 months ago

dga4130-renato commented 6 months ago

Hello, Can you have a look to this patch please ? Maybe will be useful https://aur.archlinux.org/packages/alx-wol-dkms

AndiWeiss commented 6 months ago

Support for Kernel 6.6 is on its way. Branch generic already contains it, even 6.7 Problem on that branch is still that the update-initramfs on ubuntu 23.x doesn't work correctly ... Branch generic supports all kernels since 5.15.1 and goes a completely different way. But up to now it's experimental ... BTW - it seems they have the same issue with dkms and version as I had it.

AndiWeiss commented 6 months ago

I have a possibility to use the new branch on Ubuntu 23.10. It requires a modification of an original ubuntu file. Do you like to test it? If yes: as explained - it's experimental. I would provide a patch for the file. After that you can install the current branch and check if it fits your needs.

dga4130-renato commented 6 months ago

Yes , ok let's test it

Il gio 25 gen 2024, 19:21 AndiWeiss @.***> ha scritto:

I have a possibility to use the new branch on Ubuntu 23.10. It requires a modification of an original ubuntu file. Do you like to test it? If yes: as explained - it's experimental. I would provide a patch for the file. After that you can install the current branch and check if it fits your needs.

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

AndiWeiss commented 6 months ago

I did another try and found that the file which has to be patched gets replaced during 'apt update'. I'll add a patch mechanism to my alx-wol. That will be the next commit. I don't really like that - I would prefer not to have this strange dependencies into the ubuntu base system :-/

dga4130-renato commented 6 months ago

Ok, when all is fixed the right way you can explain how it works and instructions for installation ...

AndiWeiss commented 6 months ago

I found a better way. Pushed version 1.99 on branch generic. Just check it out and install. sudo ./install.sh If you want to be sure uninstall alx-wol before, but that should be done during installation. USE IT WITHOUT GUARANTEE! I'm not responsible for any kind of data loss!

dga4130-renato commented 6 months ago

Will test it as soon i find a free moment... Will let you know in one or two days . To be sure I will backup the entire device Will clonezilla and give all a test

Il dom 28 gen 2024, 11:43 AndiWeiss @.***> ha scritto:

I found a better way. Pushed version 1.99 on branch generic. Just check it out and install. If you want to be sure uninstall alx-wol before, but that should be done during installation. USE IT WITHOUT GUARANTEE! I'm not responsible for any kind of data loss!

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

dga4130-renato commented 6 months ago

Tomorrow morning I will spend some time on this project , but I would like to know better what the script will do... I see some change on initramfs .. just to be sure on what will be done on the system so I can reverse by hand if fails

AndiWeiss commented 6 months ago

Hi there, for full deinstallation of alx-wol 1.99: sudo dkms remove alx-wol/1.99 --all In the case something wasn't removed: sudo rm -rf /var/lib/dkms/alx-wol/1.99 (or - if you don't have another alx-wol version - /var/lib/dkms/alx-wol) With this the dkms installation is gone. To remove all reamains: sudo rm /etc/initramfs-tools/hooks/dkms-adder sudo rm -rf /usr/src/alx-wol-1.99 That's it.

dga4130-renato commented 6 months ago

Works great !!!!!!!!!!! To be sure on future versions i downloaded kernel 6.7 on mainline and installed it. Great job. 2 minutes and all fixed. Will test it for a few days but i think will have no problems ! Push up this to master branch, will solve problems to many people. Btw add to instructions the manual way to remove it if someone has trouble !

i will send the link on the other sites i visited that had no solution.

You are a magician . Thanks very much !!!!!!!!!!!!!!!!!!!!!!!!!!

https://bugzilla.kernel.org/show_bug.cgi?id=61651

AndiWeiss commented 6 months ago

Hi there, nice to hear, thank you for the compliments. I'm currently writing new documentation. Because of your hint I'll create a script which does the deinstallation. There is one thing you need to know: In the case that the patch doesn't apply on a newer kernel it can happen that the kernel will not be installed. I didn't find a possibility to inform about that automatically. So: In the case you see a non-applying patch feel free to give me a hint. I tested several versions but I can't check all coming versions :-) As soon as the documentation is finished I'll bring that on the main branch as version 2.0.