Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Feb 2022 12:51:01 +0900
From: dskshnd@...il.com
To: john-users@...ts.openwall.com
Subject: Cannot ./john --format=ZIP-opencl on AMD Radeon GPU

OS: Linux Mint 20.3 (Una) Cinnamon 64-bit
CPU: AMD Ryzen 9 3900
GPU: AMD Radeon 6600 XT
Driver: amdgpu-install_21.40.2.40502-1_all.deb
JtR version: 1.9.0-jumbo-1+bleeding-3d1e193a8 2022-02-01 00:53:40 +0100 
OMP [linux-gnu 64-bit x86_64 AVX2 AC]

Please allow my poor English.

I cannot do "./john --format=ZIP-opencl ~/hash". The following is the 
instructions.

$ mkdir -p ~/src
$ sudo apt-get -y install git build-essential libssl-dev zlib1g-dev
$ sudo apt-get -y install yasm pkg-config libgmp-dev libpcap-dev libbz2-dev
$ sudo apt-get -y install ocl-icd-opencl-dev opencl-headers
$ export ATISTREAMSDKROOT=/opt/rocm-4.5.2
$ cd ~/src
$ git clone https://github.com/openwall/john -b bleeding-jumbo john
$ cd ~/src/john/src
$ ./configure --disable-openmp && make -s clean && make -sj4
$ mv ../run/john ../run/john-non-omp
$ ./configure LDFLAGS=-L/opt/rocm-4.5.2/lib CPPFLAGS='-I opencl 
-I/opt/rocm-4.5.2/include -DOMP_FALLBACK 
-DOMP_FALLBACK_BINARY="\"john-non-omp\""'
$ make -s clean && make -sj4

$ cd ~/src/john/run/
$ ./john --format=ZIP-opencl --test=0
Device 2: gfx1032 [AMD Radeon RX 6600 XT]
Testing: ZIP-opencl, WinZip [PBKDF2-SHA1 OpenCL]... PASS

$ ./john --format=ZIP-opencl --test
Device 2: gfx1032 [AMD Radeon RX 6600 XT]
Benchmarking: ZIP-opencl, WinZip [PBKDF2-SHA1 OpenCL]... Memory access 
fault by GPU node-1 (Agent handle: 0x56190dc33cf0) on address 
0x7f2bb0608000. Reason: Page not present or supervisor privilege.
Aborted (core dumped)

$ ./zip2john zip-filename.zip > ~/hash

$ ./john --format=ZIP-opencl ~/hash
Device 1: gfx1032 [AMD Radeon RX 6600 XT]
Using default input encoding: UTF-8
Loaded 39 password hashes with 39 different salts (ZIP-opencl, WinZip 
[PBKDF2-SHA1 OpenCL])
Loaded hashes with cost 1 (HMAC size) varying from 4484201 to 8913240
Memory access fault by GPU node-1 (Agent handle: 0x555adc81db00) on 
address 0x7f8e07faf000. Reason: Page not present or supervisor privilege.
Aborted (core dumped)
$

How should I do to resolve this problem?
Please help me.

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.