安裝GeForce 610M Linux Driver

驅動程式版本NVIDIA-Linux-x86_64-310.19.run
runlevel 3 開機,安裝時出現以下訊息並中止程序。
# vim /etc/inittab
 id:3:initdefault:

# sh NVIDIA-Linux-x86_64-310.19.run
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.

# vim /etc/inittab
 id:5:initdefault:
# reboot

升級或安裝相關套件 # yum install kernel-devel kernel-headers dracut
# yum groupinstall "Development tools"

關閉Nouveau驅動程式 # lspci | grep --color nouveau
# vim /etc/modprobe.d/blacklist.conf
 blacklist nouveau

如果還是載入Nouveau驅動程式,試試第二種方法: # vim /etc/grub.conf  rdblacklist=nouveau  // 加入這組參數

# mv /lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/gpu/drm/nouveau/nouveau.ko \
 > /lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/gpu/drm/nouveau/nouveau.ko.txt

重建initramfs # cd /boot
# mv initramfs-$(uname -r).img initramfs-$(uname -r).img.bak
# dracut -v initramfs-$(uname -r).img $(uname -r)
# vim /etc/inittab
 id:3:initdefault:
# reboot

確認未載入Nouveau驅動程式 # lspci | grep --color nouveau
安裝NVIDIA驅動程式 # sh NVIDIA-Linux-x86_64-310.19.run
# vim /etc/inittab
 id:5:initdefault:
# reboot

沒有留言:

張貼留言