메뉴 건너뛰기

라이온하트 2nd edition

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

조회 수 189905 추천 수 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
번호 분류 제목 글쓴이 날짜 조회 수
225 C# 이미지 영역 설정방법 LionHeart 2021.02.16 276220
224 OS PHP WebSocket (웹소켓) 라이브러리 Ratchet, ReactPHP, sandstone LionHeart 2021.01.28 272838
223 C# 표준편차 (볼린저밴드 구현을 위한) LionHeart 2015.04.29 260525
222 OS [스크랩] Nginx(1.9.5) 설치 및 성능테스트 LionHeart 2016.01.23 249555
221 C# FTP upload 기능 구현 LionHeart 2013.11.04 248406
220 C# libevent 및 libev로 네트워크 성능 향상 LionHeart 2013.10.23 226509
219 C# C# XML 쓰고 읽기 LionHeart 2015.02.10 225857
218 OS 리눅스 - 아파치 2.x 트래픽 제한 LionHeart 2014.08.26 225174
217 OS USB 저장장치에 의한 데이터 유출 방지 방법 1 LionHeart 2014.07.22 213671
216 C# How to encrypt and decrypt files using the AES encryption algorithm in C# LionHeart 2020.06.11 212901
215 C# C# FTP 종합 LionHeart 2013.11.04 211227
214 Information 텔레그램 봇(botfather) LionHeart 2018.03.16 205598
213 Android [유니티3D엔진] 안드로이드 유니티 연동_JNI badung007 2013.10.26 191246
» OS INSTALLING NVIDIA LINUX DRIVERS IN A XEN ENABLED KERNEL LionHeart 2014.08.21 189905
211 Information network simulator 3 (ns-3) overview LionHeart 2013.10.24 185555
210 OS Apache, DDoS 방어모듈 1 LionHeart 2014.10.01 169872
209 C# C# Simple FTP Class LionHeart 2014.01.29 169728
208 OS Realtek 8723be-bt 무선랜 드라이버 (한성 u44x ) LionHeart 2014.07.18 161407
207 OS [스크랩] RHEL/CentOS 7 에서 방화벽(firewalld) 설정하기 LionHeart 2016.01.29 159299
206 C# 웹캠 영상출력 LionHeart 2014.03.31 157159
Board Pagination ‹ Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next ›
/ 12