fekriomar / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

The core 'CUDA-Device #1 'GeForce GT 330M'' has died unexpectedly #343

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pyrit benchmark
2.
3.

What is the expected output? What do you see instead?
Expect to see a benchmark but get this error instead:
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Calibrating... Exception in thread CUDA-Device #1 'GeForce GT 330M':
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 113, in run
    self._testComputeFunction(101)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 103, in _testComputeFunction
    raise ValueError("Test-vector does not result in correct PMK.")
ValueError: Test-vector does not result in correct PMK.

Exception in thread CPU-Core (SSE2):
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 110, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 632, in _gather
    self._check_cores()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce GT 330M'' has died unexpectedly

Exception in thread CPU-Core (SSE2):
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 110, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 632, in _gather
    self._check_cores()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce GT 330M'' has died unexpectedly

Exception in thread CPU-Core (SSE2):
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 110, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 632, in _gather
    self._check_cores()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce GT 330M'' has died unexpectedly

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/Library/Python/2.7/site-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/Library/Python/2.7/site-packages/pyrit_cli.py", line 1182, in benchmark
    cp.enqueue('foo', ['barbarbar'] * 500)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 564, in enqueue
    self._check_cores()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce GT 330M'' has died unexpectedly

What version of the product are you using? On what operating system?
0.4.1

Please provide any additional information below.
Sorry guys no idea wether this is the CUDA driver or not.
Mac OS X Lion, Python 2.7, everything else installed as per:
http://easymactips.blogspot.com/2011/07/how-to-install-pyrit-cuda-on-mac.html

Original issue reported on code.google.com by charlesh...@gmail.com on 21 Aug 2011 at 1:36

GoogleCodeExporter commented 9 years ago
The first exception ("ValueError: Test-vector does not result in correct PMK.") 
is the real problem. The other error messages are just the other cores, killing 
themselves because another has died.

Every time you boot Pyrit, a small set of PMKs is computed on all the cores and 
compared to already-known values. If they do not match, your GPU (in this case) 
is computing incorrect results without any error condition signaled by the 
driver.

The cause of this may be bugs in the driver, a faulty GPU/RAM or aggressive 
overclocking. Check that you have installed the very latest version of the CUDA 
SDK and *the drivers that come with it*.
Besides that, there is little Pyrit can do about the situation: All error 
conditions that may be raised by the drivers are checked very carefully. Even 
then, your GPU is computing results that are simply incorrect.

Original comment by lukas.l...@gmail.com on 21 Aug 2011 at 9:10

GoogleCodeExporter commented 9 years ago
Hi Lukas;
Don't know what to tell you but....
I have installed the latest of everything (actually was all installed before). 
I have run every cud a test script I could find (all the ones from the Nvidia 
toolkit, http://wiki.tiker.net/PyCuda, some other scripts I found on the web... 
and they all run fine. I am not getting an error from any of them. PS 5 runs 
with CUDA enabled and doesn't mess up my pictures... 

I don't know man, but all the other CUDA enabled stuff I have try run seems to 
be fine.

sh-3.2# python test_pyrit.py 
Testing with filesystem-storage...
testAnalyze (__main__.FilesystemTestCase) ... (Skipped: Scapy not installed) ok
testAttackBatch (__main__.FilesystemTestCase) ... (Skipped: Scapy not 
installed) ok
testAttackCowpatty (__main__.FilesystemTestCase) ... (Skipped: Scapy not 
installed) ok
testAttackDB (__main__.FilesystemTestCase) ... (Skipped: Scapy not installed) ok
testAttackPassthrough (__main__.FilesystemTestCase) ... (Skipped: Scapy not 
installed) ok
testBatch (__main__.FilesystemTestCase) ... Exception in thread CUDA-Device #1 
'GeForce GT 330M':
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 113, in run
    self._testComputeFunction(101)
  File "/Library/Python/2.7/site-packages/cpyrit/cpyrit.py", line 103, in _testComputeFunction
    raise ValueError("Test-vector does not result in correct PMK.")
ValueError: Test-vector does not result in correct PMK.

Original comment by charlesh...@gmail.com on 23 Aug 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Re-installed scapy and libdnet - seems to work now.
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Running benchmark (3110.8 PMKs/s)... | 

Computed 3110.81 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce GT 330M'': 2070.4 PMKs/s (RTT 2.9)
#2: 'CPU-Core (SSE2)': 434.4 PMKs/s (RTT 3.1)
#3: 'CPU-Core (SSE2)': 434.1 PMKs/s (RTT 3.0)
#4: 'CPU-Core (SSE2)': 435.6 PMKs/s (RTT 3.1)

Original comment by charlesh...@gmail.com on 23 Aug 2011 at 4:18

GoogleCodeExporter commented 9 years ago
Scapy and libdnet should have zero impact on the CUDA-part. You should be very 
careful, as your RAM or your GPU might still be faulty. There have been several 
bug reports here that turned out to be related to hardware problems.

You should run 'selftest' from time to time to make sure that the problem 
really went away.

Original comment by lukas.l...@gmail.com on 23 Aug 2011 at 6:24