Results 1 to 8 of 8

Thread: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Sep 2010
    Posts
    3

    Default Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    When i execute pyrit inside X my screen turns black, also it does not respond to me trying to close X. Have to restart box to restore X. Upon start up I tried pyrit selftest/benchmark which were all great. 12000 k/s. Self test ok. However I get a seg fault with anything I run bascially. I have tried nearly every application that has cuda support with the same result. Aircrack-ng was giving me a different error iirc. However with X dying everytime i try to use CUDA I do not have a screen shot of the error. Hopefully when I fix CUDA with the other applications it will work with aircrack-ng as well.
    Nvidia 260
    Q9550
    BT r1

    Thanks in Advance.

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    We are working to get this issue resolved, please stay tuned.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    Actually your problem is not backtrack related. the Nvidia 260 drivers are buggy and do not work well with any CUDA tools. If you want them to work you will need to revert back to 256 drivers which is what i base the backtrack builds on.

  4. #4
    Just burned his ISO
    Join Date
    Sep 2010
    Posts
    3

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    I was also missing pycuda but all is working now... I wish I had realised everything I needed was in the repos... thanks for the help.

    well it was working now im getting this..

    File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 110, in initFromArgv
    func(self, **options)
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 148, in new_f
    f(*args, **kwds)
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 709, in attack_passthrough
    with cpyrit.util.PassthroughIterator(essid, reader) as rstiter:
    File "/usr/lib/python2.5/site-packages/cpyrit/util.py", line 175, in __init__
    self.cp = cpyrit.CPyrit()
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 450, in __init__
    self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 243, in __init__
    _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
    SystemError: CUDA_ERROR_UNKNOWN
    Last edited by InsertCleverNameHere; 09-30-2010 at 09:08 AM.

  5. #5
    Just burned his ISO
    Join Date
    Sep 2010
    Posts
    20

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    Quote Originally Posted by InsertCleverNameHere View Post
    I was also missing pycuda but all is working now... I wish I had realised everything I needed was in the repos... thanks for the help.

    well it was working now im getting this..

    File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 110, in initFromArgv
    func(self, **options)
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 148, in new_f
    f(*args, **kwds)
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 709, in attack_passthrough
    with cpyrit.util.PassthroughIterator(essid, reader) as rstiter:
    File "/usr/lib/python2.5/site-packages/cpyrit/util.py", line 175, in __init__
    self.cp = cpyrit.CPyrit()
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 450, in __init__
    self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 243, in __init__
    _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
    SystemError: CUDA_ERROR_UNKNOWN
    I get a similar error to what you get, see;
    Code:
    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 116, in initFromArg      v
        func(self, **options)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 164, in new_f
        f(*args, **kwds)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 989, in attack_batc      h
        with cpyrit.util.StorageIterator(storage, essid) as dbiter:
      File "/usr/lib/python2.5/site-packages/cpyrit/util.py", line 119, in __init__
        self.cp = cpyrit.CPyrit() if yieldNewResults else None
      File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 450, in __init_      _
        self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))
      File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 243, in __init_      _
        _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
    SystemError: CUDA_ERROR_UNKNOWN
    The last parts is the same at least..
    I found a workaround that works for me, and that is to stop X and reinstall the nVidia drivers. The error can occur again after x amount of reboots of the system.
    Maybe it works for you?
    Do you have any take on what might be wrong purehate?

  6. #6
    Member
    Join Date
    Feb 2009
    Location
    0,0
    Posts
    90

    Default

    I think I just broke something also:

    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 116, in initFromArgv
    func(self, **options)
    File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 1274, in verify
    with cpyrit.cpyrit.CPyrit() as cp:
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 450, in __init__
    self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))
    File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 243, in __init__
    _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
    SystemError: CUDA_ERROR_UNKNOWN

    This is with Pyrit 0.3.1-dev (svn r281) using a Nvidia GTX 260M 1GB card. I'm not sure where I went wrong. At first I thought it was a garbled database......hmm as I'm typing this I was switching kernels with my NVIDIA driver (256.53), I wonder if that messed something up.

    It was driver related in my case. I hope this helps someone out if they come across this error. I installed the beta NVIDIA-Linux-x86-260.19.04 and it seems to work. I'm not sure the driver is all that great since it is in beta but it fixed the problem
    Last edited by Archangel-Amael; 10-13-2010 at 09:06 AM.

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    Whatever you guys are doing its not the driver, I have used pyrit with all the last nvidia-driver versions this year.

  8. #8
    Good friend of the forums espreto's Avatar
    Join Date
    Mar 2010
    Location
    Brazil
    Posts
    303

    Default Re: Multiple CUDA issues. Seg fault caused by pyrit cowpatty and aircrack.

    I know that my post not has the solution to the problem, but I found interesting to put the link here.
    Had posted on my twitter this morning!

    CUDA, Supercomputing for the Masses: Part 1 until Part 20
    http://www.drdobbs.com/architecture-...sign/207200659

    @Mods:
    Can delete the post if they feel necessary.

    Regards,
    (gdb) disass m(y_br)ain

    ®

Similar Threads

  1. Pyrit Python2.5 segment fault when using CUDA
    By Loser3000 in forum Experts Forum
    Replies: 6
    Last Post: 09-23-2010, 11:55 AM
  2. pyrit with CUDA support not showing CUDA cores
    By kill_box001 in forum Beginners Forum
    Replies: 7
    Last Post: 08-14-2010, 06:29 PM
  3. Pyrit 0.3.1 segmentation fault
    By scarleo in forum Beginners Forum
    Replies: 4
    Last Post: 03-03-2010, 11:53 PM
  4. Aircrack-ng and Cowpatty WPA cracking and Antenna issues.
    By 9Shenadoah in forum OLD Newbie Area
    Replies: 0
    Last Post: 01-28-2010, 05:30 PM
  5. coWPAtty segmentation fault error
    By michal in forum OLD BT4beta Software Related Issues
    Replies: 7
    Last Post: 05-19-2009, 12:50 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
  •