Install NVIDIA Driver 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.

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.