OS

Install NVIDIA Drivers in XEN Kernel

by LionHeart posted Aug 21, 2014
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

Dec 25, 2010

Install NVIDIA Drivers in XEN Kernel

Install NVIDIA Drivers in XEN Kernel


Release:
RedHat Enterprise Linux

Problem:
Need to install Nvidia drivers in XEN Kernel

Solution:

1)Boot the Server to Runlevel 3

# init 3

2)Now copy the Nvidia driver to /tmp directory

# cp /mnt/NVIDIA-Linux-xxx-pkg2.run /tmp

3)Now extract the bin file and add modify to use the XEN kernel
           
# cd /tmp
# ./NVIDIA-Linux-xxx-pkg2.run extract-only
# cd  NVIDIA-Linux-xxx-pkg2/usr/src/nv
# IGNORE_XEN_PRESENCE=y make SYSSRC=/lib/modules/`uname -r`/build module

Note: Will get lot of Warnings, but end with NVIDIA: left KBUILD

4)Now load the new driver to the xen kernel library

# cp -i nvidia.ko /lib/modules/`uname -r`/kernel/drivers/video/nvidia
# depmod -a
# modprobe nvidia

5)Now check with lsmod weather nvidia driver is loaded or not

# lsmod | grep nvidia

6)Reboot the server and boot the server with nonxen kernel

# shutdown -r now

7)Now install the nvidia driver

# cd /tmp
# sh  NVIDIA-Linux-xxx-pkg2.run

8)Allow system to rewrite the “xorg.conf” file

9)Now reboot the server and boot to the xen kernel and check.


Articles

3 4 5 6 7 8 9 10 11 12