-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2017, 02:38:52 AM |
|
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
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
nkamitaki
Newbie
Offline
Activity: 2
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2017, 03:03:44 AM |
|
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/702b37007caa9605d3adabf646f8df47fe86e83cMaking that change now has config writing when setting '--enable-icarus' during configuation for me.
|
|
|
|
vayvanne
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2017, 04:04:47 AM |
|
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 (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 01, 2017, 04:06:49 AM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
mutluit
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 02, 2017, 01:00:38 PM |
|
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
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2017, 06:12:59 PM |
|
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
Jr. Member
Offline
Activity: 99
Merit: 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 08, 2017, 06:47:23 PM |
|
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 (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 08, 2017, 08:54:34 PM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
DrakonX
Jr. Member
Offline
Activity: 99
Merit: 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 14, 2017, 09:30:37 AM |
|
And why not? Don't know what "no-submit-stale" means.
|
|
|
|
Moddak2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 17, 2017, 01:01:21 PM |
|
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 (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 17, 2017, 01:02:20 PM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
taufik0911
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 1274
Merit: 104
HEX: Longer pays better
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2017, 02:36:34 PM |
|
someone please tell me the best os for mining ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2017, 10:43:26 PM |
|
someone please tell me the best os for mining ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Linux, though it doesn't matter these days since most miners come with or expect images on controllers like the Rpi (all running linux.)
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
taufik0911
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 1274
Merit: 104
HEX: Longer pays better
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 21, 2017, 12:50:50 AM |
|
someone please tell me the best os for mining ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 21, 2017, 12:51:33 AM |
|
someone please tell me the best os for mining ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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 Yes.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
finnich
Newbie
Offline
Activity: 2
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 26, 2017, 02:47:09 AM |
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2017, 09:07:26 PM |
|
There's virtually nothing left to do in the mining client space, only improved drivers for existing hardware and drivers for new hardware. As the vast majority of drivers are now maintained by the hardware manufacturers themselves now, and the biggest manufacturer (Bitmain) don't contribute code back to the master cgminer code, that means there really is nothing to do for them.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Moddak2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 31, 2017, 01:12:25 PM |
|
I will setup cgminer and try again mine some coins for windows.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3582
Merit: 1094
Think for yourself
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 01, 2017, 12:48:26 AM |
|
I will setup cgminer and try again mine some coins for windows.
I don't think windows needs any coins.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
|