Bitcoin Forum
November 18, 2017, 09:47:53 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5650255 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.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
July 29, 2017, 08:27:47 AM
 #16701

Is it only me or others also constantly getting messages about testing pool on solo mining?
One more issue to mention, 4.10.0 does not write config file and does not load working in v.4.9.2 (and pretty trivial one) config file.

Don't know if related, but the parameter --fix-protocol seems to prevent switching from gbt to stratum if the http server offers both.

Regarding the other issues: don't know, haven't tried yet; I'm passing all parameters via commandline (actually in a batch script file).

Thanks for the reply. Do I need to upgrade the miner to 4.10.0 at all to mine a segwit blocks? The backend is bitcoin core 0.14.2.
No. Current cgminer is segwit compatible.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
1511041673
Hero Member
*
Offline Offline

Posts: 1511041673

View Profile Personal Message (Offline)

Ignore
1511041673
Reply with quote  #2

1511041673
Report to moderator
1511041673
Hero Member
*
Offline Offline

Posts: 1511041673

View Profile Personal Message (Offline)

Ignore
1511041673
Reply with quote  #2

1511041673
Report to moderator
Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511041673
Hero Member
*
Offline Offline

Posts: 1511041673

View Profile Personal Message (Offline)

Ignore
1511041673
Reply with quote  #2

1511041673
Report to moderator
vayvanne
Full Member
***
Offline Offline

Activity: 193

GPG ID 48298AFC


View Profile
July 29, 2017, 06:17:24 PM
 #16702

Is it only me or others also constantly getting messages about testing pool on solo mining?
One more issue to mention, 4.10.0 does not write config file and does not load working in v.4.9.2 (and pretty trivial one) config file.

Don't know if related, but the parameter --fix-protocol seems to prevent switching from gbt to stratum if the http server offers both.

Regarding the other issues: don't know, haven't tried yet; I'm passing all parameters via commandline (actually in a batch script file).

Thanks for the reply. Do I need to upgrade the miner to 4.10.0 at all to mine a segwit blocks? The backend is bitcoin core 0.14.2.
No. Current cgminer is segwit compatible.
Hi -ck,
I see the release notes for 4.10.0 regarding the segwit support, but it has memory leak in windows build in solo mode and I would prefer 4.9.2 to continue to use.
Theoretically, segwit could be implemented totally in bitcoin core, under the RPC calls so that the miner software would not need any changes to support it. My question (and my setup in general) is for learning purposes mainly.
So do I get correctly, that cgminer 4.9.2 does not have (requiring) segwit support and blocks found would be discarded now?
Many thanks.
o_solo_miner
Legendary
*
Offline Offline

Activity: 798


-> morgen, ist heute, schon gestern <-


View Profile
July 29, 2017, 06:48:05 PM
 #16703

I am not ck but the answer to that question is:
you can use older cgminer Versions, but not an old core version.
So you need as minimum core version 14.0.0 (Segwit support)
AND
you have to add a patch to it so you are not building up on wrong blocks!


http://ckpool.org "THE Pool" from the creator of CGMiner & CKPool / Payout System:SPLNS / ZERO FEE!
------------------------------------------- join now -----------------------------------------------
http://solo.ckpool.org for Solominers with the best block notify system
Anonymailer
aka BitBacco
Hero Member
*****
Offline Offline

Activity: 658



View Profile WWW
July 31, 2017, 04:58:19 PM
 #16704

