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

Ship ec_sys as a dkms module for Debian #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BeardOverflow
Copy link

@BeardOverflow BeardOverflow commented Aug 8, 2021

Some distributions do not compile ec_sys module in the kernel packages [1]. In order not to depend if the module is available on the distribution, I made a dkms module based on the original ec_sys module.
The source code for this ec_sys dkms-ish module was extracted from Linux 5.10.46 version and it can be used by older or newer kernel versions. It is located on /dkms folder.
Additionally, I modified the debian packaging to support automatic build and activation of dkms modules. It is enough smart to build only when ec_sys module will not be available in the system.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980555

@QDanteQ
Copy link

QDanteQ commented Oct 12, 2021

Hi, do you know can i install it on Fedora 34?

@BeardOverflow
Copy link
Author

BeardOverflow commented Oct 13, 2021

@Daniel-kpi I have not got experience working with Fedora, but should be enough with:

git clone https://github.com/BeardOverflow/isw
make -C /lib/modules/$(uname -r)/build M=$(pwd)/isw/dkms/ec_sys modules
make -C /lib/modules/$(uname -r)/build M=$(pwd)/isw/dkms/ec_sys modules_install

Other way would be to package this dkms module for RPM through some utility tool

@QDanteQ
Copy link

QDanteQ commented Oct 13, 2021 via email

@QDanteQ
Copy link

QDanteQ commented Oct 13, 2021

Oh my god, you are GENIUS). It's working, thank you sooo much. Also I had to update my kernel and install kernel-devel appropriate version. The last thing left is nahimic) but it's impossible. Is there anything I can do to you?

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 this pull request may close these issues.

None yet

2 participants