Ubuntu: How do I sign my own kernel modules to avoid tainting the kernel?



Question:

I've made a kernel module, using this tutorial as an example. It works, but on loading I get a warning in kernel log:

gdt_get: module verification failed: signature and/or required key missing - tainting kernel

This looks pretty untidy, so I guess I have to sign my module.

So the question is, how do I do it in Ubuntu? Do I have to somehow rebuild the kernel with my new key to make it possible to sign my modules?


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »