Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Load Kernel #32

Open
Gabriel-Grechuk opened this issue Nov 5, 2020 · 2 comments
Open

Failed to Load Kernel #32

Gabriel-Grechuk opened this issue Nov 5, 2020 · 2 comments

Comments

@Gabriel-Grechuk
Copy link

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 😔

@wwdhf
Copy link

wwdhf commented Jun 11, 2022

请尝试再bitcracker根目录下执行 bitcracker_opencl
例如:./build/bitcracker_opencl
不要再build中执行程序

@ScorpionInc
Copy link

ScorpionInc commented Sep 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants