Bitcoin Forum
July 20, 2025, 06:58:58 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 [817] 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806403 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
-ck (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


View Profile WWW
November 27, 2015, 09:07:19 PM
 #16321

sorry for double post,

No it does not work with the bitcoin-qt in solo mode.

The rpcallow is now on the raspi ip, the win version was not started and the message appear
direct after starting cgminer. It probe for alive pool and display the error, after that it switch over and work fine.

Maybe it is an issue on the raspi Network?
Did you build the raspi version with libcurl ? If you don't then it can't do solo mining.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
o_solo_miner
Legendary
*
Offline Offline

Activity: 2532
Merit: 1517


-> morgen, ist heute, schon gestern <-


View Profile
November 27, 2015, 09:09:26 PM
Last edit: November 27, 2015, 09:20:49 PM by o_solo_miner
 #16322

it is quite a bit ago, I will check and recompile.
Is there a way how to check that quick?

EDIT: Libcurl was installed so I normaly build with it, but to be shure I am recompiling now.
The raspi2 is fast compared to the old version....

from the creator of CGMiner http://eusolo.ckpool.org for EU Solominers
from the creator of CGMiner http://solo.ckpool.org for Solominers
o_solo_miner
Legendary
*
Offline Offline

Activity: 2532
Merit: 1517


-> morgen, ist heute, schon gestern <-


View Profile
November 27, 2015, 09:22:40 PM
 #16323

Recompile finished, same result, sorry.

Libcurl4-dev was not switched off.

Anything else I might have ruined?

from the creator of CGMiner http://eusolo.ckpool.org for EU Solominers
from the creator of CGMiner http://solo.ckpool.org for Solominers
-ck (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


View Profile WWW
November 27, 2015, 09:31:07 PM
 #16324

Recompile finished, same result, sorry.

Libcurl4-dev was not switched off.

Anything else I might have ruined?
Not in cgminer. What does your rpcallowip have in it on your bitcoin.conf ?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
o_solo_miner
Legendary
*
Offline Offline

Activity: 2532
Merit: 1517


-> morgen, ist heute, schon gestern <-


View Profile
November 27, 2015, 09:33:57 PM
 #16325

 Angry Sorry for wasting your time, found the problem, just checking...

from the creator of CGMiner http://eusolo.ckpool.org for EU Solominers
from the creator of CGMiner http://solo.ckpool.org for Solominers
-ck (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


View Profile WWW
November 27, 2015, 09:36:46 PM
 #16326

Please be aware that solo mining to your own bitcoind/bitcoin-qt does NOT support M of N addresses (i.e. bitcoin addresses starting with 3). At some stage in the future I will fix this in cgminer but in the interim please only use 1x addresses when mining to your own bitcoin node.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
o_solo_miner
Legendary
*
Offline Offline

Activity: 2532
Merit: 1517


-> morgen, ist heute, schon gestern <-


View Profile
November 27, 2015, 09:40:31 PM
Last edit: November 27, 2015, 09:58:08 PM by o_solo_miner
 #16327

Yes, it was my Fault!

I got a copy of bitcoin.conf for not screwing it up, and guess what I did?

EDIT:
To clear that for all with a similar problem:
The bitcoin.conf got not the correct rpcallowip entry for the client.

I wish I could delete the last entrys in that thread to not beeing identifyed as a "Honk".

Thank you for your help!

I did not see it until I checked the vlan on the cisco and I've got a copy of the conf in the same folder.
The date of the files showed me what I edited.

EDIT: I wonder about the number of connection to bitcoin-qt, both cgminer run "visible" good.
What kind of problem should I expect then on cgminer or bitcoin-qt?

from the creator of CGMiner http://eusolo.ckpool.org for EU Solominers
from the creator of CGMiner http://solo.ckpool.org for Solominers
wariner
Legendary
*
Offline Offline

Activity: 1261
Merit: 1004


pool.sexy


View Profile
December 02, 2015, 07:54:31 AM
 #16328

Hi -ck,

thank you for your job!

I have 3 Ant S5, if i install this version http://ck.kolivas.org/apps/cgminer/antminer/s5/4.9.0-150105/ the fan go to constantly 100%.
I'm doing something wrong?

Pool.sexy - Pool ETH-ETC-EXP-UBQ-ZEC-DBIX..and more low fee Discussion

my BTC: 1KiMpRAWscBvhRgLs8jDnqrZEKJzt3Ypfi
pinhead666
Sr. Member
****
Offline Offline

Activity: 359
Merit: 273



View Profile WWW
December 03, 2015, 06:52:12 PM
 #16329

Is it possible to modify cgminer is S3 to look for more than two hashboards? I have a test-board with 4-connectors (Tx and Rx lines + pwm). And I can also test with more devices connected to usb-hub. At least kernel log shows that software installs drivers for cp2102 usb/uart adapter (even with pic in circuit).
kano
Legendary
*
Offline Offline

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
December 04, 2015, 12:08:02 AM
 #16330

Is it possible to modify cgminer is S3 to look for more than two hashboards? I have a test-board with 4-connectors (Tx and Rx lines + pwm). And I can also test with more devices connected to usb-hub. At least kernel log shows that software installs drivers for cp2102 usb/uart adapter (even with pic in circuit).
Prolly change one of the S3 settings I put in driver-bitmain.h ...

Look for #ifdef USE_ANT_S3

No I've no idea ... it would probably be the combination of the settings re: the chains etc. to deal with more work.

However, the number of boards/chips is returned by the fpga/hardware and that doesn't come from cgminer settings
(if it's not seeing the extra boards/chips)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pinhead666
Sr. Member
****
Offline Offline

Activity: 359
Merit: 273



View Profile WWW
December 04, 2015, 02:59:50 AM
 #16331

Is it possible to modify cgminer is S3 to look for more than two hashboards? I have a test-board with 4-connectors (Tx and Rx lines + pwm). And I can also test with more devices connected to usb-hub. At least kernel log shows that software installs drivers for cp2102 usb/uart adapter (even with pic in circuit).
Prolly change one of the S3 settings I put in driver-bitmain.h ...

Look for #ifdef USE_ANT_S3

No I've no idea ... it would probably be the combination of the settings re: the chains etc. to deal with more work.

However, the number of boards/chips is returned by the fpga/hardware and that doesn't come from cgminer settings
(if it's not seeing the extra boards/chips)

Thanks for an answer. I suspected that pic's code is written for only two boards (what I can understand from hex-dump of it). I then connected second pic to hub's port 2 and that way kernel log shows both pic's are installed with bitmainbl driver. Second pic sends test-work to hashboards but it won't get any work after that. Pic nr 1 works though with 2 boards (and second pic installed). That made me wonder if I can modify drivers to look for more than 2 boards. It is also possible that only first downstream usb-port works with these drivers. I have to do more testing.
kano
Legendary
*
Offline Offline

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
December 04, 2015, 03:53:16 AM
 #16332

S3 is serial (yeah that sux) so you'd prolly have to modify the detection to detect and configure both devices if they show up as 2 serial devices.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pinhead666
Sr. Member
****
Offline Offline

Activity: 359
Merit: 273



View Profile WWW
December 04, 2015, 04:17:04 AM
 #16333

Thanks again. These answers clarified many things and helped to narrow down my options.
d57heinz
Legendary
*
Offline Offline

Activity: 1453
Merit: 1011


Bitcoin Talks Bullshit Walks


View Profile
December 06, 2015, 03:04:28 PM
Last edit: December 06, 2015, 07:27:43 PM by d57heinz
 #16334

Kano,
edit:  meant to direct this to ck,

got a quick question.. is there a way you can incorporate the voting process into cgminer so that each mining machine can vote individually vs the pool wallet submitting the vote? What some people would like to do is stay on the pool of there liking and still vote with there mining hash regardless of the pool operators views;).  By allowing only the pool operators control, that centralizes this rather drastically!  Sorry if this was asked or is a stupid question:)

edit,,  i guess problem would still be that there is two asic manufacture backing two of the largest pools,  so really i think the issue still lies in getting mining back to decentralized means..   Ive always thought one way to get it back decentralized would be to limit the amount of hash each node can have.  One can only run so many instances of bitcoind before it becomes a problem... i dont know what would be a good number to limit it too.. say 100 ths per node.  im sure that could be worked out later maybe with the size of the network thats a bit too small. It would then become too costly to setup a massive farm or at least more prohibitive anyway.. not like there wouldnt be ways to circumvent it... Just thinking about all the issue we have with centralization.. Block propagation, network protocols being held up by one entity, and im sure it goes on and on..

Best Regards
d57heinz

As in nature, all is ebb and tide, all is wave motion, so it seems that in all branches of industry, alternating currents - electric wave motion - will have the sway. ~Nikola Tesla~
-ck (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


View Profile WWW
December 06, 2015, 07:58:30 PM
 #16335

got a quick question.. is there a way you can incorporate the voting process into cgminer so that each mining machine can vote individually vs the pool wallet submitting the vote? What some people would like to do is stay on the pool of there liking and still vote with there mining hash regardless of the pool operators views;).  By allowing only the pool operators control, that centralizes this rather drastically!  Sorry if this was asked or is a stupid question:)
I assume by "vote" you mean what transactions are included and what goes into the coinbase, in which case the answer is realistically no. By design pooled mining gives that control to the pool. While it is possible to redesign the protocol so the miners design their own work and send it to a pool, the ability to make the pools and mining majority change to such a system is quite beyond the level of improbability. The bulk of the hashrate you see on the network is not personal miners as they only account for maybe 5% of the network now and swaying those will have zero net effect and only make mining more difficult for them. If you're talking about political debates of BIP101 versus mainline bitcoin, that's even more unlikely as the choice of protocol is done and verified at the pool mining node, and pools consciously choose what software to run on their bitcoin node. When you are pooled mining, you are all mining to that pool's bitcoin node so you can't change its protocol from the mining end in any meaningful way.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Lorker
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 09, 2015, 04:14:27 PM
 #16336

ty for the good software
matt4054
Legendary
*
Offline Offline

Activity: 1946
Merit: 1038



View Profile
December 09, 2015, 06:12:51 PM
 #16337

ty for the good software

...and thank you for the long term, continuous, constant and consistant support throughout the Bitcoin ages Cheesy
durandal
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 11, 2015, 11:46:36 AM
Last edit: December 16, 2015, 11:57:06 AM by durandal
 #16338

I'm not sure where the best place to put this is, so I'll leave it here to save someone else a couple of hours of tinkering.

I'm running an Antminer U3, and was struggling to get decent speeds on a linux host, and the bitmain branch kept going "errr, no". The windows binary was spot on, but the windows machine sounds like a jet engine so for the sake of marital harmony and my leccy bill, it was going to have to be the linux netbook. I'll fiddle with MinePeon at some point to make it really small, but this is a good way to start.

The steps I followed are:

Clone the 4.9.2 git tree into a directory.
git clone [latest tree]
./autogen.sh
./configure --enable-icarus
make (and when you're happy it works, sudo make install)

To start, I've made a little script. So nano (or vim, or emacs, or edlin if you're hardcore) cgm

Code:
#/bin/bash
sudo cgminer --au3-freq 250 --au3-volt 810

chmod +x cgm

And away you go. The frequency/voltage settings are at the higher end of the chart, but heatsinks are only warm to the touch and CGMiner is reporting 63Gh/s, which is well within expectations. No excessive rejections either, so it seems like the right trade-off between speed and longevity.


Edited to correct a typo
altcointalk14
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
December 11, 2015, 02:27:03 PM
 #16339

Hello,

I am not sure I have really found 3 blocks in 8 days.   Looking for advice on how to really check if this is a lucky machine or NOT.
(side note- I am really tempted to solo on CKSolo, but the ckproxy setup has troubled me)

This machine cgminer is still running, before it reboots and I loose the data, is there anyway to grab the logs/shares info from this miner?  Bitmain S4.

The 10.70.130.10:8885 is my stratum proxy server I gather all my mining power then point to antpool.

I did switch all my hashrate over to nicehash for about 8-10 hours about 5 of 6 days ago and maybe that is where the found blocks came from, but I have 50+ machines and none show any blocks except this one. 

Here is where I am confused:
79102380900   btc diff
273901451   S4 page below best share
1449843295860  stratum proxy server gui best share

altcointalk14
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
December 11, 2015, 03:07:41 PM
 #16340

OK, I found this in the cgminer readme, so probably no history on the machine?? 

Anyway to add this option to the existing bitmain system cgminer start command?  (S4 says 3.2GB free, but S7 says only 115MB free)

from cgminer readme:

If you start cgminer with the --sharelog option, you can get detailed
information for each share found. The argument to the option may be "-" for
standard output (not advisable with the ncurses UI), any valid positive number
for that file descriptor, or a filename.

To log share data to a file named "share.log", you can use either:
./cgminer --sharelog 50 -o xxx -u yyy -p zzz 50>share.log
./cgminer --sharelog share.log -o xxx -u yyy -p zzz

For every share found, data will be logged in a CSV (Comma Separated Value)
format
Pages: « 1 ... 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 [817] 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 »
  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!