Bitcoin Forum
November 14, 2024, 10:59:13 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"  (Read 4866 times)
paranoidx (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100


View Profile
July 30, 2012, 05:23:57 AM
 #1

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.
Dargo
Legendary
*
Offline Offline

Activity: 1820
Merit: 1000


View Profile
July 30, 2012, 06:23:43 AM
 #2

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).
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
July 30, 2012, 06:41:44 AM
 #3



[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.
paranoidx (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100


View Profile
July 30, 2012, 07:40:25 AM
 #4

Compiled the new version 2.6.1.
copied adl-sdk files again.

It is now working.
Thanks for the help.
paranoidx (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100


View Profile
August 01, 2012, 12:04:49 AM
 #5

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.
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
August 01, 2012, 02:28:42 AM
 #6

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.
paranoidx (OP)
Full Member
***
Offline Offline

Activity: 146
Merit: 100


View Profile
August 01, 2012, 03:48:44 AM
 #7

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!   Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!