Bitcoin Forum

Other => Beginners & Help => Topic started by: paranoidx on July 30, 2012, 05:23:57 AM



Title: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: paranoidx on July 30, 2012, 05:23:57 AM
Big fan of CGminer. Have been using it on windows for a while.
Recently made the move to Linux.  Currently running Linux Mint 13 64-bit.

Followed the guide here https://bitcointalk.org/index.php?topic=44493.0
except for installing the ATI drivers from the official website.  Using the proprietary ones provided in Linux Mint since attempting to install the drivers following the directions on the forum would cause display errors (black screen at startup, had to reinstall mint).

I also installed the newest version of the AMD ADL files 4.0 (instead of 3.0)
and installed the newest CGminer 2.6.0 (instead of 2.0.3)

I am able to start CGminer, input my username and password and then get this:

[2012-07-29 21:50:04] Long-polling activated for http://mine1.btcguild.com:8332
/LP/
 [2012-07-29 21:50:04] Unable to open diablo120724.cl or ./diablo120724.cl for r
eading
 [2012-07-29 21:50:04] Failed to init GPU thread 0, disabling device 0

Anybody ever run into a similar problem? I tried searching but wasn't able to find much info.
Any help is greatly appreciated.


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: Dargo on July 30, 2012, 06:23:43 AM
This is the guide I used

https://github.com/kanoi/linux-usb-cgminer/blob/master/linux-usb-cgminer

but it is somewhat dated at this point so I'm not sure it is best (might be worth checking it against what you did though).

Personally I would just use Ubuntu rather than Mint. I'm actually running Peppermint, which is derived from Ubuntu 11.04, but I believe it was developed by some of the same people on the Mint project. The guide above worked perfectly with CGMiner 2.4 (but I'm not sure about later versions).


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: SAC on July 30, 2012, 06:41:44 AM


[2012-07-29 21:50:04] Long-polling activated for http://mine1.btcguild.com:8332
/LP/
 [2012-07-29 21:50:04] Unable to open diablo120724.cl or ./diablo120724.cl for r
eading
 [2012-07-29 21:50:04] Failed to init GPU thread 0, disabling device 0

Anybody ever run into a similar problem?


Yes I have. It cannot find the file so copy the file from the source folder of cgminer to the current directory you are running the binary from or to /usr/local/bin if you have that location set in your cgminer.conf, also I think I have read somewhere you can use -k /path/to/diablo120724.cl to tell it where to find the file it needs.


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: paranoidx on July 30, 2012, 07:40:25 AM
Compiled the new version 2.6.1.
copied adl-sdk files again.

It is now working.
Thanks for the help.


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: paranoidx on August 01, 2012, 12:04:49 AM
Well it worked for a day..
Getting the same message again.

"Unable to open diablo120724.cl"

I have tried recompiling to no success.
#locate diablo120724.cl shows that it's where it's supposed to be.  /usr/bin/diablo120724.cl the same directory as cgminer.


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: SAC on August 01, 2012, 02:28:42 AM
Well it worked for a day..
Getting the same message again.

"Unable to open diablo120724.cl"

I have tried recompiling to no success.
#locate diablo120724.cl shows that it's where it's supposed to be.  /usr/bin/diablo120724.cl the same directory as cgminer.

I put both in the already mentioned /usr/local/bin and it works all the time.


Title: Re: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"
Post by: paranoidx on August 01, 2012, 03:48:44 AM
cd /usr/bin/
sudo mv cgminer /usr/local/bin/
sudo mv *.cl /usr/local/bin/

Moved files to the directory you told me. 
Seems to be working good now.  Thanks bro!   ;D