Hardware
CPU : Intel i7-3930K (Socket 2011, 12 cores with HT)
Display card : 2 x nVidia GeForce GTX 590 (1024 CUDA cores per card)
Installation of BackTrack 5 R2
BackTrack 5 R2 can be boot up on Intel X79 Express chipset motherboard with 2 nVidia GeForce GTX 590 display cards. However, "
nomodeset" should be applied to the boot option by pressing "tab" on the boot menu.Install the BackTrack 5 R2 as usual. When it is required to reboot, do not remove the BackTrack 5 R2 CD. Boot up the CD accordingly. After the BackTrack 5 R2 is booted up, mount the hard drive and add "
nomodeset" to boot option of the grub.cfg at /boot/grub.After that, reboot the system and remove the CD. The system will be boot into BackTrack 5 R2 without problem.
If the kernel is upgraded, you should rebuild the kernel headers by the following steps :
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/Installation of nVidia display driver
Go to nVidia Deleloper Zone CUDA Toolkit 4.1 to download the following. Do not enter to X11 by issuing "
startx"; otherwise, the installation will be failed.(1) Download "
Latest Drivers for Linux (295.20)" for the nVidia Driver. You can download the driver before not going to the X11.32-bit :
http://www.nvidia.com/object/linux-display-ia32-295.20-driver.html64-bit :
http://www.nvidia.com/object/linux-display-amd64-295.20-driver.htmlInstallation :
32-bit :
chmod +x NVIDIA-Linux-x86-295.20.run
./NVIDIA-Linux-x86-295.20.run64-bit :
chmod +x NVIDIA-Linux-x86_64-295.20.run
./NVIDIA-Linux-x86_64-295.20.runAfter that, you can reboot your system.
Then run the following command to make the suitable resolution :
nvidia-xconfig(2) Download "
CUDA Toolkit for Ubuntu Linux 10.04" for the CUDA Toolkit.32-bit :
wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_4.1.28_linux_32_ubuntu10.04.run64-bit :
wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_4.1.28_linux_64_ubuntu10.04.runchmod +x http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_4.1.28_linux_xx_ubuntu10.04.run*** Accept the default settings.
(3) Download "
GPU Computing SDK" for the nVidia SDK.wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/sdk/gpucomputingsdk_4.1.28_linux.runchmod +x gpucomputingsdk_4.1.28_linux.run
./gpucomputingsdk_4.1.28_linux.runnano /root/.bashrcAppend the following :
PATH=$PATH:/usr/local/cuda/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib:/usr/local/cuda/lib64
export PATH
export LD_LIBRARYsource /root/.bashrc
ldconfigAfter that, reboot the system to make the nVidia driver effect.
Compile Sample code of CUDA
apt-get install freeglut3-dev libxi-dev libXmu-devcd NVIDIA_GPU_computing_SDK/C
makeThen, run the sample codes at :
cd NVIDIA_GPU_computing_SDK/C/bin/linux/release
./deviceQuery
./nbodyInstallation of pyrit
Add the following to
/etc/apt/sources.list :deb http://security.ubuntu.com/ubuntu lucid-security mainapt-get updateapt-get libssl-dev scapy python-devThen, delete the newly added entry of the
sources.list.apt-get updateGo to the official site of pyrit.
cd ~svn checkout http://pyrit.googlecode.com/svn/trunk/ pyritcd pyrit
python setup.py build
python setup.py installcd cpyrit
python setup.py build
python setup.py installTo test if the installation is correct or not.
pyrit list_cores
pyrit benchmark
pyrit benchmark_longRemarks :
Fix the splash :
fix-splashInstall the sensors :
apt-get install sensors-appletPyrit Cluster Setup
John the Ripper Cluster Setup
See Also : HOWTO : Pyrit Cluster with BackTrack 5 R2
*** Whenever the linux kernel is updated or upgraded, the nVidia driver should be required to reinstalled to match the upgraded kernel version.
That's all! See you.
Before water cooling
After water cooling
