mripard / sunxi-mali

GNU General Public License v2.0
100 stars 54 forks source link

Module signature/key missing #86

Closed AnhDQHE181109 closed 4 years ago

AnhDQHE181109 commented 4 years ago

I was trying to load the mali.ko module into the system. But whenever I try to load it, dmesg says: mali: module verification failed: signature and/or required key missing - tainting kernel

From what I've found on Google, this is caused by the module not having a proper signature built-in. The module version I was attempting with is r9p0 (the same still applies to r6p2) The architecture I built the module for is aarch64, the kernel version is 5.4.43-sunxi64, Mali 450 GPU and Debian Buster.

So I'm wondering what I can do to resolve this? Do I need to disable the module signature checker feature in the kernel source and rebuild it? Or I just need to generate a signature for the module?

Any help would be much appreciated!!

mripard commented 4 years ago

There's not much to resolve, it's kind of working as expected (and your Google search is right). It's not really a big deal anyway, since the kernel is going to be tainted no matter what, since the module is an out-of-tree module.