Results 1 to 8 of 8

Thread: Pyrit and ATI-Stream

  1. #1
    Just burned his ISO HAL9000's Avatar
    Join Date
    Mar 2010
    Posts
    11

    Default Pyrit and ATI-Stream

    Hi All,

    I searched a lot in the forum but I did not find why Pyrit does not recognize the ATI core.
    So I would like to explain to you what I did.

    1. 1 I have installed the ATI drivers in BT4 final from the ati-driver-installer-10-2-x86.x86_64.run and it is working fine
    2. 2 I have installed the ATI_Stream_SDK_v2.01 and the installation was fine without any errors
    3. 3 I tried to execute pyrit list_cores


    An the result is the following:
    root@bt:~# pyrit list_cores
    Pyrit 0.2.5-dev (C) 2008, 2009 Lukas Lueg pyrit - Project Hosting on Google Code
    This code is distributed under the GNU General Public License v3

    Connecting to storage... connected

    The following cores seem available...
    #1: 'CPU-Core (SSE2)'
    #2: 'CPU-Core (SSE2)'

    Can someone help me to identify where the problem is?

    Thanks a lot.

  2. #2
    Member skinnypuppy's Avatar
    Join Date
    Jan 2010
    Location
    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    Posts
    154

    Default Re: Pyrit and ATI-Stream

    Did you install cpyrit-stream from the repos? Can you type the following from a command line:

    python -c "from _cpyrit import _cpyrit_stream"
    I may have been born with a silver spoon in my mouth but it does not mean I like to be spoon fed.

  3. #3
    Just burned his ISO HAL9000's Avatar
    Join Date
    Mar 2010
    Posts
    11

    Default Re: Pyrit and ATI-Stream

    Hi skinnypuppy,

    I think you are right the cpyrit_stream is missing....

    I tried your command but is not working properly

    root@bt:~# python -c "from _cpyrit import _cpyrit_stream"
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named _cpyrit
    root@bt:~#

    thanks for your help...

  4. #4
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    2

    Default Re: Pyrit and ATI-Stream

    The author of pyrit recomends the 10.1 driver as the 10.2 drivers has issues.

  5. #5
    Just burned his ISO LMNOParis's Avatar
    Join Date
    Mar 2010
    Posts
    23

    Default Re: Pyrit and ATI-Stream

    Quote Originally Posted by HAL9000 View Post
    Hi skinnypuppy,

    I think you are right the cpyrit_stream is missing....

    I tried your command but is not working properly

    root@bt:~# python -c "from _cpyrit import _cpyrit_stream"
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named _cpyrit
    root@bt:~#

    thanks for your help...
    I'm having this same issue. How can I install cpyrit_stream in this situation? I've tried installing the 10.1 and the 10.2 catalyst drivers.

  6. #6
    Just burned his ISO
    Join Date
    May 2010
    Posts
    2

    Default Re: Pyrit and ATI-Stream

    I'm having the issue too. It seems to be an incompatibility between pyrit and cpyrit-stream packages. pyrit files are under /usr/lib/python2.5/site-packages/cpyrit. There's a file named _cpyrit_cpu.so. You can import it from the python shell
    Code:
    python -c "from cpyrit import _cpyrit_cpu"
    cpyrit-stream files are installed under /usr/lib/python2.5/site-packages/_cpyrit, in particular _cpyrit_stream.so. I cannot import it.
    Code:
    python -c "from _cpyrit import _cpyrit_stream"
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named _cpyrit
    Nor from the cpyrit package
    Code:
    python -c "from cpyrit import _cpyrit_stream"
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: cannot import name _cpyrit_stream
    So I tried to copy it to cpyrit module
    Code:
    root@bt:/usr/lib/python2.5/site-packages/cpyrit# cp ../_cpyrit/_cpyrit_stream.so .
    Now if you start pyrit the module is found... but...
    Code:
    # pyrit list_cores
    Pyrit 0.2.5-dev (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3
    
    Connecting to storage... connected
    
    WARNING: Version mismatch between <module 'cpyrit._cpyrit_cpu' from '/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_cpu.so'> ('0.2.5-dev') and <module 'cpyrit._cpyrit_stream' from '/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_stream.so'> ('unknown')
    
    Traceback (most recent call last):
      File "/usr/bin/pyrit", line 6, in <module>
        pyrit_cli.Pyrit_CLI().initFromArgv()
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 114, in initFromArgv
        func(self, **options)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 259, in list_cores
        from cpyrit import cpyrit
      File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 171, in <module>
        class StreamCore(Core, _cpyrit_stream.StreamDevice):
    AttributeError: 'module' object has no attribute 'StreamDevice'
    They seem incompatible. Are they from different software versions?

  7. #7
    Just burned his ISO Camarok's Avatar
    Join Date
    Oct 2010
    Location
    Southeast WI
    Posts
    2

    Default Re: Pyrit and ATI-Stream

    Trying to figure out the same thing. Subscribing.

  8. #8
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: Pyrit and ATI-Stream

    This may help. Not sure if you may have looked at it already or not.
    ati-driver-|-stream-sdk-2-2-opencl-1-1-|-cal-|-cpyrit_calpp-|.html
    Haven't tried it myself. ATI drivers have been broken since bt4-final. I haven't tried the method myself as I haven't need to run pyrit or OCLhashcat in awhile. Before this write-up was around, I was booting a livecd of Pentoo64 solely for using pyrit because cpyrit works out of the box on that. Haven't needed to do that in some time also though. FYI backtrack is infinitely better than pentoo simply for the fact is it much more actively developed.

Similar Threads

  1. how to remove wordlists from pyrit data base
    By Li1_Monster in forum Beginners Forum
    Replies: 3
    Last Post: 03-09-2010, 03:28 AM
  2. pyrit configuration file
    By intertan in forum Beginners Forum
    Replies: 1
    Last Post: 03-01-2010, 06:26 AM
  3. Pyrit Update
    By joker5bb in forum Tool Requests
    Replies: 2
    Last Post: 02-23-2010, 07:07 PM
  4. Possible Pyrit bug.
    By Fiack Yiu in forum Beginners Forum
    Replies: 4
    Last Post: 02-22-2010, 11:59 PM
  5. pyrit database
    By Razack in forum Beginners Forum
    Replies: 1
    Last Post: 02-10-2010, 03:58 PM

Posting Permissions

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