Changes between Version 69 and Version 70 of Xen_GPU_cluster
- Timestamp:
- Apr 14, 2009, 9:31:24 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_GPU_cluster
v69 v70 17 17 18 18 == 1.1 - Basic Environment == 19 19 20 # NVIDIA CUDA driver # [[BR]] 20 21 rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/drivers/NVIDIA-Linux-x86_64-180.22-pkg2.run [[BR]] 22 21 23 # NVIDIA CUDA toolkit # [[BR]] 22 24 rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/toolkit/cudatoolkit_2.1_linux64_ubuntu8.04.run [[BR]] 25 23 26 # NVIDIA CUDA SDK # [[BR]] 24 27 rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/SDK/cuda-sdk-linux-2.10.1215.2015-3233425.run [[BR]] … … 75 78 76 79 == 1.2 NVIDIA Driver !HowTo !OnNoneXenKernel == 80 77 81 # Rock said that the unknown identification of the VGA device might be the "pciids" problem. [[BR]] 78 82 Sol1: [[BR]] … … 124 128 }}} 125 129 126 rock@cloud:~$ less /usr/share/misc/pci.ids | grep 9800 [[BR]] 127 128 {{{ 129 0601 GeForce 9800 GT 512 130 0604 GeForce 9800 GX2 131 0605 GeForce 9800 GT 132 0612 GeForce 9800 GTX 133 0613 GeForce 9800 GTX+ 134 0614 GeForce 9800 GT 135 0617 GeForce 9800M GTX 136 10de GeForce 9800M GTX 137 }}} 138 rock@cloud:~$ sudo /etc/X11/xorg.conf [[BR]] 130 rock@cloud:~$ sudo vim /etc/X11/xorg.conf [[BR]] 139 131 {{{ 140 132 # Allocate the BusID for the VGA Device … … 150 142 }}} 151 143 152 rider@cloud:~$ export DISPLAY=:0 153 rider@cloud:~$ sudo glxinfo -display :0 144 rider@cloud:~$ export DISPLAY=:0 [[BR]] 145 rider@cloud:~$ sudo glxinfo -display :0 [[BR]] 154 146 {{{ 155 147 #It seems that the 3D accerlation works fine without any trouble. … … 188 180 189 181 == 1.3 NVIDIA Driver !HowTo !OnXenKernel == 182 190 183 ''In this case,we pick the driver Ver.180.22/180.44 x86_64 for Xen_Lustre kernel.''[[BR]] 191 184 # Test1- Success [[BR]] … … 208 201 }}} 209 202 210 # Test2- Testing [[BR]]203 # Test2- Testing failure [[BR]] 211 204 rider@cloud:~/nvidia/driver$ export IGNORE_XEN_PRESENCE=1 [[BR]] 212 205 rider@cloud:~/nvidia/driver$ export SYSSRC=/lib/modules/2.6.22.9/source [[BR]] … … 241 234 242 235 == 1.4 NVIDIA GPU !StatusCheck == 236 243 237 rock@cloud:~$ sudo nvidia-xconfig -query-gpu-info [[BR]] 244 238 {{{ … … 279 273 280 274 == 2.1 Xen_Kernel_config == 275 281 276 {{{ 282 277 CONFIG_XEN_PCIDEV_FRONTEND=y … … 286 281 CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set 287 282 }}} 283 288 284 == 2.2 DEV_IDs confirmation == 285 289 286 rider@cloud:~$ sudo lspci -vvn [[BR]] 290 287 {{{ … … 321 318 322 319 == 2.3 PCI Backend Configuration == 320 323 321 === 2.3.1 Binding at Boot === 322 324 323 # Important: You'll need to unload the NVIDIA driver before setting up the pci-backend. [[BR]] 325 324 rider@cloud:~$ sudo modprobe -r nvidia [[BR]] … … 330 329 331 330 === 2.3.2 Late Binding === 331 332 332 rider@cloud:~$ sudo modprobe -r nvidia [[BR]] 333 333 rider@cloud:~$ sudo vim /etc/modprobe.d/blacklist [[BR]] … … 358 358 359 359 === 2.3.3 Permissive Flag === 360 360 361 rider@cloud:~$ sudo vim /etc/xen/xend-pci-permissive.sxp [[BR]] 361 362 {{{ … … 367 368 368 369 === 2.3.4 User-space Quirks === 370 369 371 rider@cloud:~$ sudo vim /etc/xen/xend-pci-quirks.sxp [[BR]] 370 372 {{{ … … 379 381 380 382 === 2.3.5 PCI Frontend Configuration === 383 381 384 rider@cloud:~$ sudo vim /etc/xen/vm01.cfg [[BR]] 382 385 {{{ … … 418 421 install-method = debootstrap 419 422 size = 6Gb # Disk image size. 420 memory = 256Mb # Memory size423 memory = 512Mb # Memory size 421 424 swap = 128Mb # Swap size 422 425 fs = ext3 # use the EXT3 filesystem for the disk image. … … 572 575 = Part 4 Running 3D-Applications on Xen by using Virtualizing OpenGL = 573 576 574 == 4.1 Build VNC Serverfor Dom0 remote-desktop ==577 == 4.1 Build VNC for Dom0 remote-desktop == 575 578 576 579 # Try to set the locale environment variables as you met the locale problem. [[BR]] … … 636 639 }}} 637 640 638 == 4.2 Build VNC Serverfor DomU remote-desktop ==641 == 4.2 Build VNC for DomU remote-desktop == 639 642 640 643 # Try to set the locale environment variables as you met the locale problem. [[BR]] … … 667 670 }}} 668 671 rider@nv:~$ sudo /etc/init.d/gdm restart [[BR]] 669 670 === 4.2.1 Kernel Module ===671 672 rider@nv:~$ lsmod (Make sure that the "nvidia" module is loaded) [[BR]]673 {{{674 Module Size Used by675 nvidia 8105392 0676 i2c_core 24960 1 nvidia677 ipv6 248936 17678 fuse 43312 1679 }}}680 672 681 673 == 4.3 Build VMGL !HowTo == … … 712 704 lwm -> x-window-manager for VNC 713 705 }}} 706 714 707 rider@guest:~/vmgl$ wget http://www.cs.toronto.edu/~andreslc/software/vmgl-0.1.tar.bz2 [[BR]] 715 708 rider@guest:~/vmgl$ tar jxvf vmgl-0.1.tar.bz2 [[BR]] … … 723 716 rider@guest:~/vmgl/vmgl.hg$ make [[BR]] 724 717 rider@guest:~/vmgl/vmgl.hg$ sudo make install-guest [[BR]] 718 725 719 {{{ 726 720 ## Fix the rgb_Path problem. … … 737 731 rider@cloud:~$ /usr/local/bin/stub-daemon [[BR]] 738 732 rider@cloud:~$ netstat -tunlp [[BR]] 733 739 734 {{{ 740 735 Active Internet connections (only servers)