Error when reinstalling the Nvidia driver after upgrading the Linux kernell

"I was able to successfully install the Nvidia driver (using on CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core) kernel. However, after upgrading the kernel to CentOS Linux (5.4.242-1.el7.elrepo.x86_64) 7 (Core), I encountered an error with nvidia-smi. When I tried to reinstall the Nvidia driver, I encountered this error.

nvidia-installer.log (72.7 KB)

Moving this to the Linux category, as this section is for networking (Mellanox).