Hey, it's been a while but I'm going to finally update the compiled version of cgminer for mac I distribute and update MacMiner with it (the link you provide for Mac versions only goes up to 4.3.3 btw, I distribute mine at http://macminer.fabulouspanda.com/commandline/cgminer/ )

Since it's been so long, could you please let me know which devices I can --enable for maximum support without causing any conflicts?
Sorry to be an idiot, found the readme suggesting
--enable-avalon
--enable-avalon2
--enable-avalon4
--enable-bflsc
--enable-bitfury
--enable-cointerra
--enable-drillbit
--enable-hashfast
--enable-hashratio
--enable-icarus
--enable-klondike

MacMiner - The first, best and easiest to use native Mac coin mining app: https://bitcointalk.org/index.php?topic=197110.0

BTC: 12vZf8mjaXvHorXWVWfv7nZspHa8L8kfoG LTC: LLRqwo3YcLqoRyfZRVmUevtd2Y35Vvnt4w
nkamitaki
Newbie
*
Offline Offline

Activity: 1


View Profile
August 01, 2017, 02:34:50 AM
 #16705

Is it only me or others also constantly getting messages about testing pool on solo mining?
One more issue to mention, 4.10.0 does not write config file and does not load working in v.4.9.2 (and pretty trivial one) config file.

Dear CK,

I am experiencing a Segmentation Fault (core dumped) error when trying to write config file in version 4.10.0.   (I do not have this error with version 4.9.2).  

(it seems to write over cgminer.conf with an empty file, then crash)

I am running on R-PI, ARCH.    

Any advice?

Thanks!

This didn't seem to get any kind of acknowledgement. I'm following it up here to see if anyone can help??

Just registered to chime in as I happened to be running into this myself and had thought it might be a quirk from compiling/running with MacOSX.  I haven't done much digging into it, and when I get a chance I'll try the debug backtrace mentioned already.  I can also confirm that on my system the problem arises between 4.9.2 and 4.10.0 releases.

In case it might be useful to those more familiar with the code, a few crude tests by way of re-building seem to isolate the problem to setting '--enable-icarus' during configuration.   That is, including all of the non-standalone drivers minus icarus seems to have a functioning write_config on my system.  So do not think this is something to do with all parsing/writing for settings, but may be specific to one or more introduced with icarus support.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
August 01, 2017, 02:38:52 AM
 #16706

Just registered to chime in as I happened to be running into this myself and had thought it might be a quirk from compiling/running with MacOSX.  I haven't done much digging into it, and when I get a chance I'll try the debug backtrace mentioned already.  I can also confirm that on my system the problem arises between 4.9.2 and 4.10.0 releases.

In case it might be useful to those more familiar with the code, a few crude tests by way of re-building seem to isolate the problem to setting '--enable-icarus' during configuration.   That is, including all of the non-standalone drivers minus icarus seems to have a functioning write_config on my system.  So do not think this is something to do with all parsing/writing for settings, but may be specific to one or more introduced with icarus support.


Sounds feasible. It's likely to be missing save for the options added to icarus post 4.9.2

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
nkamitaki
Newbie
*
Offline Offline

Activity: 1


View Profile
August 01, 2017, 03:03:44 AM
 #16707

Just registered to chime in as I happened to be running into this myself and had thought it might be a quirk from compiling/running with MacOSX.  I haven't done much digging into it, and when I get a chance I'll try the debug backtrace mentioned already.  I can also confirm that on my system the problem arises between 4.9.2 and 4.10.0 releases.

In case it might be useful to those more familiar with the code, a few crude tests by way of re-building seem to isolate the problem to setting '--enable-icarus' during configuration.   That is, including all of the non-standalone drivers minus icarus seems to have a functioning write_config on my system.  So do not think this is something to do with all parsing/writing for settings, but may be specific to one or more introduced with icarus support.


Sounds feasible. It's likely to be missing save for the options added to icarus post 4.9.2

Hmm, I think I found it after that suggestion - it looks like a line is needed in the write_config of cgminer.c for the newly introduced 'set_float_100_500', such as at L5459:

if (opt->type & OPT_HASARG &&
             ((void *)opt->cb_arg == (void *)set_float_125_to_500 ||
             (void *)opt->cb_arg == (void *)set_float_100_to_500 ||
              (void *)opt->cb_arg == (void *)set_float_100_to_250)) {
            fprintf(fcfg, ",\n\"%s\" : \"%.1f\"", p+2, *(float *)opt->u.arg);
            continue;
         }

This was necessitated upon expanding the Compac GekkoScience frequency range here: https://github.com/ckolivas/cgminer/commit/702b37007caa9605d3adabf646f8df47fe86e83c

Making that change now has config writing when setting '--enable-icarus' during configuation for me.
vayvanne
Full Member
***
Offline Offline

Activity: 193

GPG ID 48298AFC


View Profile
August 01, 2017, 04:04:47 AM
 #16708

I am not ck but the answer to that question is:
you can use older cgminer Versions, but not an old core version.
So you need as minimum core version 14.0.0 (Segwit support)
AND
you have to add a patch to it so you are not building up on wrong blocks!

Can -ck confirm this please?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
August 01, 2017, 04:06:49 AM
 #16709

I am not ck but the answer to that question is:
you can use older cgminer Versions, but not an old core version.
So you need as minimum core version 14.0.0 (Segwit support)
AND
you have to add a patch to it so you are not building up on wrong blocks!

Can -ck confirm this please?
You need minimum bitcoin core 0.14.0, correct. Older versions of cgminer that don't explicitly have segwit support but have solo mining support will still be able to mine valid blocks but they will only mine classic transactions without the segwit commitment or any segwit transactions so realistically you should be using the latest cgminer as well.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
mutluit
Newbie
*
Offline Offline

Activity: 3


View Profile
August 02, 2017, 01:00:38 PM
 #16710

isdupnonce() tests whether a found nonce was already found.
I wonder under what circumstances such a dupe nonce ever can happen at all.
Can it ever happen with solo mining?

mutluit
Newbie
*
Offline Offline

Activity: 3


View Profile
August 05, 2017, 06:12:59 PM
 #16711

Every 2 minutes or so the device reports a nonce error.
What is the definition of such a nonce error? Why does it happen?

DrakonX
Newbie
*
Offline Offline

Activity: 24


View Profile
August 08, 2017, 06:47:23 PM
 #16712

Does every USB port have an ID that can be optained via cgminer in order to see which of your ASIC miners is broken?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
August 08, 2017, 08:54:34 PM
 #16713

Does every USB port have an ID that can be optained via cgminer in order to see which of your ASIC miners is broken?
No,they're assigned randomly by the operating system.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 2268


Linux since 1997 RedHat 4


View Profile
August 13, 2017, 03:03:53 AM
 #16714

I'm not sure if someone is going senile or what,

BUT a reminder about cgminer:

NEVER set "no-submit-stale" : true,

like this guy did here:
https://bitcointalk.org/index.php?topic=1876330.msg20829032#msg20829032

Set it to: false
(or don't set it at all)

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
DrakonX
Newbie
*
Offline Offline

Activity: 24


View Profile
August 14, 2017, 09:30:37 AM
 #16715

And why not? Don't know what "no-submit-stale" means.
Moddak2
Member
**
Offline Offline

Activity: 98


View Profile
August 17, 2017, 01:01:21 PM
 #16716

I try start CGminer with mining some coins,and command line dont show my hashrate,I dont know why,I have radeon r4 graphics.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
August 17, 2017, 01:02:20 PM
 #16717

I try start CGminer with mining some coins,and command line dont show my hashrate,I dont know why,I have radeon r4 graphics.
Because cgminer hasn't been a GPU miner in many years. It only controls bitcoin mining ASICs.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
taufik0911
Member
**
Offline Offline

Activity: 98


View Profile
August 20, 2017, 02:36:34 PM
 #16718

someone please tell me the best os for mining  Sad

  GETTING LOST IN THE SEA OF CRYPTOCURRENCIES? CHOOSE PLAYKEY TOKEN! 
PLAYKEY.IO ◇  DECENTRALIZED CLOUD GAMING PLATFORM 
[ Website ]  [ Reddit ]  [ Medium ]  [ Twitter ]  [ LinkedIn ]  [ Telegram ]  [ BitcoinTalk ]  [ Facebook ]
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
August 20, 2017, 10:43:26 PM
 #16719

someone please tell me the best os for mining  Sad
Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
taufik0911
Member
**
Offline Offline

Activity: 98


View Profile
August 21, 2017, 12:50:50 AM
 #16720

someone please tell me the best os for mining  Sad
Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)
Raspberry Pi? sorry i'm newbie

  GETTING LOST IN THE SEA OF CRYPTOCURRENCIES? CHOOSE PLAYKEY TOKEN! 
PLAYKEY.IO ◇  DECENTRALIZED CLOUD GAMING PLATFORM 
[ Website ]  [ Reddit ]  [ Medium ]  [ Twitter ]  [ LinkedIn ]  [ Telegram ]  [ BitcoinTalk ]  [ Facebook ]
Pages: « 1 ... 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 »
  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!