Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for 6.6 #7

Closed
dga4130-renato opened this issue Jan 16, 2024 · 11 comments
Closed

support for 6.6 #7

dga4130-renato opened this issue Jan 16, 2024 · 11 comments

Comments

@dga4130-renato
Copy link

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

@AndiWeiss
Copy link
Owner

AndiWeiss commented Jan 17, 2024

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
Copy link
Owner

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
Copy link
Author

dga4130-renato commented Jan 26, 2024 via email

@AndiWeiss
Copy link
Owner

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
Copy link
Author

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

@AndiWeiss
Copy link
Owner

AndiWeiss commented Jan 28, 2024

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
Copy link
Author

dga4130-renato commented Jan 28, 2024 via email

@dga4130-renato
Copy link
Author

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
Copy link
Owner

AndiWeiss commented Jan 30, 2024

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
Copy link
Author

dga4130-renato commented Jan 31, 2024

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants