Results 1 to 19 of 19

Thread: Install Nvidia Cuda and Pyrit

  1. #1
    Join Date
    2013-Jul
    Posts
    1

    Install Nvidia Cuda and Pyrit

    Hey all!

    I am a newb, and after hours (and hours) of searching for answers to this online, and not finding a real solution I decided to create a how-to of the steps I took to get Cuda and Pyrit working on my machines.

    To start off I have 2 machines:

    Phenom II 980 BE / GTX 570
    FX-8150 / GTX 680

    I have tested this on both machines.

    Second, the starting point to these instructions is a clean install of 1.0.4 i386 (It should work the same with x64, but since the 32-bit version has PAE, I didn't feel the need to run a 64-bit OS)




    What you will need:

    Nvidia Cuda Toolkit https://developer.nvidia.com/cuda-toolkit
    I used the Version 5.5 Self Extracting Installer for 32-Bit OS.

    pyrit http://pyrit.googlecode.com
    cpyrit http://pyrit.googlecode.com






    Let's get started!

    First thing we need to do is to make sure the kernel headers are installed

    Code:
    apt-get upate && apt-get install -y linux-headers-$(uname -r)
    Then we need to disable the builtin linux drivers, save the changes to grub and reboot to unload them.

    Code:
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot
    Once the computer reboots. DO NOT log back into the GDM. Instead press CTRL + ALT + F1 and log into the command prompt.

    In order to install the Nvidia drivers, you need to shut down the gdm service by typing this

    Code:
    service gdm3 stop
    Now we are ready to install the nVidia driver and Cuda Toolset.




    CD to the directory that you downloaded the Nvidia drivers to and type the following commands. (this is for the version that I downloaded. If you have a different version, put the correct file name in for yours)

    Code:
    chmod 755 cuda-5.5.11-linux_32.run
    ./cuda-5.5.11-linux_32.run
    At this point scroll through the EULA (space to move a page at a time, enter for a line at a time) and accept the agreement.

    You will get a warning that this is not a supported version of Linux, do you want to continue. Type Y and press enter.

    I took the defaults for the rest of the options.

    Hopefully at this point you should (after a couple minutes) get a message saying that the install was successful. Yay!

    Go ahead and type

    Code:
     
    reboot
    Once your computer comes back up, you will probably see a blank black screen with a cursor flashing in the top left corner. Don't worry, it's not a bad thing, and nothing is gone.

    Simply press CTRL + ALT + F1 and login.

    Type the following

    Code:
    nvidia-xconfig
    reboot
    You should now be able to log in using the gdm GUI.




    The hard part is done!

    A few more minutes and you will be up and running with pyrit using your GPU's.!


    Open a terminal shell and cd to the directory that you downloaded the pyrit files to.

    Type the following to extract them. Remember to change the file name if you have a different version.

    Code:
    tar -xvzf pyrit-0.4.0.tar.gz
    tar -xvzf cpyrit-cuda-0.4.0.tar.gz
    For the sake of brevity I will just type all of the next steps into a single code box. But just understand that I am adding a couple packages that are necessary to compile / run. Then installing pyrit and cpyrit. These are the commands I used, and the files were in my /root/ directory.

    Code:
    apt-get install python2.7-dev python2.7-libpcap libpcap-dev
    
    cd /pyrit-0.4.0/
    python setup.py build
    python setup.py install
    
    cd
    
    cd /cpyrit-cuda-0.4.0/
    python setup.py build
    python setup.py install
    
    pyrit list_cores
    If all went well, you should have a list of available processors, including your GPU(s)!!

    bench_result.jpg

  2. #2
    Join Date
    2013-Mar
    Posts
    12
    nice work man...

  3. #3
    Join Date
    2013-May
    Posts
    12

    still stuck..

    i still get the blank screen, blinking underscore top left of screen after installing Nvidia driver/cuda tools - yes ive done the nvidia-xconfig command.

    Every god **** time!
    ive tried alot of different methods, mostly they all look the same.
    i've also tried this http://forums.kali.org/showthread.php?18178

    Ive tried the install on my laptop nvidia 610m and desktop GTX570

    Any ideas?

  4. #4
    Join Date
    2013-May
    Posts
    12
    No drivers detected - Story of my life now..


    [ 20.857]
    X.Org X Server 1.12.4
    Release Date: 2012-08-27
    [ 20.857] X Protocol Version 11, Revision 0
    [ 20.857] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
    [ 20.857] Current Operating System: Linux kali 3.7-trunk-686-pae #1 SMP Debian 3.7.2-0+kali8 i686
    [ 20.857] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.7-trunk-686-pae root=UUID=25da3bd9-2c83-4744-8a45-ecd5f53f2978 ro nomodeset
    [ 20.857] Build Date: 17 April 2013 11:13:16AM
    [ 20.857] xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>)
    [ 20.857] Current version of pixman: 0.26.0
    [ 20.857] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 20.857] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 20.857] (==) Log file: "/var/log/Xorg.5.log", Time: Sat Aug 3 21:54:50 2013
    [ 20.857] (==) Using config file: "/etc/X11/xorg.conf"
    [ 20.858] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 20.858] (==) ServerLayout "Layout0"
    [ 20.858] (**) |-->Screen "Screen0" (0)
    [ 20.858] (**) | |-->Monitor "Monitor0"
    [ 20.858] (**) | |-->Device "Device0"
    [ 20.858] (**) |-->Input Device "Keyboard0"
    [ 20.858] (**) |-->Input Device "Mouse0"
    [ 20.858] (==) Automatically adding devices
    [ 20.858] (==) Automatically enabling devices
    [ 20.858] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [ 20.858] Entry deleted from font path.
    [ 20.859] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
    [ 20.859] Entry deleted from font path.
    [ 20.859] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [ 20.859] Entry deleted from font path.
    [ 20.859] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
    [ 20.859] Entry deleted from font path.
    [ 20.859] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [ 20.859] Entry deleted from font path.
    [ 20.859] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
    [ 20.859] Entry deleted from font path.
    [ 20.859] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
    [ 20.859] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 20.859] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 20.859] (WW) Disabling Keyboard0
    [ 20.859] (WW) Disabling Mouse0
    [ 20.859] (II) Loader magic: 0xb778c5a0
    [ 20.859] (II) Module ABI versions:
    [ 20.859] X.Org ANSI C Emulation: 0.4
    [ 20.859] X.Org Video Driver: 12.1
    [ 20.859] X.Org XInput driver : 16.0
    [ 20.859] X.Org Server Extension : 6.0
    [ 20.860] (--) PCI:*(0:0:2:0) 8086:0166:1043:1457 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
    [ 20.860] (--) PCI: (0:1:0:0) 10de:1058:1043:1457 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 20.860] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 20.860] (II) LoadModule: "extmod"
    [ 20.861] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 20.861] (II) Module extmod: vendor="X.Org Foundation"
    [ 20.861] compiled for 1.12.4, module version = 1.0.0
    [ 20.861] Module class: X.Org Server Extension
    [ 20.861] ABI class: X.Org Server Extension, version 6.0
    [ 20.861] (II) Loading extension SELinux
    [ 20.861] (II) Loading extension MIT-SCREEN-SAVER
    [ 20.861] (II) Loading extension XFree86-VidModeExtension
    [ 20.861] (II) Loading extension XFree86-DGA
    [ 20.861] (II) Loading extension DPMS
    [ 20.861] (II) Loading extension XVideo
    [ 20.861] (II) Loading extension XVideo-MotionCompensation
    [ 20.861] (II) Loading extension X-Resource
    [ 20.861] (II) LoadModule: "dbe"
    [ 20.862] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 20.862] (II) Module dbe: vendor="X.Org Foundation"
    [ 20.862] compiled for 1.12.4, module version = 1.0.0
    [ 20.862] Module class: X.Org Server Extension
    [ 20.862] ABI class: X.Org Server Extension, version 6.0
    [ 20.862] (II) Loading extension DOUBLE-BUFFER
    [ 20.862] (II) LoadModule: "glx"
    [ 20.862] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 20.875] (II) Module glx: vendor="NVIDIA Corporation"
    [ 20.875] compiled for 4.0.2, module version = 1.0.0
    [ 20.875] Module class: X.Org Server Extension
    [ 20.875] (II) NVIDIA GLX Module 319.37 Wed Jul 3 18:40:15 PDT 2013
    [ 20.875] (II) Loading extension GLX
    [ 20.875] (II) LoadModule: "record"
    [ 20.875] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 20.875] (II) Module record: vendor="X.Org Foundation"
    [ 20.875] compiled for 1.12.4, module version = 1.13.0
    [ 20.875] Module class: X.Org Server Extension
    [ 20.875] ABI class: X.Org Server Extension, version 6.0
    [ 20.875] (II) Loading extension RECORD
    [ 20.875] (II) LoadModule: "dri"
    [ 20.875] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 20.875] (II) Module dri: vendor="X.Org Foundation"
    [ 20.875] compiled for 1.12.4, module version = 1.0.0
    [ 20.875] ABI class: X.Org Server Extension, version 6.0
    [ 20.875] (II) Loading extension XFree86-DRI
    [ 20.875] (II) LoadModule: "dri2"
    [ 20.875] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 20.876] (II) Module dri2: vendor="X.Org Foundation"
    [ 20.876] compiled for 1.12.4, module version = 1.2.0
    [ 20.876] ABI class: X.Org Server Extension, version 6.0
    [ 20.876] (II) Loading extension DRI2
    [ 20.876] (II) LoadModule: "nvidia"
    [ 20.876] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 20.876] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 20.876] compiled for 4.0.2, module version = 1.0.0
    [ 20.876] Module class: X.Org Video Driver
    [ 20.876] (II) NVIDIA dlloader X Driver 319.37 Wed Jul 3 18:18:35 PDT 2013
    [ 20.876] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 20.876] (++) using VT number 7

    [ 20.879] (EE) No devices detected.
    [ 20.879]
    Fatal server error:
    [ 20.879] no screens found
    [ 20.879]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 20.879] Please also check the log file at "/var/log/Xorg.5.log" for additional information.
    [ 20.879]

  5. #5
    Join Date
    2013-Aug
    Posts
    6
    Try this code:
    rm /etc/X11/xorg.conf
    reboot

  6. #6
    Join Date
    2013-May
    Posts
    12
    Quote Originally Posted by kali75 View Post
    Try this code:
    rm /etc/X11/xorg.conf
    reboot

    lol, i dont care about removing the startup conf; it doesnt answer/help my question.

  7. #7
    Join Date
    2013-Aug
    Posts
    6
    I solved in this way.
    After installing correctly cuda toolkit 5.5 I see black screen but CTRL + ALT + F1 and login. Then:
    rm /etc/X11/xorg.conf
    nano ~/.bashrc
    change the PATH= and add these lines to the end (after the last fi) so it looks like this:

    PATH=$PATH:/usr/local/cuda-5.5/bin
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.5/lib
    export PATH
    export LD_LIBRARY_PATH

    exit nano and save changes.

    source /root/.bashrc
    ldconfig
    reboot

    Now you can continue the second part of silverwrath's guide."The hard part is done!"............good lucky

  8. #8
    Join Date
    2013-Mar
    Posts
    31
    Quote Originally Posted by Philly View Post
    i still get the blank screen, blinking underscore top left of screen after installing Nvidia driver/cuda tools - yes ive done the nvidia-xconfig command.

    Every god **** time!
    ive tried alot of different methods, mostly they all look the same.
    i've also tried this http://forums.kali.org/showthread.php?18178

    Ive tried the install on my laptop nvidia 610m and desktop GTX570

    Any ideas?
    IMO never, but never you should issue the nvidia-xconfig command once the nvidia drivers have been installed. This will mess up you xconfig and boom, your gui just vanished.

    I've ran into the same nvidia cuda and pyrit situation having a dell latitude 6430 with nvidia quadro nvs 5200 but after weeks of searching and trying I've successfully managed to have them installed and working following this:

    http://pentestconsultancy.blogspot.c...a-cuda-55.html

  9. #9
    Join Date
    2013-May
    Posts
    12
    Quote Originally Posted by Amidamaru View Post
    IMO never, but never you should issue the nvidia-xconfig command once the nvidia drivers have been installed. This will mess up you xconfig and boom, your gui just vanished.

    I've ran into the same nvidia cuda and pyrit situation having a dell latitude 6430 with nvidia quadro nvs 5200 but after weeks of searching and trying I've successfully managed to have them installed and working following this:

    http://pentestconsultancy.blogspot.c...a-cuda-55.html
    So if i dont use the nvidia-xconfig command, how does my video card get selected at boot?

    The blog is good, but it has nothing i havn't seen before to help me, sorry.

  10. #10
    Join Date
    2013-Aug
    Posts
    12

    Talking Ed

    Quote Originally Posted by Philly View Post
    So if i dont use the nvidia-xconfig command, how does my video card get selected at boot?

    The blog is good, but it has nothing i havn't seen before to help me, sorry.





    I have tried at least 5 diferent methods on this, but this post finally worked for me. I have an NVIDIA GeForce 610M (a hybrid card) on an asus.. Follow this exactly and i hope it works for you;
    http://www.hackdig.com/?07/hack-4577.htm

  11. #11
    Join Date
    2013-May
    Posts
    12
    I just tried that one from Hackdig, up to the install of nvidia-cuda-toolkit, and receive the following error:

    Code:
    root@Phill:~# apt-get install nvidia-cuda-toolkit 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Suggested packages:
      libcupti-dev
    The following NEW packages will be installed:
      nvidia-cuda-toolkit
    0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
    51 not fully installed or removed.
    Need to get 0 B/21.1 MB of archives.
    After this operation, 49.9 MB of additional disk space will be used.
    (Reading database ... 286399 files and directories currently installed.)
    Unpacking nvidia-cuda-toolkit (from .../nvidia-cuda-toolkit_4.2.9-2_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/nvidia-cuda-toolkit_4.2.9-2_i386.deb (--unpack):
     trying to overwrite '/usr/bin/bin2c', which is also in package winexe 1.1~20130620-0kali4
    Errors were encountered while processing:
     /var/cache/apt/archives/nvidia-cuda-toolkit_4.2.9-2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Phill:~#

  12. #12
    Join Date
    2013-Aug
    Posts
    7
    Hi Guys
    Just wanted to know if: before installing cuda,cudadrivers etc... must the "normal graphics driver" be installed?
    Ive followed the instructions and installed cuda,pyrit and the cuda driver. But when i go to the systemsettings,Nvidia X server settings an error pop up shows : You do not appear to be using the X Driver. Please edit your X configuration file (Just run nvidia xconfig as root and restart the X server). and when i do this the error with the blinking cursor appears.
    I fixed to get the GUI back thx to Kali75 post.
    Quote Originally Posted by kali75 View Post
    I solved in this way.
    After installing correctly cuda toolkit 5.5 I see black screen but CTRL + ALT + F1 and login. Then:
    rm /etc/X11/xorg.conf
    nano ~/.bashrc
    change the PATH= and add these lines to the end (after the last fi) so it looks like this:

    PATH=$PATH:/usr/local/cuda-5.5/bin
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.5/lib
    export PATH
    export LD_LIBRARY_PATH

    exit nano and save changes.

    source /root/.bashrc
    ldconfig
    reboot

    Now you can continue the second part of silverwrath's guide."The hard part is done!"............good lucky
    but the Nvidia X Server settings panel still brings the error message.
    Well im not shure if Cuda/Drivers are installed and working.

  13. #13
    Join Date
    2013-Aug
    Posts
    6
    Quote Originally Posted by Evilfisher View Post
    ...
    Well im not shure if Cuda/Drivers are installed and working.
    Executing 'pyrit list_cores' should list your GPUs and then 'pyrit benchmark'
    to test

  14. #14
    Join Date
    2013-Aug
    Posts
    7
    Thx Kali75
    It list's one cuda device and the Benchmark also shows that cuda is working.

    Greetings from Switzerland

  15. #15
    Join Date
    2013-Mar
    Posts
    57
    Hello,

    I having the problem that I cannot install the nvidia driver included in cuda file. I followed your guide step-by-step!
    I tried to install this CUDA drivers: http://developer.download.nvidia.com...2_linux_64.run

    kernel-headers are installed. System is 64bit with ia32-libs also installed.

    Graphiccard is a NVIDIA GTX780
    Code:
    VGA compatible controller [0300]: NVIDIA Corporation GK110 [GeForce GTX 780] [10de:1004] (rev a1) (prog-if 00 [VGA controller])
    	Subsystem: eVga.com. Corp. GK110B [GeForce GTX 780 SC w/ ACX Cooler] [3842:0784]

    here is the log:
    Code:
    Using more to view the EULA.
    Installing the NVIDIA display driver...
    Verifying archive integrity... OK
    
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 319.37......................................................................................................................................................................
    
    
    
    WARNING: One or more modprobe configuration files to disable Nouveau are
    
             already present at:
    
             /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be
    
             sure you have rebooted your system since these files were written.
    
             If you have rebooted, then Nouveau may be enabled for other
    
             reasons, such as being included in the system initial ramdisk or
    
             in your X configuration file.  Please consult the NVIDIA driver
    
             README and your Linux distribution's documentation for details on
    
             how to correctly disable the Nouveau kernel driver.
    
    
    
    
    
    Welcome to the NVIDIA Software Installer for Unix/Linux
    
    
    
    License accepted by command line option.
    
    Installing NVIDIA driver version 319.37.
    
    For some distributions, Nouveau can be disabled by adding a file in the
    
    modprobe configuration directory.  Would you like nvidia-installer to
    
    attempt to create this modprobe file for you? (Answer: Yes)
    
    
    
    One or more modprobe configuration files to disable Nouveau have been
    
    written.  For some distributions, this may be sufficient to disable
    
    Nouveau; other distributions may require modification of the initial
    
    ramdisk.  Please reboot your system and attempt NVIDIA driver installation
    
    again.  Note if you later wish to reenable Nouveau, you will need to delete
    
    these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
    
    
    
    Performing CC sanity check with CC="cc".
    
    Kernel source path: '/lib/modules/3.12-kali1-amd64/source'
    
    Kernel output path: '/lib/modules/3.12-kali1-amd64/build'
    
    Performing rivafb check.
    
    Performing nvidiafb check.
    
    Performing Xen check.
    
    Cleaning kernel module build directory.
    
    Building kernel module:
    
      Building: [                              ]   0%
      Building: [##                            ]   3%
    output omitted
      Building: [##############################] 100%
      Building: [##############################] 100%
    
    
    
    ERROR: Unable to build the NVIDIA kernel module.
    
    ERROR: Installation has failed.  Please see the file
    
           '/var/log/nvidia-installer.log' for details.  You may find
    
           suggestions on fixing installation problems in the README available
    
           on the Linux driver download page at www.nvidia.com.
    The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
    If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
    
    ===========
    = Summary =
    ===========
    
    Driver:   Installation Failed
    Toolkit:  Installation skipped
    Samples:  Installation skipped
    
    
    Logfile is /tmp/cuda_install_18487.log
    failed to build nvidia.ko module - Install.log

    http://pastebin.com/M6NSD2RK


    Can someone help me please? Do I need additional packages?
    Thanks in advance
    Last edited by tr00n3r; 2014-01-12 at 15:22.

  16. #16
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by tr00n3r View Post
    Hello,

    I having the problem that I cannot install the nvidia driver included in cuda file. I followed your guide step-by-step!
    I tried to install this CUDA drivers: http://developer.download.nvidia.com...2_linux_64.run

    kernel-headers are installed. System is 64bit with ia32-libs also installed.

    Graphiccard is a NVIDIA GTX780
    Code:
    VGA compatible controller [0300]: NVIDIA Corporation GK110 [GeForce GTX 780] [10de:1004] (rev a1) (prog-if 00 [VGA controller])
    	Subsystem: eVga.com. Corp. GK110B [GeForce GTX 780 SC w/ ACX Cooler] [3842:0784]

    here is the log:
    Code:
    Using more to view the EULA.
    Installing the NVIDIA display driver...
    Verifying archive integrity... OK
    
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 319.37......................................................................................................................................................................
    
    
    
    WARNING: One or more modprobe configuration files to disable Nouveau are
    
             already present at:
    
             /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be
    
             sure you have rebooted your system since these files were written.
    
             If you have rebooted, then Nouveau may be enabled for other
    
             reasons, such as being included in the system initial ramdisk or
    
             in your X configuration file.  Please consult the NVIDIA driver
    
             README and your Linux distribution's documentation for details on
    
             how to correctly disable the Nouveau kernel driver.
    
    
    
    
    
    Welcome to the NVIDIA Software Installer for Unix/Linux
    
    
    
    License accepted by command line option.
    
    Installing NVIDIA driver version 319.37.
    
    For some distributions, Nouveau can be disabled by adding a file in the
    
    modprobe configuration directory.  Would you like nvidia-installer to
    
    attempt to create this modprobe file for you? (Answer: Yes)
    
    
    
    One or more modprobe configuration files to disable Nouveau have been
    
    written.  For some distributions, this may be sufficient to disable
    
    Nouveau; other distributions may require modification of the initial
    
    ramdisk.  Please reboot your system and attempt NVIDIA driver installation
    
    again.  Note if you later wish to reenable Nouveau, you will need to delete
    
    these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
    
    
    
    Performing CC sanity check with CC="cc".
    
    Kernel source path: '/lib/modules/3.12-kali1-amd64/source'
    
    Kernel output path: '/lib/modules/3.12-kali1-amd64/build'
    
    Performing rivafb check.
    
    Performing nvidiafb check.
    
    Performing Xen check.
    
    Cleaning kernel module build directory.
    
    Building kernel module:
    
      Building: [                              ]   0%
      Building: [##                            ]   3%
    output omitted
      Building: [##############################] 100%
      Building: [##############################] 100%
    
    
    
    ERROR: Unable to build the NVIDIA kernel module.
    
    ERROR: Installation has failed.  Please see the file
    
           '/var/log/nvidia-installer.log' for details.  You may find
    
           suggestions on fixing installation problems in the README available
    
           on the Linux driver download page at www.nvidia.com.
    The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
    If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
    
    ===========
    = Summary =
    ===========
    
    Driver:   Installation Failed
    Toolkit:  Installation skipped
    Samples:  Installation skipped
    
    
    Logfile is /tmp/cuda_install_18487.log
    failed to build nvidia.ko module - Install.log

    http://pastebin.com/M6NSD2RK


    Can someone help me please? Do I need additional packages?
    Thanks in advance
    hi
    if my story can help you:
    i upgrade my kalix64 1.05 (with cuda enable) >> TO 1.06 and I tried to use "" cuda-installer-package "" (drivers+cuda_toolkit) && I also received same errors on the part about VIDEO DRIVER!

    I've ONLY installed the drivers (those last v.319.82) and kept my old cuda (5.5-11)
    https://imageshack.com/i/my2ne2p

    you could try to install the drivers (319.82) before &&
    cuda_toolkit JUMPING a video-drivers-part!
    maybe it works!

  17. #17
    Join Date
    2013-Mar
    Posts
    57
    I got it now!!!!!

    my way that worked:
    Installed latest driver from nvidia --> 319.82

    reboot

    and the run the ./cuda_5.5.22_linux_64.run -silent -driver

    reboot

    Code:
    root@ozo:~# pyrit benchmark
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    Running benchmark (56236.0 PMKs/s)... \ 
    
    Computed 56236.00 PMKs/s total.
    #1: 'CUDA-Device #1 'GeForce GTX 780'': 56589.2 PMKs/s (RTT 2.2)
    #2: 'CPU-Core (SSE2)': 652.2 PMKs/s (RTT 3.0)
    #3: 'CPU-Core (SSE2)': 646.3 PMKs/s (RTT 2.9)
    #4: 'CPU-Core (SSE2)': 645.6 PMKs/s (RTT 3.0)
    #5: 'CPU-Core (SSE2)': 650.0 PMKs/s (RTT 3.0)
    #6: 'CPU-Core (SSE2)': 646.7 PMKs/s (RTT 2.9)
    #7: 'CPU-Core (SSE2)': 654.0 PMKs/s (RTT 3.0)
    #8: 'CPU-Core (SSE2)': 660.8 PMKs/s (RTT 3.0)
    thanks for your help

  18. #18
    Join Date
    2014-Feb
    Posts
    2
    Hello,
    I have a problem while cracking with Pyrit:
    The core GeForce GTX 660 has died unexpectedly.

    I tried everything but im still getting this problem...

  19. #19
    Join Date
    2016-Dec
    Posts
    7
    running build
    running build_ext
    Compiling CUDA module using nvcc 8.0, V8.0.44...
    Executing '/usr/local/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu'
    nvcc fatal : Unknown option '-host-compilation'
    Traceback (most recent call last):
    File "setup.py", line 175, in <module>
    setup(**setup_args)
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
    File "setup.py", line 100, in run
    subprocess.check_call(nvcc_cmd, shell=True)
    File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '/usr/l

Similar Threads

  1. Help me to install nvidia cuda and pyrit and oclhashcat
    By su6z3r0 in forum General Archive
    Replies: 1
    Last Post: 2016-06-29, 21:54
  2. Nvidia Driver, Cuda Pyrit
    By wojtask12 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-10-18, 15:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •