Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 22 May 2013 10:05:36 -0700 (PDT)
From: NeonFlash <psykosonik_frequenz@...oo.com>
To: "john-users@...ts.openwall.com" <john-users@...ts.openwall.com>
Subject: Re: JtR OpenCL - AMD GPU not listed

I was reading the john-dev mailing list and noticed that Solar Designer faced the same issue and was able to fix it by modifying the x86-64.h file and setting OS_TIMER to 0.

Link: http://www.openwall.com/lists/john-dev/2012/03/04/16

I tried the same, by editing the x86-64.h and removing the if condition and setting the value of OS_TIMER to 0.

Then recompiled using make clean linux-x86-64-opencl

and tried running a benchmark for phpass-opencl and still not getting the proper results:

$ ./john --te --fo=phpass-opencl
No protocol specified
OpenCL platform 0: AMD Accelerated Parallel Processing, 1 device(s).
Using device 0: AMD Phenom(tm) II X4 955 Processor
../../../thread/semaphore.cpp:87: sem_wait() failedenCL]... ^CWait...
Aborted


$ LD_LIBRARY_PATH=/usr/lib ./john --te --fo=phpass-opencl
No protocol specified
OpenCL platform 0: AMD Accelerated Parallel Processing, 1 device(s).
Using device 0: AMD Phenom(tm) II X4 955 Processor
../../../thread/semaphore.cpp:87: sem_wait() failedenCL]... ^CWait...
Aborted


Does each "No protocol specified" message shown on the console correspond to each GPU?

Thanks.



________________________________
 From: NeonFlash <psykosonik_frequenz@...oo.com>
To: "john-users@...ts.openwall.com" <john-users@...ts.openwall.com> 
Sent: Wednesday, May 22, 2013 9:32 PM
Subject: [john-users] JtR OpenCL - AMD GPU not listed
 

Hi,

I am installing JtR version 1.7.9-jumbo-7 on OpenSuse 11.4 with OpenCL.

at first, here is the problem. When I try to list the opencl devices with JtR, it does not list the ATI HD 7970 installed on the machine:

here is the output:

./john --list=opencl-devices

No protocol specified
Platform #0 name: AMD Accelerated Parallel Processing
Platform version: OpenCL 1.2 AMD-APP (938.2)
        Device #0 name:         AMD Phenom(tm) II X4 955 Processor
        Device vendor:          AuthenticAMD
        Device type:            CPU (LE)
        Device
 version:         OpenCL 1.2 AMD-APP (938.2)
        Driver version:         2.0 (sse2)
        Global Memory:          7991 MB
        Global Memory Cache:    64 KB
        Local Memory:           32 KB (Global)
        Max clock (MHz) :       800
        Max Work Group Size:    1024
        Parallel compute cores: 4

here is the output of aticonfig showing the AMD GPU:

aticonfig --list-adapters

* 0. 01:00.0 AMD Radeon HD 7900
 Series

when I run the opencl-tester script (downloaded from Openwall), here is the output:

./opencl-test.sh

Traceback (most recent call last):
  File "opencl-generator.py", line 8, in <module>
    from passlib.hash import md5_crypt as md5c
ImportError: No module named passlib.hash
Testing nt-opencl... Cracked :100
Testing phpass-opencl... Cracked :100
Testing cryptmd5-opencl... Cracked :100
Testing ssha-opencl... Cracked :100
Testing raw-sha1-opencl... Cracked :100
Testing raw-md5-opencl... Cracked :100
rm: cannot remove `opencl-wordlist': No such file or directory
rm: cannot remove `opencl-crack': No such file or directory

I think the error related to the python script is because the module passlib.hash was not found. I am not sure if the results for nt-opencl, phpass-open and others can be interpreted as a success or not (it says, Cracked: 100), because the
 passlib.hash module itself was not present.

I  think, my installation of JtR went Ok, it did not show any errors while compiling.

I compiled using:

make clean linux-x86-64-opencl

here are the first few lines of output of JtR showing that it was built using linux-x86-64-opencl

./john
John the Ripper password cracker, ver: 1.7.9-jumbo-7 [linux-x86-64-opencl]
Copyright (c) 1996-2012 by Solar Designer and others
Homepage: http://www.openwall.com/john/

Usage: john [OPTIONS] [PASSWORD-FILES]
--config=FILE             use FILE instead of john.conf or john.ini
--single[=SECTION]        "single crack" mode
--wordlist[=FILE] --stdin wordlist mode, read words from FILE or stdin
                 
 --pipe  like --stdin, but bulk reads, and allows rules


here is my environment variable for ATISTREAMSDKROOT:

 echo $ATISTREAMSDKROOT
/usr/local/opencl/AMD-APP-SDK-v2.6-RC3-lnx64/


the version of linux

cat /etc/*release*
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
cat: /etc/lsb-release.d: Is a directory


I am not sure why the GPU is not listed in the output of ./john --list=opencl-devices

Please let me know if any more details are required.

Thanks.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.