nvidia390 driver fails for kernel-5.10.0-rc7 during dkms install with the following error: MODPOST /var/lib/dkms/nvidia390/390.138-15.mga8.nonfree/build/Module.symvers ERROR: modpost: "swiotlb" [/var/lib/dkms/nvidia390/390.138-15.mga8.nonfree/build/nvidia.ko] undefined! make[2]: *** [scripts/Makefile.modpost:111: /var/lib/dkms/nvidia390/390.138-15.mga8.nonfree/build/Module.symvers] Error 1 make[2]: *** Deleting file '/var/lib/dkms/nvidia390/390.138-15.mga8.nonfree/build/Module.symvers' make[1]: *** [Makefile:1700: modules] Error 2 make[1]: Leaving directory '/usr/src/kernel-5.10.0-desktop-0.rc7.1.mga8' make: *** [Makefile:81: modules] Error 2 ERROR: modpost: "swiotlb" [/var/lib/dkms/nvidia390/390.138-15.mga8.nonfree/build/nvidia.ko] undefined! I will post the make.log and a dirty fix for kernel-5.10.patch from nvidia390-390.138-15.mga8.nonfree.src.rpm that makes my system to work just fine. Extra info about my system $ inxi System: Kernel: 5.10.0-desktop-0.rc7.1.mga8 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: KDE Plasma 5.20.3 Distro: Mageia 8 mga8 Graphics: Device-1: NVIDIA GF116 [GeForce GTX 550 Ti] vendor: ZOTAC driver: nvidia v: 390.138 bus ID: 0b:00.0 Display: x11 server: Mageia X.org 1.20.10 driver: modesetting,nvidia,v4l resolution: 1920x1200~60Hz OpenGL: renderer: GeForce GTX 550 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.138 direct render: Yes Hope this helps to find a proper solution as I'm not sure how that fix may brake other systems.
Created attachment 12062 [details] dkms make.log file
Created attachment 12063 [details] dirty fix for swiotlb error
thanks for spotting this. I wonder how I missed that :( the fix is good enough for now as it should not fall through to the 2.6 compat code as it does now. the real fix would be to go through the detection code nvidia has to figure out where it fails the detection on 5.10 series kernels (due to 5.10 series code changes), but that is no priority to find out as nVidia will soon-ish push a new 390 series driver with official support for 5.10 LTS. fix merged in nvidia390-390.138-16.mga8 currently building
Resolution: (none) => FIXEDStatus: NEW => RESOLVED