Install the nVIDIA driver under RHEL5Xen

Source: Internet
Author: User
Because of the problem of the video card driver in the Xen, the demonstration of virtualization cannot be performed in the Xen class. Now we have finally found a solution! 1. Download the driver and driver patch from nVIDIA-because of the problem of the graphics driver in the Xen, you cannot perform virtualization demonstration in the Xen class. Now we have finally found a solution!

1. Download driver and driver patches from nVIDIA
Http://us.download.nvidia.com/XF...-100.14.11-pkg1.run
Http://www.nvnews.net/vbulletin/... = 26950 & d = 1185370000

2. Unlock the driver
/NVIDIA-Linux-x86-100.14.11-pkg1.run -- extract-only

3. Use Patches
Cd NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/
Patch-p1 <.../patch-xen3.0-nvidia100.14.11.txt

4. Compile the driver. (check that gcc and kernel-xen-devel have been installed)

CC = "gcc-DNV_VMAP_4_PRESENT-DNV_SIGNAL_STRUCT_RLIM "\
Make SYSSRC =/usr/src/kernels/2.6.18-8. el5-xen-i686 module

5. COPY the driver to the system directory (if you have installed the nVIDIA driver in a non-XEN kernel, the nvidia directory already exists, please use NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nvidia. ko overwrite/lib/modules/2.6.18-8. el5xen/kernel/drivers/video/nvidia. ko)

Mkdir/lib/modules/2.6.18-8. el5xen/kernel/drivers/video/nvidia
Cp nvidia. ko/lib/modules/2.6.18-8. el5xen/kernel/drivers/video/nvidia

6. depmod-
Reboot

7. Main Menu-> system-> Management-> display
Hardware-> video card type (configuration)-> nvidia-Vendor-supplied driver for nvidia cards-> OK

[Note] And then log on again. The system has used the nvidia official driver, and the projection output and high resolution are normal!

System: RHEL5 Xen Kernel (2.6.18-8)
Driver: NVIDIA-Linux-x86-100.14.11
Current: Compaq Presario V3428AU
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.