NVidia driver does not build on Linux v5.5 release candidate kernel

Version 440.59 3.2.2020 now is succesfully installed.
Thank you!

Thereā€™s a change from fops to proc_ops in the latest git linux 5.5.0 and nvidia drivers no longer compile. Any patch for that?

Thanks,
Jeff

Version 440.59 3.2.2020 for linux 5.6.0-rc1 not installed too

As in, youā€™re unable to build the driver on 5.6-rc1? In that case, Iā€™ve had a go at making a patch a few days ago:

fwiw, here the patched verion BUILDS ok ā€“ just fails (non-fatally) on run,

https://devtalk.nvidia.com/default/topic/1071120/linux/-bug-nvidia-440-59-kernel-5-5-1-stable-boot-trace/

Thank you! patch is work for 5.6-rc1

Hi Isaak,

Thanks so much for your work! I came across your patch in this thread and it has worked flawlessly for me. Keep up the good work, much appreciated!

This worked great for 5.6-rc2 but not for 5.6-rc3. It compiles but X will not start. Using Kubuntu 19.10 with Nvidia RTX-2080 mobile (not Max-Q).

Hi, error with new build

ERROR: Failed to run /usr/sbin/dkms build -m nvidia -v 440.64 -k 5.6.0-050600rc5-generic:
Kernel preparation unnecessary for this kernel. Skippingā€¦

     Building module:                                                                                                              
     cleaning build area...                                             
     'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.6.0-050600rc5-generic IGNORE_CC_MISMATCH='' modules....(bad exit       
     status: 2)
     ERROR (dkms apport): binary package for nvidia: 440.64 not found
     Error! Bad return status for module build on kernel: 5.6.0-050600rc5-generic (x86_64)
     Consult /var/lib/dkms/nvidia/440.64/build/make.log for more information.

But Version 440.59 and patch is worked

While NVIDIA fixed that specific part in 440.59, the rest of the issues remains and you still need a patch for 440.64. The old one wonā€™t work, however, you need to either remove the ioremap_nocache part of it, or use the new one Iā€™ve already posted on GitLab, here:

Thats cool man, thanks a ton, finally i can use kernel-5.6 :D
Ive successfully patched 440.64 and its working, im excited^^

Thanks again, the patch is still working with 440.66.02 .

1 Like