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 does not detect installed modules if they are xz compressed #12

Closed
kaechele opened this issue Nov 20, 2016 · 3 comments
Closed

DKMS does not detect installed modules if they are xz compressed #12

kaechele opened this issue Nov 20, 2016 · 3 comments

Comments

@kaechele
Copy link

Fedora compresses it's kernel modules as xz since version 21 of the distribution.
This results in kernel modules having a .ko.xz suffix.
DKMS' set_module_suffix function does not handle this case. Therefor previously installed modules in the kernel tree are not found.
This problem surfaces when replacing a module that lives in Fedora's kernel-modules-extra package. Those kernel modules are installed into /extra and thus they override even their DKMS installed and updated version.

Example: batman-adv
Lives in the kernel-modules-extra package: /lib/modules/4.8.6-300.fc25.x86_64/extra/net/batman-adv/batman-adv.ko.xz
DKMS installs it's version as: /lib/modules/4.8.6-300.fc25.x86_64/extra/batman-adv.ko

@kaechele
Copy link
Author

Just noticed that there is already a pull request: #4

@superm1
Copy link
Contributor

superm1 commented Nov 21, 2016

It looks to me that the person who was working on that pull request hasn't sorted out some of the requested fixes for a long time (August!). If you want to take a stab at fixing the problems in their pull request and make a new one, please feel free to do so.

@DocMAX
Copy link

DocMAX commented Feb 3, 2018

Still with version 2.5 modules are created with .ko extension, not .ko.xz!

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