Ask Your Question
0

How can I cause a kernel module to be signed for Fedora 20? [closed]

asked 2014-02-13 18:56:08 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Machine - acer optimus laptop; UEFI Secure Boot. GeForce GT750M

OS: fedora 20 [ 3.12.10-300.fc20.x86_64]

Trying to install bumblebee so I can use CUDA. bumblebee-nvidia script compiles a kernel module, but will not load it because it is not signed:

"ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the kernel. Please try
 installing the driver again, and sign the kernel module when prompted to do so."

How can the bumblebee-nvidia script be altered so that it permits signing of the kernel module being compiled? Or is there some way to sign it after compilation?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by davidva
close date 2016-07-20 17:00:33.349660

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-02-14 15:25:11 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Never mind - I found the documentation- sorry - I neglected to provide a listing of what I found. Here are the URLs that I am currently reading:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/dhowells/linux-modsign/+/modsign-rusty/Documentation/module-signing.txt

http://wiki.gentoo.org/wiki/Signed_kernel_module_support

http://docs.fedoraproject.org/en-US/Fedora/18/html/UEFI_Secure_Boot_Guide/chap-UEFI_Secure_Boot_Guide-Implementation_of_UEFI_Secure_Boot.html

http://lwn.net/Articles/470906/

https://fedoraproject.org/wiki/Bumblebee#fedora20

Will this allow me to achieve bumblebee installation? I don't know yet- I have a lot of reading to do, and will do some tests. If I am successful, I will document the process. However, my question is answered because I was asking for documentaton on the process of generating signed kernel modules.

edit flag offensive delete link more

Comments

Please, If you want to answer your own question include some evidence. i.e : A link of the documentation you've found and/or quote what helped you to find the solution.

NickTux gravatar imageNickTux ( 2014-02-14 16:44:06 -0500 )edit

For bumblebee successful installation, try to remove bumblebee and install it again. As the error message said "installing the driver again, and sign the kernel module when prompted to do so." . So keep an eye if a prompt comes up to sign the module.

NickTux gravatar imageNickTux ( 2014-02-14 18:34:58 -0500 )edit
0

answered 2016-07-20 16:29:41 -0500

I have a similar issue during my cuda installation on Ubuntu 14.04 and disabling Secure Boot from the boot option resolves

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-13 18:56:08 -0500

Seen: 1,649 times

Last updated: Jul 20 '16