Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Pyrit Cuda Nvidia Optimus Power Drain

  1. #11
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    6

    Default Re: Part II

    How do you delete your own posts?
    Last edited by Tentatio; 03-20-2012 at 05:21 PM. Reason: Can't delete it

  2. #12
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    6

    Cool Re: Pyrit Cuda Nvidia Optimus Power Drain

    Thank you so very much for the PERFECT guides! I tried Bumblebee, it just broke the kernel and wouldn't work right in BackTrack, and I couldn't get Cpyrit to work in Ubuntu 11.10... So pretty much boned without this post. Thanks again man.

    So I got bbswitch and the drivers working great, I did find that I had to throw in a modprobe -r nvidia to get it to drop power consumption after I had used bbswitch <<<ON.

    I'm assuming the Alienware you reference in this thread is the same machine as the one you reference in: this one? If that's the case, am I ok to apply "Graphics Driver fix" as well?

    If anyone is interested in the scripts:

    Code:
    #!/bin/bash
    modprobe -r nouveau
    modprobe -r nvidia
    modprobe bbswitch
    tee /proc/acpi/bbswitch <<<OFF
    Code:
    #!/bin/bash
    modprobe -r nouveau
    modprobe bbswitch
    tee /proc/acpi/bbswitch <<<ON
    Yes, -r nouveau is redundant once you start using them, but it doesn't seem to hurt anything and it makes it so I don't have to do things in particular order.

    I added the off script to my startup programs just to boot up on the right foot. For some reason on my rig (Asus U30SD, similar to but weaker than Snafu777's Alienware), my battery consumption is around 20000mW on Nouveau, 11000 with bbswitch off, and 16000 with bbswitch on. So it looks like Nouveau is just the devil on at least some of these machines....

    *don't forget the executable bit (chmod +x) if you use those scripts*

    *edit* turns out that adding the <<<OFF script to my startup programs has a pretty cool side effect. My consumption idles right around 10000 mW, right from boot, and when I run pyrit benchmark it jumps up to 50000 mW during the bench mark and then drops back down to 10000.

    So loading off, at least on my system seems to automate bbswitch just fine. Only difference I've really noticed is that it takes it a bit (5-10 seconds) to get up to full speed if I let it load automatically, so the short benchmark comes out a little bit lower than it does if I manually switch the nvidia drivers on before I start the test.
    Last edited by Tentatio; 03-20-2012 at 05:26 PM. Reason: Kinda cool after effect

  3. #13
    Senior Member
    Join Date
    Jul 2011
    Posts
    236

    Default Re: Tentatio

    Tentatio,

    Happy to hear its working for you my friend =)

    Yes, the same box for both posts.
    V/r,
    Snafu
    Pffbt..[quote]I made a discovery today. I found a computer. Wait a second, this is cool. It does what I want it to. If it makes a mistake, it's because I screwed it up. Not because it doesn't like me... Or feels threatened by me.. Or thinks I'm a smart ass.. [/quote]

  4. #14
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    7

    Question Re: Pyrit Cuda Nvidia Optimus Power Drain

    First off Thank You for the guide. Everything is fine until step j. When I run | root@bt:~# cd pyrit/pyrit && python setup.py build && python setup.py
    running build
    running build_py
    running build_ext
    building 'cpyrit._cpyrit_cpu' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.6/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)" -maes -mpclmul
    cpyrit/_cpyrit_cpu.c:35:26: error: openssl/hmac.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:36:25: error: openssl/md5.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:37:25: error: openssl/sha.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:38:25: error: openssl/aes.h: No such file or directory
    In file included from cpyrit/_cpyrit_cpu.c:42:
    cpyrit/_cpyrit_cpu.h:59: error: expected specifier-qualifier-list before ‘SHA_CTX’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
    cpyrit/_cpyrit_cpu.c:109: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:110: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:111: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:112: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:113: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:115: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:116: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:117: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:118: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:119: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:125: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:126: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:153: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:154: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:179: warning: implicit declaration of function ‘SHA1_Init’
    cpyrit/_cpyrit_cpu.c:179: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:180: warning: implicit declaration of function ‘SHA1_Update’
    cpyrit/_cpyrit_cpu.c:180: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:183: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:184: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘HMAC’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘EVP_sha1’
    cpyrit/_cpyrit_cpu.c:187: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:190: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:197: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:197: error: (Each undeclared identifier is reported only once
    cpyrit/_cpyrit_cpu.c:197: error: for each function it appears in.)
    cpyrit/_cpyrit_cpu.c:197: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:200: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:201: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:204: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:204: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:206: warning: implicit declaration of function ‘SHA1_Final’
    cpyrit/_cpyrit_cpu.c:208: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:213: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:215: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:219: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:224: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘CPUDevice_solve’:
    cpyrit/_cpyrit_cpu.c:300: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_openssl’:
    cpyrit/_cpyrit_cpu.c:655: warning: implicit declaration of function ‘EVP_md5’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_pke2tk_openssl’:
    cpyrit/_cpyrit_cpu.c:1015: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1015: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:1022: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1031: error: ‘ipad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1042: error: ‘opad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c: In function ‘ccmp_encrypt_openssl’:
    cpyrit/_cpyrit_cpu.c:1064: error: ‘AES_KEY’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1064: error: expected ‘;’ before ‘aes_ctx’
    cpyrit/_cpyrit_cpu.c:1070: warning: implicit declaration of function ‘AES_set_encrypt_key’
    cpyrit/_cpyrit_cpu.c:1070: error: ‘aes_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1071: warning: implicit declaration of function ‘AES_encrypt’
    Failed to build; Compiling without AES-NI
    building 'cpyrit._cpyrit_cpu' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.6/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
    cpyrit/_cpyrit_cpu.c:35:26: error: openssl/hmac.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:36:25: error: openssl/md5.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:37:25: error: openssl/sha.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:38:25: error: openssl/aes.h: No such file or directory
    In file included from cpyrit/_cpyrit_cpu.c:42:
    cpyrit/_cpyrit_cpu.h:59: error: expected specifier-qualifier-list before ‘SHA_CTX’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
    cpyrit/_cpyrit_cpu.c:109: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:110: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:111: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:112: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:113: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:115: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:116: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:117: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:118: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:119: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:125: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:126: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:153: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:154: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:179: warning: implicit declaration of function ‘SHA1_Init’
    cpyrit/_cpyrit_cpu.c:179: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:180: warning: implicit declaration of function ‘SHA1_Update’
    cpyrit/_cpyrit_cpu.c:180: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:183: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:184: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘HMAC’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘EVP_sha1’
    cpyrit/_cpyrit_cpu.c:187: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:190: error: ‘struct pmk_ctr’ has no member named ‘e2’

  5. #15
    Senior Member
    Join Date
    Jul 2011
    Posts
    236

    Default Re: SP1DER

    SP1DER,

    Since the pyrit part is the very last part let me ask a couple questions. I'm no where near on that level of understanding the printout, but I will try to guess my way through this with you. Sorry for such a late response, been very busy irl...

    Did you follow the guide in order step by step?

    Do you have a Nvidia GPU, if so which type?

    Have you tried more than once?

    Have you repeated the steps?

    Etc...

    How have u tried to troubleshoot this issue....
    V/r,
    Snafu
    Pffbt..[quote]I made a discovery today. I found a computer. Wait a second, this is cool. It does what I want it to. If it makes a mistake, it's because I screwed it up. Not because it doesn't like me... Or feels threatened by me.. Or thinks I'm a smart ass.. [/quote]

  6. #16
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    7

    Default Re: Pyrit Cuda Nvidia Optimus Power Drain

    I did follow your guide 3 times. I also tried purehate's guide a little while back, failed on the same command. When I do #lspci -v :01:00.0 VGA compatible controller: nVidia Corporation Device 0dcd (rev a1)
    Subsystem: Dell Device 04b8
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f0000000 (32-bit, non-prefetchable) [size=32M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=64M]
    I/O ports at 4000 [size=128]
    Expansion ROM at f2000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0
    I have a dell xps l702x with a 3gb nvidia card. I believe it is a gt555m. I'm not sure where to start troubleshooting as I am baffled by the error I get. I have even upgraded to a fresh install of the new kernel and I also get that same error. My best guess is that it is my card that is being difficult.

  7. #17
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    7

    Thumbs up Re: SP1DER

    Today I ran the new updates and tried a few more times. Here is my latest output of that command
    root@bt:~# cd pyrit/pyrit && python setup.py build && python setup.py
    running build
    running build_py
    running build_ext
    running build_scripts
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

    error: no commands supplied
    It seems to me I am forgetting something at the end? Gonna do a little research first. Do you think I should do another install and try it again?
    Running xps l702x quad core with nvidia gt555m

    Fixed it!! I was typing in the command without "install" at the end. Here's my benchmark,
    root@bt:~# pyrit benchmark
    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 (8221.7 PMKs/s)... \

    Computed 8221.73 PMKs/s total.
    #1: 'CUDA-Device #1 'GeForce GT 555M'': 6222.0 PMKs/s (RTT 2.8)
    #2: 'CPU-Core (SSE2/AES)': 377.5 PMKs/s (RTT 3.1)
    #3: 'CPU-Core (SSE2/AES)': 380.3 PMKs/s (RTT 3.2)
    #4: 'CPU-Core (SSE2/AES)': 378.9 PMKs/s (RTT 3.2)
    #5: 'CPU-Core (SSE2/AES)': 383.9 PMKs/s (RTT 3.2)
    #6: 'CPU-Core (SSE2/AES)': 380.3 PMKs/s (RTT 3.2)
    #7: 'CPU-Core (SSE2/AES)': 376.9 PMKs/s (RTT 3.2)
    #8: 'CPU-Core (SSE2/AES)': 383.2 PMKs/s (RTT 3.2)

    Thanks again Snafu for a perfect working guide to get my card working. I used the new kernel, the new nvidia driver, and the cuda you specified and it worked great. I'm still not sure what the first error meant but no worries now.
    Last edited by SP1DER; 04-04-2012 at 09:59 PM.

  8. #18
    Just burned his ISO
    Join Date
    Feb 2012
    Posts
    14

    Default Re: Pyrit Cuda Nvidia Optimus Power Drain

    I have encountered an issue installing pyrit on my machine (Acer Aspire 4830tg Intel core i5 4GB RAM Nvidia Geforce gt540m). I have BT5 R2 KDE 32 bit installed, and when trying to run the cd pyrit/pyrit && python setup.py build && setup.py install i come up with this list of errors. I have searched and searched and tried many things and have not been able to find out how to get this to work any help would be appreciated.

    Error:
    cpyrit/_cpyrit_cpu.c:35:26: error: openssl/hmac.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:36:25: error: openssl/md5.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:37:25: error: openssl/sha.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:38:25: error: openssl/aes.h: No such file or directory
    In file included from cpyrit/_cpyrit_cpu.c:42:
    cpyrit/_cpyrit_cpu.h:59: error: expected specifier-qualifier-list before ‘SHA_CTX’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
    cpyrit/_cpyrit_cpu.c:115: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:119: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:125: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:126: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:153: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:154: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:179: warning: implicit declaration of function ‘SHA1_Init’
    cpyrit/_cpyrit_cpu.c:179: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:180: warning: implicit declaration of function ‘SHA1_Update’
    cpyrit/_cpyrit_cpu.c:180: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:183: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:184: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘HMAC’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘EVP_sha1’
    cpyrit/_cpyrit_cpu.c:187: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:190: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:197: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:197: error: (Each undeclared identifier is reported only once
    cpyrit/_cpyrit_cpu.c:197: error: for each function it appears in.)
    cpyrit/_cpyrit_cpu.c:197: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:200: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:201: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:204: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:204: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:206: warning: implicit declaration of function ‘SHA1_Final’
    cpyrit/_cpyrit_cpu.c:208: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:213: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:215: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:219: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:224: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘CPUDevice_solve’:
    cpyrit/_cpyrit_cpu.c:300: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_openssl’:
    cpyrit/_cpyrit_cpu.c:655: warning: implicit declaration of function ‘EVP_md5’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_pke2tk_openssl’:
    cpyrit/_cpyrit_cpu.c:1015: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1015: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:1022: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1031: error: ‘ipad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1042: error: ‘opad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c: In function ‘ccmp_encrypt_openssl’:
    cpyrit/_cpyrit_cpu.c:1064: error: ‘AES_KEY’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1064: error: expected ‘;’ before ‘aes_ctx’
    cpyrit/_cpyrit_cpu.c:1070: warning: implicit declaration of function ‘AES_set_encrypt_key’
    cpyrit/_cpyrit_cpu.c:1070: error: ‘aes_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1071: warning: implicit declaration of function ‘AES_encrypt’
    Failed to build; Compiling without AES-NI
    building 'cpyrit._cpyrit_cpu' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-i686-2.6/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
    cpyrit/_cpyrit_cpu.c:35:26: error: openssl/hmac.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:36:25: error: openssl/md5.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:37:25: error: openssl/sha.h: No such file or directory
    cpyrit/_cpyrit_cpu.c:38:25: error: openssl/aes.h: No such file or directory
    In file included from cpyrit/_cpyrit_cpu.c:42:
    cpyrit/_cpyrit_cpu.h:59: error: expected specifier-qualifier-list before ‘SHA_CTX’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
    cpyrit/_cpyrit_cpu.c:109: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:110: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:111: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:112: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:113: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:115: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:116: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:117: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:118: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:119: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:125: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:126: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:153: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:154: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:179: warning: implicit declaration of function ‘SHA1_Init’
    cpyrit/_cpyrit_cpu.c:179: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:180: warning: implicit declaration of function ‘SHA1_Update’
    cpyrit/_cpyrit_cpu.c:180: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:183: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:184: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘HMAC’
    cpyrit/_cpyrit_cpu.c:187: warning: implicit declaration of function ‘EVP_sha1’
    cpyrit/_cpyrit_cpu.c:187: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:190: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
    cpyrit/_cpyrit_cpu.c:197: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:197: error: (Each undeclared identifier is reported only once
    cpyrit/_cpyrit_cpu.c:197: error: for each function it appears in.)
    cpyrit/_cpyrit_cpu.c:197: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:200: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:201: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c:204: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:204: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:206: warning: implicit declaration of function ‘SHA1_Final’
    cpyrit/_cpyrit_cpu.c:208: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:213: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c:215: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
    cpyrit/_cpyrit_cpu.c:219: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
    cpyrit/_cpyrit_cpu.c:224: error: ‘struct pmk_ctr’ has no member named ‘e2’
    cpyrit/_cpyrit_cpu.c: In function ‘CPUDevice_solve’:
    cpyrit/_cpyrit_cpu.c:300: error: ‘struct pmk_ctr’ has no member named ‘e1’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_openssl’:
    cpyrit/_cpyrit_cpu.c:655: warning: implicit declaration of function ‘EVP_md5’
    cpyrit/_cpyrit_cpu.c: In function ‘fourwise_pke2tk_openssl’:
    cpyrit/_cpyrit_cpu.c:1015: error: ‘SHA_CTX’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1015: error: expected ‘;’ before ‘ctx’
    cpyrit/_cpyrit_cpu.c:1022: error: ‘ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1031: error: ‘ipad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1042: error: ‘opad_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c: In function ‘ccmp_encrypt_openssl’:
    cpyrit/_cpyrit_cpu.c:1064: error: ‘AES_KEY’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1064: error: expected ‘;’ before ‘aes_ctx’
    cpyrit/_cpyrit_cpu.c:1070: warning: implicit declaration of function ‘AES_set_encrypt_key’
    cpyrit/_cpyrit_cpu.c:1070: error: ‘aes_ctx’ undeclared (first use in this function)
    cpyrit/_cpyrit_cpu.c:1071: warning: implicit declaration of function ‘AES_encrypt’
    error: command 'gcc' failed with exit status 1

  9. #19
    Just burned his ISO
    Join Date
    May 2010
    Posts
    1

    Default Re: Pyrit Cuda Nvidia Optimus Power Drain

    Hey W1K3D,
    Not sure if you've already fixed that problem but I had encountered a similar (probably the same) error a while ago. The instructions from this post helped fix it for me.
    http://www.backtrack-linux.org/forum...l=1#post219277

  10. #20
    Just burned his ISO
    Join Date
    Feb 2012
    Posts
    14

    Default Re: Pyrit Cuda Nvidia Optimus Power Drain

    Quote Originally Posted by fortknox View Post
    Hey W1K3D,
    Not sure if you've already fixed that problem but I had encountered a similar (probably the same) error a while ago. The instructions from this post helped fix it for me.
    http://www.backtrack-linux.org/forum...l=1#post219277
    Thank You, it worked like a charm

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Nvidia Optimus problem
    By s0me0ne in forum BackTrack 5 Beginners Section
    Replies: 8
    Last Post: 07-17-2011, 02:48 PM
  2. Nvidia 64 drivers / Cuda and pyrit
    By vvpalin in forum BackTrack 5 Beginners Section
    Replies: 7
    Last Post: 07-07-2011, 12:11 AM
  3. Nvidia optimus
    By amithiel in forum Beginners Forum
    Replies: 2
    Last Post: 02-10-2011, 09:26 AM
  4. 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
  5. pyrit CUDA nvidia Tutorial + Nvidia overclock instructions
    By purehate in forum OLD BT4beta HowTo's
    Replies: 155
    Last Post: 01-26-2010, 12:27 AM

Posting Permissions

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