Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1181

How do I change the value of module.sig_enforce the Fedora kernel uses?

$
0
0

I am running a Fedora kernel ver: 4.15.3-300.fc27.i686). I am trying to load a custom device driver. When I try to use the device (via an open() call in a C program) the call errors out with errno equal to 6 (ENODEV). When I look into this further, I see the following messages from dmesg:

[Tue Apr 24 17:34:32 2018] mymodule: loading out-of-tree module taints kernel.[Tue Apr 24 17:34:32 2018] mymodule: module verification failed: signature and/or required key missing - tainting kernel

I think this is an issue with the driver not being signed. The Fedora System Administrator's Guide tells me that I need to rebuild the kernel to add a new key, but is also says that

If UEFI Secure Boot is disabled and if the module.sig_enforce kernel parameter has not been specified, then unsigned kernel modules and signed kernel modules without a public key can be successfully loaded.

The computer I am running uses BIOS and does not support UEFI.

How do I find out what the current value of the module.sig_enforce setting is, and how do I change it?


Viewing all articles
Browse latest Browse all 1181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>