nvidia module not loading

Robin Laing MeSat at TelusPlanet.net
Sun Oct 2 01:36:33 CEST 2016


On 01/10/16 15:55, Joseph D. Wagner wrote:
> Do you have the nouveau driver blacklisted in your kernel boot parameters?
>
> rd.driver.blacklist=nouveau video=vesa:off
>
> If not, you'll need to rerun dracut after configuring.
>
> That's the only thing I can think of.  It appears to be working for me.
>
> $ cat /proc/version
> Linux version 4.7.5-200.fc24.x86_64
> (mockbuild at bkernel01.phx2.fedoraproject.org) (gcc version 6.2.1 20160916
> (Red Hat 6.2.1-2) (GCC) ) #1 SMP Mon Sep 26 21:25:47 UTC 2016
>
> $ lsmod | grep nvidia
> nvidia_drm             45056  2
> nvidia_modeset        765952  7 nvidia_drm
> nvidia              11472896  110 nvidia_modeset
> drm_kms_helper        143360  1 nvidia_drm
> drm                   344064  5 drm_kms_helper,nvidia_drm
>
> Joseph D. Wagner
>
>
> On 10/01/2016 11:29 AM, Robin Laing wrote:
>> Hello,
>>
>> Latest F24 kernel update with akmods.  The kernel modules were created
>> by akmods but when trying to boot the system, the kernel module is not
>> found.
>>
>> Even trying to run modprobe nvidia fails.
>>
>> sudo modprobe nvidia
>> password:
>> modprobe: FATAL: Module nvidia not found in directory
>> /lib/modules/4.7.5-200.fc24.x86_64
>>
>> If I type in modprobe and nvidia, tab complete gives me a list of
>> nvidia modules to load.
>>
>>
>> ./4.7.5-200.fc24.x86_64/extra/nvidia/nvidia-uvm.ko
>> ./4.7.5-200.fc24.x86_64/extra/nvidia/nvidia-drm.ko
>> ./4.7.5-200.fc24.x86_64/extra/nvidia/nvidia.ko
>> ./4.7.5-200.fc24.x86_64/extra/nvidia/nvidia-modeset.ko
>>
>>
>> All logs just say the the module is not found as above.
>>
>> Any suggestions?
>>
>> Robin
>


Everything was working until the latest kernel update.

Looks like you found it.  The nouveau driver isn't blacklisted after the 
kernel update.

What is also interesting is that the current grub.cfg doesn't have any 
blacklist command for any of the kernels.  Previous kernels do work as 
expected.  They load the nvidia driver and run.

This is the grub.cfg entry from today for the presently working kernel. 
Notice, no blacklist for nouveau.

/vmlinuz-4.7.4-200.fc24.x86_64 
root=/dev/mapper/luks-2e0ad798-4e73-4b78-a902-7e8d02cf124e ro 
rd.luks.uuid=luks-2e0ad798-4e73-4b78-a902-7e8d02cf124e nomodeset rhgb 
quiet LANG=en_CA.UTF-8

Followed these instructions.  Now to test.

https://ask.fedoraproject.org/en/question/66187/how-to-disable-nouveau-and-install-nvidia/

It is interesting that the system does boot and in a terminal, modprobe 
cannot find the kernel module, even though it is there.  Not an error 
about not being able to load it.


More information about the rpmfusion-users mailing list