Closed blueOkiris closed 2 years ago
You are missing a signing key: sign-file: ./certs/signing_key.pem: No such file or directory
See: https://wiki.gentoo.org/wiki/Signed_kernel_module_support
cd /usr/lib/modules/$(uname -r)/build/certs
sudo tee x509.genkey >/dev/null << 'EOF'
[ req ]
default_bits = 4096
distinguished_name = req_distinguished_name
prompt = no
string_mask = utf8only
x509_extensions = myexts
[ req_distinguished_name ]
CN = Modules
[ myexts ]
basicConstraints=critical,CA:FALSE
keyUsage=digitalSignature
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid
EOF
sudo openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config x509.genkey -outform PEM -out signing_key.pem -keyout signing_key.priv
Then go back to your original directory and re-run make -C kernel-open modules_install
Thanks, @blueOkiris and @joshniec. I don't believe this is an issue with the open-gpu-kernel-modules, but rather your signing configuration. If you disagree, please let me know. But, for now I'm going to close this as not a bug in open-gpu-kernel-modules.
Currently using 510 on Arch w/ Linux kernel 5.17.6-arch1-1 on an RTX 3080m. Trying to install 515 from this repo.
I'm running into an issue when running
sudo make modules_install
It appears to be an issue with "signing:"