Pages:
Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 83. (Read 5805508 times)

member
Activity: 84
Merit: 10
I am a little lost here, did not see any post option so I am using reply, if I am in the wrong place please give me a hint where I can get help.

My question is, do I have to install IIS to link cgminer to bitcoin-qt?

I am asking because I see the "http://localhost:8332" part on the command line I will use.

I am using W7 64 with bitcoin core 0.9.2.1 and cgminer-win0.31 with 2 ASIC devices.

Just want to solo-mining for a while to test and learn how it works.

I will use the following command line:

cgminer.exe -o http://localhost:8332 -u username -p password --btc-address FirstReceivingAddressfrombitcoinqt --rmu-freq 270


If you want to mine to bitcoin-qt on windows you also need to use the bitcoin-rpc exe.


Already done the rpc entries in bitcoin.conf Any guide somewhere on how to use bitcoin-rpc.exe?
legendary
Activity: 1493
Merit: 1003
Hi ckolivas!

Look, I'm running cgminer 4.4.1 and I'm getting "Failed to sem_timedwait errno=22 cgsem=0x0x7f030dff8270 in usbutils.c callback_wait():2766" a lot, lately.
After this, my screen session renders unusable and I have to create a new one.
This last part isn't important, but as for the error, I can't get cgminer to function for more than about few hours:

Code:
cgminer version 4.4.1 - Started: [2014-07-14 06:23:56]                                                                   
---------------------------------------------------------------------------------------------------- 
 (5s):21.29G (1m):20.92G (5m):21.39G (15m):21.47G (avg):19.14Gh/s                                               
 A:32250  R:0  HW:7790  WU:228.0/m | ST: 49  SS: 0  NB: 10  LW: 75545  GF: 1  RF: 0                       
 Connected to ---------- diff 14 with stratum as user                                                                     
 Block: 256e69bd...  Diff:17.3G  Started: [08:40:21]  Best share: 31.9K                                               
---------------------------------------------------------------------------------------------------- 
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit                                           
  0: BAJ FTWS9K4J: max 41C 0.99V           | 4.672G / 4.651Gh/s WU:64.8/m A:9033 R:0 HW:   3             
  1: BXM 0       :                         | 2.529G / 2.512Gh/s WU:35.4/m A:4935 R:0 HW:   0                       
  2: AMU 0       :                         | 36.31M / 280.2Mh/s WU: 3.3/m A: 579 R:0 HW:7516                     
  5: ANU 2       :                         | 1.984G / 1.990Gh/s WU:28.1/m A:3728 R:0 HW:  24                     
  6: ANU 3       :                         | 1.989G / 1.989Gh/s WU:27.9/m A:4357 R:0 HW:  24                     
  7: ANU 4       :                         | 1.992G / 1.991Gh/s WU:27.4/m A:3736 R:0 HW:  19                     
  8: ANU 5       :                         | 1.990G / 1.989Gh/s WU:27.3/m A:3856 R:0 HW:  22                     
 13: ANU 10      :                         | 1.624G / 1.916Gh/s WU:24.4/m A:1183 R:0 HW: 131                   
 21: ANU 18      :                         | 1.637G / 1.796Gh/s WU: 5.2/m A:  14 R:0 HW:   0                       
 22: ANU 19      :                         | 1.786G / 1.899Gh/s WU:25.7zorg@Enterprise:~$ :   1                 
