0

I'm on Fedora 35 (5.15.13-200.fc35.x86_64) and I've disabled secure boot and installed NVIDIA drivers from rpmfusion, which doesn't do any good for signing the nvidia-drm kernel module against the kernel and enrolling the key to mokutil so I'm trying to use my operating system with secure boot enabled.

this is what I've done:

I generated new keys and enrolled them to mokutil:

openssl req -new -x509 -newkey rsa:2048 -keyout NVIDIA.key -outform DER -out NVIDIA.der -nodes -days 36500 -subj "/CN=Graphics Drivers"

sudo mokutil --import NVIDIA.der

yet when I try to install the driver I get one of two errors:

when I run this command:

sudo nvidia-installer.run --module-signing-secret-key=NVIDIA.key --module-signing-public-key=NVIDIA.der

I get this error: https://pastebin.com/FH4Q3UEf

I've used both relative and absolute paths to the key file and double-checked everything. The error doesn't make any sense.

Also if I supply the run file with a string of arguments longer than a certain length, I get this error:

$ sudo sh NVIDIA-Linux-x86_64-495.44.run -a --dkms --module-signing-secret-key=NVIDIA.key --module-signing-public-key=NVIDIA.der
[sudo] password for mohsentux: 
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 495.44......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
NVIDIA-Linux-x86_64-495.44.run: line 808:  5344 Segmentation fault      (core dumped) $script $scriptargs $*

What is a segmentation fault? And why do I get it when I use more than a certain amount of characters after nvidia-installer.run file as arguments?

EDIT:

sorry for the trouble of putting the question in the wrong category. thanx for your hard work. I'll pay more attention next time

0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.