当前位置: 代码迷 >> 综合 >> 解决 k8s集群环境 安装显卡驱动报 An NVIDIA kernel module 'nvidia' appears to already be loaded
  详细解决方案

解决 k8s集群环境 安装显卡驱动报 An NVIDIA kernel module 'nvidia' appears to already be loaded

热度:71   发布时间:2023-12-19 13:36:49.0

k8s集群环境 下一台 linux‘ 服务器上使用如下命令 卸载驱动  

sudo apt-get purge nvidia-*

重启后 安装显卡仍报如下错

 An NVIDIA kernel module 'nvidia' appears to already be loaded in your

         kernel.  This may be because it is in use (for example, by the X

         server), but may also happen if your kernel was configured without

         support for module unloading.  Please be sure you have exited X

         before attempting to upgrade your driver.  If you have exited X, know

         that your kernel supports module unloading, and still receive this

         message, then an error may have occured that has corrupted the NVIDIA

         kernel module's usage count; the simplest remedy is to reboot your

         computer

最后  sudo systemctl stop kubelet  后 可以重装 坑爹啊!

.

  相关解决方案