----------------------------------------------------------------------------------------------------
 [2014-07-14 08:40:49] Accepted 0f0d5b64 Diff 17/14 ANU 3 pool 0
 [2014-07-14 08:40:53] Accepted ca3df8db Diff 324/14 BAJ 0 pool 0
 [2014-07-14 08:40:55] Accepted 08cabc98 Diff 29/14 BAJ 0 pool 0
 [2014-07-14 08:40:56] Accepted b7bf2738 Diff 357/14 BXM 0 pool 0
 [2014-07-14 08:40:56] Accepted 076a0aee Diff 35/14 ANU 2 pool 0
 [2014-07-14 08:41:00] Accepted 0c319904 Diff 21/14 BAJ 0 pool 0
 [2014-07-14 08:41:02] Accepted 04ca727d Diff 53/14 ANU 4 pool 0
 [2014-07-14 08:41:05] Hotplug: Icarus added ANU 19
 [2014-07-14 08:41:06] Accepted 0b1b953f Diff 23/14 BAJ 0 pool 0
 [2014-07-14 08:41:14] Accepted 0d9e1876 Diff 19/14 ANU 3 pool 0
 [2014-07-14 08:41:15] Accepted 068974d7 Diff 39/14 BAJ 0 pool 0
 [2014-07-14 08:41:18] Accepted 0d8c53fa Diff 19/14 BXM 0 pool 0
 [2014-07-14 08:41:19] Accepted 081be148 Diff 32/14 ANU 19 pool 0
 [2014-07-14 08:41:19] Accepted 01811a6a Diff 170/14 ANU 18 pool 0
 [2014-07-14 08:41:20] Accepted 0c9bf344 Diff 20/14 ANU 10 pool 0
 [2014-07-14 08:41:29] Accepted 06d0273c Diff 38/14 ANU 2 pool 0
 [2014-07-14 08:41:31] ANU18 Re-estimate: Hs=-5.485215e-10 W=8.094902e-01 read_time=-1696ms fullnonce=-1.546s
 [2014-07-14 08:41:31] Failed to sem_timedwait errno=22 cgsem=0x0x7f030dff8270 in usbutils.c callback_wait():2766

-------------------------------------------------------------------------------------------------------------------------------


Can you help me please?
Thank you in advance!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I am a little lost here, did not see any post option so I am using reply, if I am in the wrong place please give me a hint where I can get help.

My question is, do I have to install IIS to link cgminer to bitcoin-qt?

I am asking because I see the "http://localhost:8332" part on the command line I will use.

I am using W7 64 with bitcoin core 0.9.2.1 and cgminer-win0.31 with 2 ASIC devices.

Just want to solo-mining for a while to test and learn how it works.

I will use the following command line:

cgminer.exe -o http://localhost:8332 -u username -p password --btc-address FirstReceivingAddressfrombitcoinqt --rmu-freq 270


If you want to mine to bitcoin-qt on windows you also need to use the bitcoin-rpc exe.
legendary
Activity: 3583
Merit: 1094
Think for yourself
My question is, do I have to install IIS to link cgminer to bitcoin-qt?

No.
member
Activity: 84
Merit: 10
I am a little lost here, did not see any post option so I am using reply, if I am in the wrong place please give me a hint where I can get help.

My question is, do I have to install IIS to link cgminer to bitcoin-qt?

I am asking because I see the "http://localhost:8332" part on the command line I will use.

I am using W7 64 with bitcoin core 0.9.2.1 and cgminer-win0.31 with 2 ASIC devices.

Just want to solo-mining for a while to test and learn how it works.

I will use the following command line:

cgminer.exe -o http://localhost:8332 -u username -p password --btc-address FirstReceivingAddressfrombitcoinqt --rmu-freq 270

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Zeus Miner guys forked CGMINER but they deleted autogen.sh in the process, I don't know why. I'm not a Linux expert but I'm trying to build this under Ubuntu 12.04 x86 64 bits.
Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.

I'm not seeking information on Zeus specifics but just general information on how to build CGMINER without autogen.sh. Is it too much to ask from the community?

If you have the knowledge to build this thing under Ubuntu I bet it took you the same or more effort to push me back.
Not really, I'd have to go investigate why it's missing it myself.
hero member
Activity: 546
Merit: 500
Zeus Miner guys forked CGMINER but they deleted autogen.sh in the process, I don't know why. I'm not a Linux expert but I'm trying to build this under Ubuntu 12.04 x86 64 bits.
Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.

I'm not seeking information on Zeus specifics but just general information on how to build CGMINER without autogen.sh. Is it too much to ask from the community?

If you have the knowledge to build this thing under Ubuntu I bet it took you the same or more effort to push me back.



