Skip to content

Ship ec_sys as a dkms module for Debian#205

Open
BeardOverflow wants to merge 1 commit intoYoyPa:masterfrom
BeardOverflow:add-ec-sys-as-dkms-module
Open

Ship ec_sys as a dkms module for Debian#205
BeardOverflow wants to merge 1 commit intoYoyPa:masterfrom
BeardOverflow:add-ec-sys-as-dkms-module

Conversation

@BeardOverflow
Copy link
Copy Markdown

@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
Copy Markdown

QDanteQ commented Oct 12, 2021

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

@BeardOverflow
Copy link
Copy Markdown
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
Copy Markdown

QDanteQ commented Oct 13, 2021 via email

@QDanteQ
Copy link
Copy Markdown

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.

2 participants