vga pci passthrough

페이지 정보

작성자 조희승 댓글 0건 조회 7,844회 작성일 12-08-17 14:55

본문

http://wiki.xen.org/xenwiki/NvidiaGPU
http://wiki.xensource.com/xenwiki/XenPCIpassthrough
http://wiki.xensource.com/xenwiki/XenVGAPassthrough
http://wiki.xensource.com/xenwiki/VTdHowTo
grub 설정에 필요한 사항
module /boot/vmlinuz-2.6.32.25 root=UUID=12345678-1234-1234-1234-123456789000 ro console=tty0 t
ext nomodeset xen-pciback.hide=(01:00.0)
Linux kernel 2.6.31 and further:
pci=resource_alignment=03:00.0 xen-pciback.hide=(03:00.0)
pciback.permissive pciback.hide=(00:1d.7)(00:1a.0)(00:1a.1)(00:1a.7)(00:1b.0) pci=resource_alignment=00:1a.7;00:1d.7
guest hvm의 설정에 추가
gfx_passthru=1
pci=['01:00.0']

guest VM에 cude 개발환경 설치
일단 kernel 설정에서 rivafp와 nvidiafp를 제거한다.
다시 컴파일하면, 리부팅 한번 해준다.
설치할 것은 아래 세가지를 순서대로...
devdriver_3.1_linux_64_256.40.run
cudatoolkit_3.1_linux_64_ubuntu9.10.run
gpucomputingsdk_3.2.16_linux.run
devdriver 설치할때 kernel source가 필요한데, dom0에서 kernel 소스와 build 소스가 필요하니, guest domain만든 소스를 guest의 disk쪽으로 복사하고, 위치를 잡아준다.
/lib/modules/2.6......./build 를 잡아주어야 함
gpucomputingsdk 설치할때
/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lglut
이런 에러가 나는데, 이건 가 lib들을 설치하여 준다.
끝에가 .so로 끝나도록 링크도 걸어줄 것
apt-get install libglu1-mesa libx11-6 libxi6 libxmu6 libglut3

댓글목록

등록된 댓글이 없습니다.