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

Compressed modules (*.ko.gz) #38

Closed
DocMAX opened this issue Nov 18, 2017 · 4 comments · Fixed by #39
Closed

Compressed modules (*.ko.gz) #38

DocMAX opened this issue Nov 18, 2017 · 4 comments · Fixed by #39

Comments

@DocMAX
Copy link

DocMAX commented Nov 18, 2017

I installed a patch for alx.ko module and i noticed the original module is alx.ko.gz, but DKMS puts alx.ko into /lib/modules/4.13.12-1-ARCH/kernel/drivers/net/ethernet/atheros/alx/ thus kernel is loading the wrong module!

How can i make DKMS create and replace the alx.ko.gz module?

I'm running Arch Linux.

@d3matt
Copy link
Contributor

d3matt commented Nov 27, 2017

I'm seeing something similar on RHEL7. With kernel versions kernel-3.10.0-693.el7.x86_64 and kernel-3.10.0-693.2.2.el7.x86_64 they're using xz compressed modules...

@GoPerry
Copy link
Contributor

GoPerry commented Nov 30, 2017

@d3matt
Thanks for the feedback and the patch.
@DocMAX
Can you help to verify if the patch can solve your problem?
If the fix works, i will merge the patch soon.

@DocMAX
Copy link
Author

DocMAX commented Feb 3, 2018

Still doesnt work. It's not creating alx.ko.xz but alx.ko instead. Arch linux Kernel 4.14

@GoPerry
Copy link
Contributor

GoPerry commented Apr 25, 2018

HI @DocMAX
new release come and new version can support xz compress format.
if you have no question ,i will close the issue soon.

[dell@localhost extra]$ file rtbth.ko.xz
rtbth.ko.xz: XZ compressed data

[dell@localhost extra]$ modinfo rtbth
filename: /lib/modules/4.15.17-200.fc26.x86_64/extra/rtbth.ko.xz
version: 3.9.5
license: GPL
description: Support for Ralink Bluetooth RT3290 Cards
author: Ralink Tech.
srcversion: E3E18A59C0E0B1FFBA15FE1
alias: pci:v00001814d00003298svsdbcsci*
depends: bluetooth
retpoline: Y
name: rtbth
vermagic: 4.15.17-200.fc26.x86_64 SMP mod_unload

[dell@localhost extra]$ dkms status
rtbth, 1.0, 4.15.17-200.fc26.x86_64, x86_64: installed

[dell@localhost extra]$ modprobe rtbth

[dell@localhost extra]$ lsmod | grep rtbth
rtbth 98304 0
bluetooth 593920 1 rtbth

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

Successfully merging a pull request may close this issue.

3 participants