Page 1 of 1

Macbook Pro Problems

PostPosted: Sun Jul 11, 2010 2:45 am
by rsauron
I have a 06/2010 Macbook Pro w/ Nvidia 330m card. I have been unsuccessful at getting the multiforcer working. I was wondering if someone could explain the dependancies in order to get this working.

I have the nvidia cuda toolkit 3.1 and cuda dev driver 3.1 installed..

and this is what i get when i run 0.61


./CUDA-Multiforcer -c charsets/charsetfull -f test_hash_files/Hashes-NTLM-Full.txt --min 0 --max 6 -h NTLM
Cryptohaze.com CUDA Multiforcer (multiple hash brute forcer)
by Bitweasil
Version 0.61 beta, length 0-14
Currently supported hash types: MD5 MD4 NTLM
Hash type: NTLM
CUDA Device Information:
Device 0: "Device Emulation (CPU)"
Number of cores: 128
Clock rate: 1.35 GHz
Charset loaded (96 characters)
Hashes loaded (11 hashes)
Launching CPU kernel for password length 0
Launching CPU kernel for password length 1
Launching CPU kernel for password length 2
Launching CPU kernel for password length 3

NTLM : 58C265F052A65CE7A745A79DE13D443E: 'bad' 0x626164
NTLM : E0FBA38268D0EC66EF1CB452D5885E53: 'abc' 0x616263
NTLM : E0FBA38268D0EC66EF1CB452D5885E53: 'abc' 0x616263
Cuda error: initialization error.

thanks for any help.

Re: Macbook Pro Problems

PostPosted: Sun Jul 11, 2010 8:17 pm
by Bitweasil
Do any of the test code from the SDK run?

0.61 is compiled with a *very* old CUDA version, so it might not be compatible. I'm going to get some newer versions of the multiforcer compiled here shortly.

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 12:46 am
by Bitweasil
I think I've found out the problem.

Step 1 would be to download the 0.72 release linked elsewhere in this forum (the 0.72 release thread being a good start).

Then, you'll need the gfxCardStatus utility (http://codykrieger.com/gfxCardStatus/) to allow you to force the 330M on.

Try again after that and if it still doesn't work, we can troubleshoot further.

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 1:58 am
by rsauron
Bitweasil thanks for the response!!

I have followed all your suggestions.. Got much further this time!

./CUDA-Multiforcer -c charsets/charsetlikely -f test_hashes/Hashes-NTLM-Full.txt --min 1 --max 6 -h NTLM
Cryptohaze.com CUDA Multiforcer (multiple hash brute forcer)
by Bitweasil
Version 0.72, length 0-14
Currently supported hash types: MD5 FASTMD5 MD4 FASTMD4 NTLM FASTNTLM SHA1 FASTSHA1
Hash type: NTLM
CUDA Device Information:
Device 0: "GeForce GT 330M"
Number of cores: 48
Clock rate: 1.10 GHz
Performance Number: 6600
Note: Performance number is clock in mhz * core count, for comparing devices.
Single charset loaded.
Loading & sorting hashes. This may take a while.
CUDA-Multiforcer-Mac(1866) malloc: *** error for object 0xb081c4: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Hashes loaded (14 hashes)
You may want to consider the FAST[hash] option if it exists.
Cuda error: invalid device symbol.
CUDA-Multiforcer-Mac(1866) malloc: *** error for object 0xb08360: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Thanks again!

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 2:03 am
by Bitweasil
Hm... that's much worse, I have no idea what's going on there. The tools are working properly for myself and for a friend of mine.

You have the latest CUDA drivers installed?

And what OS version are you using right now? I'm guessing 10.6.something - are you using the 64-bit kernel or anything interesting like that?

If you want, you can ping me in IRC - I'm there for a while.

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 4:55 am
by Bitweasil
Alright, this appears to be a bug in nvcc for MacOS. It returns a file size of 0, which screws up memory allocation.

Reporting this as a bug and making a workaround.

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 5:49 am
by Bitweasil
Worked around it by getting file size in a manner that works.

The release up on the website should have the updated method.

Let me know if you have any better luck.

I've reported the bug, so hopefully their compiler will be fixed soon.

Re: Macbook Pro Problems

PostPosted: Mon Jul 12, 2010 1:30 pm
by Bitweasil
Looks like this can be counted as fixed now. Thanks!

Re: Macbook Pro Problems

PostPosted: Thu Jul 29, 2010 9:16 pm
by vipzen
Hi Bitweasil,

I have a old late 2007 MacBook Pro with a CUDA GeForce 8600M GT, and CUDA-Multiforcer reports this:

"This program requires a CUDA-capable video card.
No cards found. Sorry. Exiting."

Apparently gfxCardStatus does not support my card. :(

Any chance for me?

Thanx

Re: Macbook Pro Problems

PostPosted: Fri Jul 30, 2010 2:15 am
by Bitweasil
vipzen: Do you have the nVidia CUDA driver installed? You will need this.