You are not logged in.

#1 2010-08-18 15:58:47

raunz
Member
Registered: 2008-11-27
Posts: 36

libcuda.so.1: wrong ELF class & cRARk issues

Hello

I want to use crark with CUDA (crark-cuda-latest from AUR) but

raunz@fuckup ~]$ crark --help
crark: error while loading shared libraries: libcuda.so.1: wrong ELF class: ELFCLASS64
[raunz@fuckup ~]$ yaourt -Qs cuda
==> Query installed packages
local/crark-cuda-latest 3.3-2
local/cuda 3.1-5
local/cuda-sdk 3.1-3
local/cuda-toolkit 3.1-4

Whats the problem?

Last edited by raunz (2010-08-18 17:19:10)

Offline

#2 2010-08-18 15:59:58

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: libcuda.so.1: wrong ELF class & cRARk issues

install lib32-nvidia-utils


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#3 2010-08-18 16:05:57

raunz
Member
Registered: 2008-11-27
Posts: 36

Re: libcuda.so.1: wrong ELF class & cRARk issues

Done.

Now  this

[raunz@fuckup ~]$ crark --help
crark: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

Isn't there any other way except installing bin32/lib32 packages?
Would it work to compile it under a 32Bit chroot?

Last edited by raunz (2010-08-18 16:07:55)

Offline

#4 2010-08-18 16:16:13

stephane
Forum Fellow
Registered: 2009-10-18
Posts: 25

Re: libcuda.so.1: wrong ELF class & cRARk issues

Yes it is possible. I have worked with cuda under a 32 bits chroot a few months ago. Just follow the usual instructions to create a chroot and install nvidia-utils (the complete nvidia driver is not requiered for the chroot).

Offline

#5 2010-08-18 17:17:35

raunz
Member
Registered: 2008-11-27
Posts: 36

Re: libcuda.so.1: wrong ELF class & cRARk issues

Now running under 32bit chroot

password.def

[$a $A $1] *

-> brute lowercase, uppercase and digits

[raunz@fuckup ~]$ schroot -p -- crark -p/usr/share/crark/password.def Desktop/test.rar
     cRARk 3.3a (CUDA enabled) Freeware
    Copyright 1995-2001, 2006-10 by P. Semjanov,
         http://www.crark.net
     portions (c) 1993-2005 Eugene Roshal
 (c) PSW-soft Password Cracking Library PCL v. 2.0d by P. Semjanov


Testing archive Desktop/test.rar : version 2.9
Testing     xupper-setup.exe         
CUDA device GeForce GTS 250 found, CUDA cores = 128, GPU rate = 0,53
Choosing best crypto functions.............................................................
Chosen: ASM  (Northwood/Core 2/iX), SSE2 (Core 2/iX) (-f1555)
Ticks per password expected = 13786387, theoretical = 27000000, CPU rate = 1,96

Processing line 59 of password definition file...
Testing 1-chars passwords ...
Testing 2-chars passwords ...
File rarcrypt1.dll not found - this CUDA architecture not yet supported
cudaModuleLoad failed: Unknown error
Testing 3-chars passwords ...
File rarcrypt1.dll not found - this CUDA architecture not yet supported
cudaModuleLoad failed: Unknown error
Testing 4-chars passwords ...
File rarcrypt1.dll not found - this CUDA architecture not yet supported
cudaModuleLoad failed: Unknown error
Testing 5-chars passwords ...
File rarcrypt1.dll not found - this CUDA architecture not yet supported
cudaModuleLoad failed: Unknown error

Passwords tested = 62 (time = 00,31, rate = 203 p/s)
Total     tested = 62, slow tests = 9
Password not found

Total passwords tested = 62, slow tests = 9

"CUDA device GeForce GTS 250 found"
but
"File rarcrypt1.dll not found - this CUDA architecture not yet supported
cudaModuleLoad failed: Unknown error
"

I don't get it.

Last edited by raunz (2010-08-18 17:21:28)

Offline

#6 2011-05-31 12:53:53

eanderalx
Member
From: Berlin/Germany
Registered: 2010-01-10
Posts: 15
Website

Re: libcuda.so.1: wrong ELF class & cRARk issues

I found rarcrypt1.dll ... its located in the installation dir of crark /opt/crark-cuda/. When you execute crark out of this dir then it will find the dll. Don't know why it need it .. sowat.


"Man kann ein Problem nicht mit den gleichen Denkstrukturen lösen, die zu seiner Entstehung beigetragen haben." (Albert Einstein)
"A problem cannot be solve at the same level of thinking at which it was created." (Albert Einstein)

Offline

Board footer

Powered by FluxBB