Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E37BCB7.2020400@linuxasylum.net>
Date: Tue, 02 Aug 2011 11:00:39 +0200
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-users@...ts.openwall.com
Subject: Re: OpenCL build segfaults

On 07/31/11 17:40, groszek wrote:
> Hi.
> I've built the older 1.7.7-jumbo-1, patched with "OpenCL support for
> cracking NT, raw-MD4, raw-MD5, NSLDAP and raw-SHA1 hashes".
> 
> When I do ./john --test --format=raw-md5-opencl it works:
>   Benchmarking: Raw MD5 [raw-md5-opencl]...
>   Kernel path is : /usr/share/john/md5_opencl_kernel.cl
> 
>   OpenCL Platform: <<<NVIDIA CUDA>>> and device: <<<GeForce GTS 250M>>>
>   DONE
>   Raw:    24672K c/s real, 24672K c/s virtual
> 
> Same with ./john --test --format=raw-sha1-opencl:
>   Benchmarking: Raw SHA-1 OpenCL [SHA-1]...
>   Kernel path is : /usr/share/john/sha1_opencl_kernel.cl
> 
>   OpenCL Platform: <<<NVIDIA CUDA>>> and device: <<<GeForce GTS 250M>>>
>   DONE
>   Many salts:     6618K c/s real, 6618K c/s virtual
>   Only one salt:  7137K c/s real, 7137K c/s virtual
> 
> However, when I actually want to crack something with them it segfaults:
>   Kernel path is : /usr/share/john/md5_opencl_kernel.cl
> 
>   OpenCL Platform: <<<NVIDIA CUDA>>> and device: <<<GeForce GTS 250M>>>
>   Loaded 3439 password hashes with no different salts (Raw MD5
> [raw-md5-opencl])
>   Remaining 3437 password hashes with no different salts
>   Segmentation fault
> 
> And same goes for sha1. Just before it segfaults it hangs for few
> seconds, with 100% cpu usage.
> 
> I have x86_64 build, compiled with gcc x86_64-pc-linux-gnu-4.5.2, and
> CUDA toolkit/sdk version 4.0.8.
> 
> I also tried to integrate this patch into newest 1.7.8-jumbo-4 but
> failed miserably, to a point where self-checks of those algorithms
> didn't pass. Maybe I'll give it another go later. Are there any plans on
> getting OpenCL support beyond basic 3rd party patch?

hello,
recently i've been a lot busy and didn't have time to update a new patch.
On top of that i was able to burn my gpu in the last tests so atm
i'm stuck with a slow gpu.

I plan to release a new patch soon, addding support for 1.7.8 but i
still need to get sources and make some tests.

which options do you use to run md5 and sha1 test? -single is still
unusable, are you trying wordlist or incremental mode only ?

Regards
Samuele

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.