Check the read me in github its probably been covered in my search to compile for windows . Its here somewhere you may just have to write the rest if it gets you in the right direction.
hero member
Activity: 546
Merit: 500
He does but there are better places to ask which don't have him answering question for non supported equipment Wink. I'm almost certain if Zeus forked to do there own thing they can answer for themselves. @Ckolivias, hopefully this answer is within your moderating guidelines Embarrassed Embarrassed Embarrassed

1-2 Ghs is not going to make your bitcoin dreams come true. Look for a site named [I think] bitcoinwisdom.com . I've never played with another site called genesis block but this site a nice table interface to experiment with. You need like a terrahash (1000Ghs without rounding) to dust anything big and that was half a coin a month and I still haven't looked into how many actual blocks exist still.

Any other questions on this matter go in the economic section of bitcoin or something or section
full member
Activity: 141
Merit: 100
Zeus Miner guys forked CGMINER but they deleted autogen.sh in the process, I don't know why. I'm not a Linux expert but I'm trying to build this under Ubuntu 12.04 x86 64 bits.
Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.

I'm not seeking information on Zeus specifics but just general information on how to build CGMINER without autogen.sh. Is it too much to ask from the community?

If you have the knowledge to build this thing under Ubuntu I bet it took you the same or more effort to push me back.

legendary
Activity: 1109
Merit: 1000
Actually, in in the correct place, since im working on getting a BitFury working with the current cgminer.
Awesome, open the file called README.txt that's begging you to read it and look for the part where it says "SETTING UP USB DEVICES"
That's exactly what I did to solve the problem.
The problem was left over COM port drivers, so the miner defaulted to a COM port instead of a USB device.
After the driver update, your software worked perfectly and the little miner is hashing away at between 1-2 GHs, which is like 10x faster than my entire Scrypt ASIC farm, at much less power. Im trying to do the math to figure if that will result in 10x revenue improvement, but it's confusing doing all the conversions.
Scrypt algorithm is effectively by design about 1000x slower so no. If it's going 10x faster on bitcoin then you're actually going 100x slower.
Bummer, I was hoping that I was going to get 10x the earnings from this little board compared to my 5KW Scrypt farm which cost a bazillion dollars...
Anyhow, ill watch the returns and estimate my LTC->BTC conversion to see how they compare.
It seems to me from recent reading that I may be better off with BTC ASICs than with Scrypt ASICs in the long-run. That's what im trying to figure out.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Actually, in in the correct place, since im working on getting a BitFury working with the current cgminer.
Awesome, open the file called README.txt that's begging you to read it and look for the part where it says "SETTING UP USB DEVICES"
That's exactly what I did to solve the problem.
The problem was left over COM port drivers, so the miner defaulted to a COM port instead of a USB device.
After the driver update, your software worked perfectly and the little miner is hashing away at between 1-2 GHs, which is like 10x faster than my entire Scrypt ASIC farm, at much less power. Im trying to do the math to figure if that will result in 10x revenue improvement, but it's confusing doing all the conversions.
Scrypt algorithm is effectively by design about 1000x slower so no. If it's going 10x faster on bitcoin then you're actually going 100x slower.
legendary
Activity: 1109
Merit: 1000
Actually, in in the correct place, since im working on getting a BitFury working with the current cgminer.
Awesome, open the file called README.txt that's begging you to read it and look for the part where it says "SETTING UP USB DEVICES"
That's exactly what I did to solve the problem.
The problem was left over COM port drivers, so the miner defaulted to a COM port instead of a USB device.
After the driver update, your software worked perfectly and the little miner is hashing away at between 1-2 GHs, which is like 10x faster than my entire Scrypt ASIC farm, at much less power. Im trying to do the math to figure if that will result in 10x revenue improvement, but it's confusing doing all the conversions.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Actually, in in the correct place, since im working on getting a BitFury working with the current cgminer.
Awesome, open the file called README.txt that's begging you to read it and look for the part where it says "SETTING UP USB DEVICES"
legendary
Activity: 1109
Merit: 1000
Zeus Miner guys forked CGMINER but they deleted autogen.sh in the process, I don't know why. I'm not a Linux expert but I'm trying to build this under Ubuntu 12.04 x86 64 bits.
Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.
Actually, in in the correct place, since im working on getting a BitFury working with the current cgminer. The discussion regarding Zeus was related to the version I used on the host previously when I had Zeus rigs running, but those are moved elsewhere now, and im trying to see if I can get BTC ASIC miners going.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
CGMiner doesn't use Com device drivers it uses direct USB.

