I hope this is as easy as an already answered question I didn't find on SE.
So, I have an LTSP server running CentOS 6. Linux kernel version of both LTSP image and server are the same: is 2.6.32-504.8.1.el6.x86.64 (uname -r), yum is up to date on both as well. Numerous disk-less clients with a nVidia Quadro FX570 card, dual monitor which we recently replaced with a Quadro K620. My problem is trying to install the new nVidia driver, v346.59.
An overview of actions and results:
- chroot to LTSP x86_64
- run nVidia driver .run file and answer prompts (choosing Yes to include DKMS).
- driver file (nvidia.ko) builds
- fails to install (not a surprise, as the server has no GPU).
- manually copy /opt/ltsp/x86_64/usr/src/nvidia-356.59/nvidia.ko to /lib/modules/
uname -r
/extra - echo "nouveau" >> /etc/modprobe.d/nouveau.conf
- cd /boot and mkinitrd with running kernel (producing initram.img).
- ensure vmlinuz.ltsp points to correct kernel, initrd.ltsp points to the newly made initramfs
- ltsp-rewrap-kernel
- exit chroot
- as root ltsp-update-kernel /opt/ltsp/x86_64
- boot thinclient to run level 3
- run X -configure
- validate xorg.conf.new contains a Device with "nvidia" driver.
- start X: both with startx and X -conf xorg.conf.new
And now, the problem: X11 loads, some minor complaints about keyboards, and then hangs with a blank/black screen. X kill command works fine, X apps don't start.
I suspect the nvidia.ko is not being included in the initramfs because:
lsinitrd /boot/initram.img | grep nvidia
produces no output.
I also suspect something isn't correct with the nouveau black list because:
lsinitrd /boot/initram.img | grep nouveau
contains all the .ko files installed in /lib/modules/uname -r
/
Also, for reference I have manually used dkms to make/install the nvidia.ko module with the same results.
If someone could help me understand why the initrd doesn't contain the nvidia.ko driver and why X is stuck on the blank screen I would be very happy. I apologize for not having the actual error messages - the machine is on a different network and I can't copy/paste to it.
EDIT: Some additional improvements/notes.
- when I start a thinclient in run level 3, and run startx, after stopping the X server if I look at /var/log/X.org.conf I see the nvidia module initializing and it correctly identifies the K620 device as well as the Dell monitor connected to it.
If this is the case, could the issue still be related to the nvidia module not being compatible with the running kernel? Or is a xinitrc incorrectly configured? or some other issue?
lsmod | grep nv
along withmodprobe -rf nvidia && modprobe nvidia
Something tells me you'll receive a kernel version mismatch somewhere.