YoyPa / isw

Ice-Sealed Wyvern
GNU General Public License v3.0
378 stars 79 forks source link

Ship ec_sys as a dkms module for Debian #205

Open BeardOverflow opened 3 years ago

BeardOverflow commented 3 years ago

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 commented 2 years ago

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

BeardOverflow commented 2 years ago

@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 commented 2 years ago

Okay thanks so much, I'll try and write you the result.

On Wed, Oct 13, 2021, 12:02 José Ángel Pastrana Padilla < @.***> wrote:

@Daniel-kpi https://github.com/Daniel-kpi I have not got enough 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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/YoyPa/isw/pull/205#issuecomment-942085567, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBGXF2WI3CCNHRRDHHVAYTUGVDITANCNFSM5BYLQ3OA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

QDanteQ commented 2 years ago

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?