I had the COM software already installed and saw the COM8 port so I thought it would be good to go.
I use cgminer for the alt coins and it works fine with COM ports, which is why I didn't give it a second thought.
I guess I should have said current versions of CGMiner don't use com ports anymore.

So you must have been using an older version of CGMiner.  The current version doesn't use com ports and doesn't mine alt coins.

Glad you got it working.
Yes, older cgminer v4.3.5 and bfgminer also.
Using these on Zeus ASIC rigs and before that on GPU rigs.
Thought I would give BTC a try and see how it works, so I got a little usb plug-in device. Im impressed as it's hash-rate is about 10x my large ASIC rigs (5KW worth of power).
If this produces 10x the value for 1% of the price, I don't see a reason not to switch to BTC.

Same thing

Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Zeus Miner guys forked CGMINER but they deleted autogen.sh in the process, I don't know why. I'm not a Linux expert but I'm trying to build this under Ubuntu 12.04 x86 64 bits.
Then you're in the wrong place. You need to seek support from the maintainers of your fork. This is the support thread only for mining bitcoin on the official cgminer.
legendary
Activity: 1109
Merit: 1000
CGMiner doesn't use Com device drivers it uses direct USB.

I had the COM software already installed and saw the COM8 port so I thought it would be good to go.
I use cgminer for the alt coins and it works fine with COM ports, which is why I didn't give it a second thought.
I guess I should have said current versions of CGMiner don't use com ports anymore.

So you must have been using an older version of CGMiner.  The current version doesn't use com ports and doesn't mine alt coins.

Glad you got it working.
Yes, older cgminer v4.3.5 and bfgminer also.
Using these on Zeus ASIC rigs and before that on GPU rigs.
Thought I would give BTC a try and see how it works, so I got a little usb plug-in device. Im impressed as it's hash-rate is about 10x my large ASIC rigs (5KW worth of power).
If this produces 10x the value for 1% of the price, I don't see a reason not to switch to BTC.
legendary
Activity: 3583
Merit: 1094
Think for yourself
CGMiner doesn't use Com device drivers it uses direct USB.

I had the COM software already installed and saw the COM8 port so I thought it would be good to go.
I use cgminer for the alt coins and it works fine with COM ports, which is why I didn't give it a second thought.
I guess I should have said current versions of CGMiner don't use com ports anymore.

So you must have been using an older version of CGMiner.  The current version doesn't use com ports and doesn't mine alt coins.

Glad you got it working.
legendary
Activity: 1109
Merit: 1000
Never mind. When I tried a different USB driver, it showed-up as a USB device rather than COM device and then cgminer could see it.
It's odd though, normally you use a COM device for Alt coins. Why did Bitcoin decide to use a different interface?

CGMiner doesn't use Com device drivers it uses direct USB.  CGMiner told you to read the readme.txt which explains how to use the Zadig utility for Windoze to install the WinUSB driver.  Has nothing to do with Bitcoin per se.

I had the COM software already installed and saw the COM8 port so I thought it would be good to go.
I use cgminer for the alt coins and it works fine with COM ports, which is why I didn't give it a second thought.
When I read the README, and tried the zadig driver, it moved the COM port to a USB device, and that is what this version of cgminer appears to prefer.
Anyhow it's working now, getting an 1+ GHs rate, which is much better than with all my GPU rigs (100MHs).
Looking forward to my 10x earnings, and it's such a small device...
legendary
Activity: 3583
Merit: 1094
Think for yourself
Never mind. When I tried a different USB driver, it showed-up as a USB device rather than COM device and then cgminer could see it.
It's odd though, normally you use a COM device for Alt coins. Why did Bitcoin decide to use a different interface?

CGMiner doesn't use Com device drivers it uses direct USB.  CGMiner told you to read the readme.txt which explains how to use the Zadig utility for Windoze to install the WinUSB driver.  Has nothing to do with Bitcoin per se.
Pages:
Jump to: