Comment 30 for bug 1750937

Revision history for this message
Tim Habigt (narfg) wrote : Re: 4.4.0-116 Kernel update on 2/21 breaks Nvidia drivers (on 14.04 and 16.04)

Yes, I also got the gcc update after the kernel update. With the new gcc, I could fix the Nvidia kernel module.

Here's how:
# Show the current vermagic string of the kernel module
modinfo nvidia-384 -k 4.4.0-116-generic

# It will probably say:
# vermagic: 4.4.0-116-generic SMP mod_unload modversions
# Here the retpoline string is missing.
# You can fix this by removing and re-building the module with DKMS

sudo dkms remove nvidia-384/384.111 -k 4.4.0-116-generic
sudo dkms install nvidia-384/384.111 -k 4.4.0-116-generic

# After that the modinfo command will show
# vermagic: 4.4.0-116-generic SMP mod_unload modversions retpoline

You can now use the new kernel. You will probably have to do this with all your DKMS kernel modules.