You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

(and install the Nvidia driver)

1. append this to the kernel line in /etc/grub.conf

 

blacklist=nouveau

make sure you are editing the correct kernel line. if you are not sure, you can add it to all the kernel lines.

2. Also, add the following to /etc/modprobe.d/blacklist.conf

 

blacklist nouveau
options nouveau modeset=0

3. rebuild initial ram disk. eg, if you kernel is 2.6.32-573.22.1.el6.x86_64, then do this:

 

# dracut -f /boot/initramfs-2.6.32-573.22.1.el6.x86_64.img 2.6.32-573.22.1.el6.x86_64 -v

That will built and put a new initial ram disk in /boot/.

Then reboot. You can do /sbin/lsmod | grep nouveau to verify it worked.

This process worked for me on host tid-pc80031 on 8-Apr-2016.
Service now ticket INC0089358.

If you want to see all the hosts that have blacklist=nouveau appended to the running kernel (ie, /proc/cmdline), then you can look in system.info:

 

$ grep -l blacklist=nouveau /afs/slac/g/scs/systems/system.info/*/cmdline

Or if you want to see all the hosts that have the nouveau module loaded, you can look in system.info like this:

$ grep -l nouveau /afs/slac/g/scs/systems/system.info/*/lsmod

 

 

To install and activate the nvidia driver (stop X server, install driver, start X server):
Make sure no one is logged into the console or else you will kill their session.

sudo init 3
cd ~ksa/nvidia/
sudo sh ./NVIDIA-Linux-x86_64-340.96.run
sudo init 5

 

-- ksa - 2016-04-08

 

  • No labels