rdavydov / pyrit

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

/bin/x86_64/clc not found, The core 'OpenCL-Device 'ATI RV770'' has died unexpectedly #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Running pyrit -r capture-file.cap -b bssid -i Dictionary-file.txt 
attack_passthrough

What is the expected output? What do you see instead?
I get this output when I runn the attack passthrough:
Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Parsing file '/home/george/firstwpa-01.cap' (1/1)...
46727 packets (46727 802.11-packets), 9 APs

Exception in thread OpenCL-Device 'ATI RV770':
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 111, in run
    self._testComputeFunction(101)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 100, in _testComputeFunction
    self.solve(Core.TV_ESSID, [Core.TV_PW] * i))):
SystemError: Failed to build kernel (CL_BUILD_PROGRAM_FAILURE):
sh: /bin/x86_64/clc: not found

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 106, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 143, in new_f
    f(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 647, in attack_passthrough
    for results in rstiter:
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/util.py", line 189, in next
    self.cp.enqueue(self.essid, self.workunits[-1])
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 484, in enqueue
    self._check_cores()
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 410, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'ATI RV770'' has died unexpectedly

What version of the product are you using? On what operating system?
Ubuntu 10.04 LTS
pyrit-0.3.0

Please provide any additional information below.
This is a similar problem which I saw in two other posts, and I took the advice 
of reinstalling the ATI Stream SDK and cpyrit-opencl-0.3.0, but it didn't make 
any difference. Sample files on the SDK seem to work fine. I'm able to run 
pyrit benchmark and I get a perfectly normal output:

Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Running benchmark (22105.7 PMKs/s)... / 

Computed 22215.97 PMKs/s total.
#1: 'OpenCL-Device 'ATI RV770'': 19578.5 PMKs/s (RTT 2.7)
#2: 'CPU-Core (SSE2)': 549.6 PMKs/s (RTT 2.8)
#3: 'CPU-Core (SSE2)': 506.9 PMKs/s (RTT 2.9)
#4: 'CPU-Core (SSE2)': 497.1 PMKs/s (RTT 3.0)
#5: 'Network-Clients': 0.0 PMKs/s (RTT 0.0)

I'm stumped. Thanks for any help.

Original issue reported on code.google.com by earthand...@gmail.com on 24 Oct 2010 at 6:33

GoogleCodeExporter commented 8 years ago
so 'benchmark' works but 'attack_passthrough' kicks the error '/bin/x86_64/clc: 
not found' ? This is hard to believe as both functions use exactly the same 
code-base

Original comment by lukas.l...@gmail.com on 24 Oct 2010 at 12:07

GoogleCodeExporter commented 8 years ago
any update here?

Original comment by lukas.l...@gmail.com on 31 Oct 2010 at 2:01

GoogleCodeExporter commented 8 years ago
Indeed. It turns out that I was running it with sudo and that was screwing it 
up somehow. It works perfectly fine now. Thanks for helping me clear up what I 
was doing wrong.

Original comment by earthand...@gmail.com on 1 Nov 2010 at 8:54

GoogleCodeExporter commented 8 years ago

Original comment by lukas.l...@gmail.com on 1 Nov 2010 at 10:08