HOWTO : Troubleshooting CUDA on Pentoo 2013.0 RC1.1

As Pentoo 2013.0 RC1.1 is using hardened kernel, some application may not working properly. You may need to inspect and change the pax settings of the application in order to make it to work properly.



Use paxctl to inspect and change the pax settings.



paxctl -h

paxctl -v [application name]




Since the current Pentoo 2013.0 RC1.1 (as updated to April 29, 2013), the CUDA do not work properly by default. You are required to do something on it. This bug may be fixed in the next update or RC version.



First of all, make sure the libraries of CUDA are loading properly by making sure the following lines are at the file /etc/env.d/99cuda :



cat /etc/env.d/99cuda



PATH=/opt/cuda/bin:/opt/cuda/libnvvp

ROOTPATH=/opt/cuda/bin

LD_LIBRARY_PATH=/opt/cuda/lib64:/opt/cuda/lib




Finally, make sure some of the applications are set to proper pax settings. For example, cudaHashcat-plus64.bin and Cryptohaze-Multiforcer which are running with CUDA but they are not setting with pax flags properly at the current version.



Make sure the pax settings should be shown as the following :







Known Issue



The current version/update as on April 29, 2013, the pyrit does not work properly with CUDA. Since pyrit is written in Python, the paxctl does not work at all. According to one of the developers, the pyrit will be removed from the distribution.



That's all! See you.