Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- The driver is certainly working correctly then. I can think of more reason that it might not be working for you which I myself also encountered before. Since Terasic distributes their Linux BSP as a zip file which doesn't preserve file permissions, the diagnose script from the BSP might have incorrect permission and that is why it is giving this error. Try chmoding all the files inside the BSP_install_folder/linux64/libexec path to 755 and retrying the command. Better yet switch to root user temporarily, make sure the driver is loaded correctly also under the root user, and then running the diagnose command under that user. --- Quote End --- Well, seems that all the files inside the BSP_install_folder/linux64/libexec already have 755 permission. [root@localhost libexec]# ls -al total 35944 drwxr-xr-x. 2 root root 122 Jan 31 20:21 . drwxr-xr-x. 5 root root 46 Jan 31 20:16 .. -rwxr-xr-x. 1 root root 36729431 Jan 31 20:16 de5a_net_pfl.sof -rwxr-xr-x. 1 root root 34033 Jan 31 20:16 diagnose -rwxr-xr-x. 1 root root 922 Jan 31 20:16 flash -rwxr-xr-x. 1 root root 5325 Jan 31 20:16 flash.pl -rwxr-xr-x. 1 root root 1856 Jan 31 20:16 install -rwxr-xr-x. 1 root root 14158 Jan 31 20:16 program -rwxr-xr-x. 1 root root 785 Jan 31 20:16 uninstall I tried to chmod 755 again and run aocl diagnose, same error.... But I found one thing, every time I cool down the PC and restart, lspci cannot give "Altera" results and then I reboot and lspci gives results with Altera. Does this mean that the device is somehow unstable?