Bug#902632: nvidia-legacy-340xx-kernel-dkms: the compiled module fails to load with error 'Invalid module format'
    François Revol 
    revol at free.fr
       
    Tue Jul  3 20:26:16 BST 2018
    
    
  
I also had this bug when upgrading today.
I had this in dmesg:
module: nvidia: Unknown rela relocation: 4
Possibly some issue with the linker or the elf loader in the newer kernel.
Anyway, I just upgraded the kernel to 4.16 and added the correct arg to
/etc/defaults/grub and it's working again.
    
    
More information about the pkg-nvidia-devel
mailing list