Bitcoin Forum
December 18, 2017, 09:20:19 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl"  (Read 4774 times)
paranoidx
Full Member
***
Offline Offline

Activity: 146


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.
1513632019
Hero Member
*
Offline Offline

Posts: 1513632019

View Profile Personal Message (Offline)

Ignore
1513632019
Reply with quote  #2

1513632019
Report to moderator
1513632019
Hero Member
*
Offline Offline

Posts: 1513632019

View Profile Personal Message (Offline)

Ignore
1513632019
Reply with quote  #2

1513632019
Report to moderator
1513632019
Hero Member
*
Offline Offline

Posts: 1513632019

View Profile Personal Message (Offline)

Ignore
1513632019
Reply with quote  #2

1513632019
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Dargo
Legendary
*
Offline Offline

Activity: 1820



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


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
Full Member
***
Offline Offline

Activity: 146


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
Full Member
***
Offline Offline

Activity: 146


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


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
Full Member
***
Offline Offline

Activity: 146


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!