systemd failing to load nvidia drivers since update to linux 6.0
Karim Salama
karimsalama94 at hotmail.com
Mon Oct 31 16:59:18 GMT 2022
Hello,
I've recently upgraded the Linux kernel to 6.0 on my main machine and now some systemd units are failing to start during boot.
After looking into the error logs, here is what I have found :
sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● lightdm.service loaded failed failed Light Display Manager
● nvidia-persistenced.service loaded failed failed NVIDIA Persistence Daemon
● systemd-modules-load.service loaded failed failed Load Kernel Modules
● virtualbox.service loaded failed failed LSB: VirtualBox Linux kernel module
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
4 loaded units listed.
So, I checked the errors for the systemd-modules-load.service and here is what I found :
sudo systemctl status systemd-modules-load.service
× systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Mon 2022-10-31 14:37:53 CET; 1min 0s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 521 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 521 (code=exited, status=1/FAILURE)
CPU: 9ms
Oct 31 14:37:53 dontpanic systemd-modules-load[525]: modprobe: ERROR: could not insert 'nvidia': Invalid argument
Oct 31 14:37:53 dontpanic systemd-modules-load[528]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/6.0.0-2-amd64
Oct 31 14:37:53 dontpanic systemd-modules-load[523]: modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe nvidia ; modprobe -i nvidia-current-modeset ' for module nvidia_modeset: retcode 1
Oct 31 14:37:53 dontpanic systemd-modules-load[523]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
Oct 31 14:37:53 dontpanic systemd-modules-load[529]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/6.0.0-2-amd64
Oct 31 14:37:53 dontpanic systemd-modules-load[521]: Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-drm modeset=1 ' for module nvidia_drm: retcode 1
Oct 31 14:37:53 dontpanic systemd-modules-load[521]: Failed to insert module 'nvidia_drm': Invalid argument
Oct 31 14:37:53 dontpanic systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 14:37:53 dontpanic systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Oct 31 14:37:53 dontpanic systemd[1]: Failed to start Load Kernel Modules.
I've noticed that the nvidia-modprobe debian package for sid is currently at version 515 unlike all the other nvidia packages are at 510. Is this ok?
Thanks in advance,
Karim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20221031/39a97952/attachment.htm>
More information about the pkg-nvidia-devel
mailing list