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

DKMS aborting installation when running the aur package on Garuda linux w/ the asus ctl kernel. #47

Open
orbitaldr0p opened this issue Jan 30, 2023 · 6 comments

Comments

@orbitaldr0p
Copy link

DKMS is refusing the install the new kernel because it exactly matches some that already exists, and causes the AUR package to not work. Following the instuctions in the readme doesn't work either. asus::screenpad doesnt appear.

@orbitaldr0p
Copy link
Author

I removed asusctl's kernel and DKMS still refuses to install.

@PTFOPlayer
Copy link

use --force when using dkms
that will help

@orbitaldr0p
Copy link
Author

how do I do that with the DKMS that is run when installing with yay?

@PTFOPlayer
Copy link

unfortunately you have to do the installation manually

@boscowitch
Copy link

Unfortunately this keeps happening with every kernel update, wmi stops working and dkms complains and a manual install (or modification of the aur script) is needed.

But what is the actuall issue though, why does this start happening, I don't know much about kernel modules, is there something missing in the definition for newer kernels for dkms to continue working, if so cant we add this, since it seems to work fine after force, just not recompiling on kernel updates (which happen often in Archlinux...).

@boscowitch
Copy link

BTW another way on my system to reinstall instead of force was.

  1. do the dkms remove like in the readme
  2. uninstall the aur package (or manually remove the folder like in the readme)
  3. search the kernel dir for the asus wmi ko file that reinstall compains about to be present in the given kernel number, for me atm it was: /lib/modules/6.2.12-arch1-1/kernel/drivers/platform/x86/asus-nb-wmi.ko.zst and /lib/modules/6.2.12-arch1-1/kernel/drivers/platform/x86/asus-wmi.ko.zst and remove them,
  4. reinstall aur package

(i had another unrelated dkms error since I hat also linux lts kernel header package installed but not the kernel, i just had to remove that too, but normally this should not be a problem if you havent installed those headers by accident)

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

3 participants