Failed to Load Kernel
Gabriel-Grechuk opened this issue · comments
I'm trying to run the OpenCl version because my computer can't run the CUDA one. Same issue #31
but when I try to run Bitcracker it gives me an error Failed to load kernel.
after Dictionary attack
here is the complete log
---------> BitCracker: BitLocker password cracking tool <---------
# Platform: 0, # Devices: 1
====================================
Selected device: GeForce GTX 750 Ti (ID: 0) properties
====================================
OpenCL version supported: OpenCL 1.2 CUDA
Software version: 455.38
OpenCL C version: OpenCL C 1.2
Max Global Memory Size: 2096168960
Max Global Memory Alloc Size: 524042240
Max Const Memory Buffer Size: 65536
Device Address Bits: 64
Parallel compute units: 5
Max Workgroup Size: 1024
Vendor: NVIDIA Corporation
CC: 5.0
Registers per block: 65536
Warp Size: 32
Overlap Memory and Kernel: 1
For this session, BitCracker requires at least 268435456 bytes of memory
Setting context on Platform 0, Device 'GeForce GTX 750 Ti' (ID: 0)
====================================
Extracting data from disk image
====================================
Reading hash file "hash/hash_recv_pass.txt"
$bitlocker$2$16$da34bf70a76e40eda1c82e3e076f55de$1048576$12$c0bfe051f1abd60112010000$60$f53089d9e60bc4bd619a833031f113b44479348062ff0c2b7b5c30dbeef9ddbb1fca93e5ba3d7bf539c7f7269ce663bc764a798040eec0b794cf0163
====================================
Dictionary attack
====================================
Failed to load kernel.
Words error... exit!
I'm using Arch Linux, the CUDA and OpenCl are installed in /opt/cuda/
; I fixed the Makefile and it compiles with no errors, but can't run 😔
请尝试再bitcracker根目录下执行 bitcracker_opencl
例如:./build/bitcracker_opencl
不要再build中执行程序
Not sure how helpful this will be but this seems to be related to line 55 of the w_blocks.c file for OpenCL where it tries to get a file handle to the path: "./src_OpenCL/kernel_wblocks.cl" since this seems to be a relative path perhaps when running the executable it is unable to find the kernel cl file? I'd try running the command from the bitcracker-master directory and see if that helps.
E.G.
./build/bitcracker_opencl -f has_recv_pass.txt -d passwords.txt -t 1 -b 1 -g 0 -r