Error: unknown target CPU 'generic', CPU: AMD Ryzen 5 5600G
#1
When I try to use hashcat to crack the hash value it prompts the following error.

I tried updating a lot and installing the amd app sdk but still no fix.

I'm hoping to get some advice. Please help.


----------------------------------------------------------------------------------------------
┌──
└─$ hashcat -O -m 500 hashps.txt rockyou.txt --force                  255 ⨯
hashcat (v6.2.5) starting

You have enabled --force to bypass dangerous warnings and errors!
This can hide serious problems and should only be done when debugging.
Do not report hashcat issues encountered when using --force.

OpenCL API (OpenCL 2.0 pocl 1.8  Linux, None+Asserts, RELOC, LLVM 11.1.0, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project]
=====================================================================================================================================
* Device #1: pthread-AMD Ryzen 5 5600G with Radeon Graphics, 2192/4448 MB (1024 MB allocatable), 2MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 15

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Optimizers applied:
* Optimized-Kernel
* Zero-Byte
* Single-Hash
* Single-Salt

Watchdog: Temperature abort trigger set to 90c

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

error: unknown target CPU 'generic'
Device pthread-AMD Ryzen 5 5600G with Radeon Graphics failed to build the program, log: error: unknown target CPU 'generic'

* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.

Started: Tue Feb 22 22:15:06 2022
Stopped: Tue Feb 22 22:15:06 2022


-----------------------------------------------------------------------------

Virtualization: vmware
Operating System: The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) GNU/Linux Rolling
Kernel: Linux 5.15.0-kali3-amd64
Architecture: x86-64

CPU: AMD Ryzen 5 5600G
Reply
#2
Do not report hashcat issues encountered when using --force.

deinstall pocl install intel (yes intel) runtime for linux directly taken from the intel website

see whether your virtual CPU is regocnized by hahscat hashcat -I
if yes
use option -D1 to just use cpu
Reply
#3
(02-23-2022, 01:18 PM)Snoopy Wrote: Do not report hashcat issues encountered when using --force.

deinstall pocl install intel (yes intel) runtime for linux directly taken from the intel website

see whether your virtual CPU is regocnized by hahscat hashcat -I
if yes
use option -D1 to just use cpu

Thank you.
Reply