在AWS g2.2xlarge上运行cudaHashcat-1.33 - 尝试cudaExample0.sh时出现错误cuModuleLoad()209

时间:2015-03-03 20:19:11

标签: linux amazon-web-services cuda nvidia aws-ec2

正如在描述中所述,我在AWS g2.2xlarge实例上安装了cudaHashcat-1.33。

我已经使用.run文件来安装CUDA Toolkit,然后执行了这个测试:deviceQuery;正如官方文档(http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#running-binaries)中所述。

然后我按照这些说明安装了cudaHashcat-1.33。

sudo apt-get install p7zip-full
wget http://hashcat.net/files/cudaHashcat-1.33.7z
7za x cudaHashcat-1.33.7z
cd cudaHashcat-1.33

然后我尝试在cudaExample0.sh中运行此~/cudaHashcat-1.33/cudaExample0.sh并最终获得此输出:

cudaHashcat v1.33 starting...

Device #1: GRID K520, 4095MB, 797Mhz, 8MCU
Device #1: WARNING! Kernel exec timeout is not disabled, it might cause you errors of code 702

Hashes: 6494 hashes; 6494 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes
Applicable Optimizers:
* Zero-Byte
* Precompute-Init
* Precompute-Merkle-Demgard
* Meet-In-The-Middle
* Early-Skip
* Not-Salted
* Not-Iterated
* Single-Salt
* Scalar-Mode
* Raw-Hash
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 80c


ERROR: cuModuleLoad() 209

第二个例子就是这个,我实际上使用了我要攻击的文件。

ubuntu@ip-172-31-58-154:~$ ~/maskprocessor/src/mp64.bin ?l?l?l?l?l?l?l?l | ~/cudaHashcat-1.33/cudaHashcat64.bin -m 2500 xxx.hccap
cudaHashcat v1.33 starting...

Device #1: GRID K520, 4095MB, 797Mhz, 8MCU
Device #1: WARNING! Kernel exec timeout is not disabled, it might cause you errors of code 702

Hashes: 1 hashes; 1 unique digests, 1 unique salts
Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes
Rules: 1
Applicable Optimizers:
* Zero-Byte
* Single-Hash
* Single-Salt
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 80c


ERROR: cuModuleLoad() 209

NVIDIA-SMI

[root@ip-xxx-xxx-xxx-xxx cudaHashcat-1.33]$ nvidia-smi
Wed Mar  4 19:07:35 2015       
+------------------------------------------------------+                       
| NVIDIA-SMI 340.32     Driver Version: 340.32         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           On   | 0000:00:03.0     Off |                  N/A |
| N/A   43C    P8    17W / 125W |     10MiB /  4095MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|  No running compute processes found                                         |
+-----------------------------------------------------------------------------+

如果有人知道发生了什么,我会感激任何帮助。

1 个答案:

答案 0 :(得分:3)

经过大量搜索论坛后,我终于找到了答案。 @Robert Crovella,谢谢你指出司机是错误的。所以事实证明找到NVIDIA的linux驱动程序并不容易,但我遇到了这个page,然后引导我进入Linux Drivers of NVIDIA。只需下载您的架构所需的驱动程序(如果您使用wget点击'下载'首先,因为有一个接受页面)。之后做“chmod + x nvidia-driver.run'然后使用' sudo ./nvidia-driver.run'安装它。

希望我的经验可以帮助别人。