메뉴 건너뛰기

라이온하트 2nd edition

홈페이지를 새롭게 리뉴얼합니다.

조회 수 189866 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

INSTALLING NVIDIA LINUX DRIVERS IN A XEN ENABLED KERNEL

I have had a CentOS system for a while that is configured to be my mythtv system, however since it has so much resources I first ran a few VMWare servers on it, but being a young FOSS adept I decided to see if I could run xen on it as well.

One of the bottlenecks I stumbled upon was the fact that the NVidia linux kernel drivers do not run under a xen kernel, at least not with a little tweaking. I was succesful in compiling and loading them for the first time in 2008 following the advice found in the article Running Binary nVidia Drivers under Xen Host at legroom.net. My first successful result can be seen there as well.

Until now I am still able to able to do this trick on the latest CentOS kernel (2.6.18-128.2.1.el5xen) and one of the latest nVidia drivers (185.18.29). 
Recently I discovered a far better and easier method:

  1. Boot into the XEN enabled kernel you would like to run your drivers in.
  2. Download the driver package from the website of nVidia.
  3. Make the package executable
    chmod +x NVIDIA-Linux-architecture-version-pkg2.run
  4. Now configure two variables, the first one to enable compilation under a XEN enabled environment:
    export IGNORE_XEN_PRESENCE=1

    The second one is the path to the current kernel source:

    export SYSRC=/lib/modules/`uname -r`/
  5. No we can start the installation of the drivers, just follow the instructions on screen after issuing the following:
    ./NVIDIA-Linux-architecture-version-pkg2.run
  6. Verify that it is installed…
    lsmod | grep nvidia

    … which should output something like this:

    [root@server ~]# lsmod | grep nvidia
    nvidia               7843368  38
    i2c_core               56129  8 nvidia,i2c_ec,wm8775,cx25840,tuner,ivtv,i2c_algo_bit,tveeprom
    [root@server ~]#

    To make sure we can do a second check…

    dmesg | grep -i nvidia

    … which should output something like this

    [root@server ~]# dmesg | grep -i nvidia
    ACPI: RSDP (v002 Nvidia                                ) @ 0x00000000000f7280
    ACPI: XSDT (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x00000000cfee3100
    ACPI: FADT (v003 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x00000000cfeed400
    ACPI: HPET (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000098) @ 0x00000000cfeed8c0
    ACPI: MCFG (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x00000000cfeed940
    ACPI: MADT (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x00000000cfeed540
    ACPI: DSDT (v001 NVIDIA ASUSACPI 0x00001000 MSFT 0x03000000) @ 0x0000000000000000
    nvidia: disagrees about version of symbol struct_module
    nvidia: module license 'NVIDIA' taints kernel.
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module  177.82  Tue Nov  4 16:50:05 PST 2008
    [root@server ~]#

URL: http://www.snetram.nl/2009/07/installing-the-nvidia-linux-drivers-in-a-xen-enabled-kernel/

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
85 Computer AjaxPlorer 4.2.0 매뉴얼 [한글관련 설정] LionHeart 2014.10.02 134551
84 OS apache, cBand module LionHeart 2014.10.01 113397
83 OS Apache, DDoS 방어모듈 1 LionHeart 2014.10.01 169814
82 Information MONSTA web FTP LionHeart 2014.10.01 134854
81 Information 404 NOT FOUND file LionHeart 2014.09.30 70493
80 OS Windows 8.1 administrator 계정 활성화 명령어 LionHeart 2014.09.25 150823
79 Android [ 유니티3D엔진 ] 유니티 4.3.4 -> 4.2.2 다운그레이드 badung007 2014.09.20 80128
78 OS Doly의 CentOS7 강좌16 6. CentOS 네트워크 1 - 개념, 2 - 이더넷 설정 LionHeart 2014.09.11 100124
77 OS CentOS 6.5 네트워크 설정 완전 초기화 LionHeart 2014.09.06 134043
76 OS vsftpd 접속할때 500 OOPS : child died 에러날때 LionHeart 2014.09.06 71662
75 OS DHCP 서버와 IP 마스크레이드 1 LionHeart 2014.09.01 123727
74 OS [SQL] mysql 에서 bigint(20), int(11) 의 의미 badung007 2014.08.28 87017
73 OS [SQL] mysql 에서 CHAR(40) 와 VARCHAR(40) 의 성능 차이 3 badung007 2014.08.28 73560
72 OS bind 9 리눅스 네임서버 설정방법 LionHeart 2014.08.27 89147
71 OS SULinux 2.0 웹서버(Apache) 설정 및 운영 LionHeart 2014.08.26 154409
70 OS 리눅스 - 아파치 2.x 트래픽 제한 LionHeart 2014.08.26 225128
69 IOS [ 유니티3D엔진 ] Object serializing in Unity on iOS devices. badung007 2014.08.26 65922
68 IOS [ 유니티3D엔진 ] XML Serialize Encrypt/Decrypt. badung007 2014.08.26 85547
67 IOS [ 유니티3D엔진 ] 유니티의 iOS 빌드는 왜 다른가? badung007 2014.08.26 74509
66 OS CentOS USB install (USB로 CentOS 설치하기) LionHeart 2014.08.22 111848
Board Pagination ‹ Prev 1 ... 3 4 5 6 7 8 9 10 11 12 Next ›
/ 12