-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
September 30, 2014, 06:39:31 AM |
|
If you are not monitoring the other topics you may have missed the formal announcement of the ckpool code to the public: https://bitcointalk.org/index.php?topic=790323.0In addition, I've implemented support for the stratum extension suggest_difficulty in git with the new command line option --suggest-diff . Of course as the current git branches of ckpool and cgminer are the only two entities that support it, it may be a while before you're able to utilise this to your advantage.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
wolf_miner
Legendary
Offline
Activity: 1018
Merit: 1001
|
|
September 30, 2014, 11:05:55 AM |
|
Hi, i have 2 USB miner connected at 2 USB port, and I want to run the miner in separate detached console running CGMINER, what is the correct sintax in linux?
Thanks in advance W_M
|
|
|
|
camelot
Newbie
Offline
Activity: 8
Merit: 0
|
|
September 30, 2014, 06:42:23 PM |
|
I have two BITMAIN ANTMINER U2. Bat file: cgminer -o stratum+tcp://pool0.btcdig.com:3333 -u camel@camel -p xxxxxx One device works fine. What you need to write a bat file to connect a second device?
|
|
|
|
7queue
|
|
September 30, 2014, 08:00:19 PM |
|
Quickie for kano - did you ever get around to fixing the p2pool problem with your S2 update image? Peace No. But now that my pool is up and running http://www.kano.is/https://bitcointalk.org/index.php?topic=789369.0... I'll hopefully find time this week to get the S1/S2/S3 driver sorted out and ask everyone who has one to point it at my pool Is this driver sort out for cross compile target of MIPS, I am interested in the S1 specifically ?? The only one I can get to work is your 4.3.2a for the S1 8 )
|
8 )
|
|
|
Lag Hero
Newbie
Offline
Activity: 1
Merit: 0
|
|
October 01, 2014, 02:12:04 PM |
|
Every night at midnight, my cgminer stops working with this message:
Stratum from pool 0 detected new block Failed to create restart thread
Is there a setting i'm missing or some way to help it create a restart thread? Thanks! Aaron
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
October 01, 2014, 03:28:40 PM |
|
Every night at midnight, my cgminer stops working with this message:
Stratum from pool 0 detected new block Failed to create restart thread
Is there a setting i'm missing or some way to help it create a restart thread?
That would suggest your operating system is not allowing cgminer to create any more threads meaning that somewhere in there far too many threads were created in the first place. I can only recall this bug being in cgminer years ago so it would be on an old version, or it could happen with the current version if you have hundreds of hotplugging and unplugging devices due to them being unstable.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
7queue
|
|
October 02, 2014, 01:02:27 AM |
|
Quickie for kano - did you ever get around to fixing the p2pool problem with your S2 update image? Peace No. But now that my pool is up and running http://www.kano.is/https://bitcointalk.org/index.php?topic=789369.0... I'll hopefully find time this week to get the S1/S2/S3 driver sorted out and ask everyone who has one to point it at my pool Is this driver sort out for cross compile target of MIPS, I am interested in the S1 specifically ?? The only one I can get to work is your 4.3.2a for the S1 8 ) Was able to get it to work on an S1 making these changes to driver-bitmain.c: 477c477 < work_id = DATAW(witem)->work->id; --- > work_id = DATAW(witem)->wid; 1292,1293c1292,1293 < min = DATAW(info->work_list->tail)->work->id; < max = DATAW(info->work_list->head)->work->id; --- > min = DATAW(info->work_list->tail)->wid; > max = DATAW(info->work_list->head)->wid; 1509c1509 < if (DATAW(witem)->work->id == rxnoncedata.nonces[j].work_id) --- > if (DATAW(witem)->wid == rxnoncedata.nonces[j].work_id) 2437,2438c2437,2438 < //DATAW(witem)->work->id = ++info->last_wid; < //info->queued++; --- > DATAW(witem)->wid = ++info->last_wid; > info->queued++;
|
8 )
|
|
|
camelot
Newbie
Offline
Activity: 8
Merit: 0
|
|
October 03, 2014, 05:13:41 PM |
|
I have two BITMAIN ANTMINER U2. Downloaded official cgminer from the first post. Bat file: cgminer -o stratum+tcp://pool0.btcdig.com:3333 -u camel@camel -p xxxxxx One device works fine. What you need to write a bat file to connect a second device? Help please.
|
|
|
|
Buchi-88
Legendary
Offline
Activity: 3976
Merit: 2640
|
|
October 04, 2014, 09:12:19 AM |
|
Good day,
is Cgminer also support the Avalon Nano USB Stick?
regards
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
October 04, 2014, 09:22:41 AM |
|
is Cgminer also support the Avalon Nano USB Stick?
Only if you build a binary yourself from the current git master.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Buchi-88
Legendary
Offline
Activity: 3976
Merit: 2640
|
|
October 05, 2014, 08:42:14 AM |
|
is Cgminer also support the Avalon Nano USB Stick?
Only if you build a binary yourself from the current git master. Hello, OK and thanksfor your answer
|
|
|
|
pcecycle
Newbie
Offline
Activity: 8
Merit: 0
|
|
October 05, 2014, 08:49:54 PM |
|
I have been mining awhile using Bitminter and Antminer U2s. Now I am moving up to Rockminers which are not supported by the Bitminter software. I want to use cgminer, but am not sure how to set up the start.bat file. I have 2 Rockminer R-box 32Gh and 1 new R-box 100Gh, Can I use all three at the same time and how do I set the bat file. I am using Windows now but may switch to a Raspberry Pi. I may also add the Antminer U2s if that is possible. Any help will be appreciated!
|
|
|
|
abshnasko
Newbie
Offline
Activity: 29
Merit: 0
|
|
October 10, 2014, 04:14:20 AM |
|
Hey @ckolivas:
1. Is it possible to add a feature to the "addpool" API command to return the id of the pool? All pool commands rely on this id, but it is not known unless you first issue the "pools" command and deduce the id of the pool that was just added. Even this is vulnerable to race conditions, for example if I write logic that quickly adds two pools; this has to be managed carefully. I think returning an id is a sensible feature.
2. Maybe this has been asked before, but would you consider opening up the github issues? This is typically how developers communicate and collaborate on github; while your project is open-source, the lack of code-oriented discussion makes it quite a bit more opaque than it otherwise could be.
Thanks for your hard work, and I look forward to your response.
|
|
|
|
Taugeran
|
|
October 10, 2014, 05:23:01 AM |
|
just double checking but for the hashfast habanero devices, how do i tell cgminer to just use the clocks programmed ondevice? --hfa-hash-clock 1
anything else i need
|
Bitfury HW & Habañero : 1.625Th/s tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1 Come join Coinbase
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
October 10, 2014, 05:43:00 AM |
|
Hey @ckolivas:
1. Is it possible to add a feature to the "addpool" API command to return the id of the pool? All pool commands rely on this id, but it is not known unless you first issue the "pools" command and deduce the id of the pool that was just added. Even this is vulnerable to race conditions, for example if I write logic that quickly adds two pools; this has to be managed carefully. I think returning an id is a sensible feature.
2. Maybe this has been asked before, but would you consider opening up the github issues? This is typically how developers communicate and collaborate on github; while your project is open-source, the lack of code-oriented discussion makes it quite a bit more opaque than it otherwise could be.
Thanks for your hard work, and I look forward to your response.
1. Sounds reasonable, will look into it. 2. Unfortunately every time I did that people tried using it as a support channel instead, including asking for support for cgminer forks, and not for code issues. I'm contactable enough on the forum and via email as listed in the code base that I respond where appropriate anyway.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
abshnasko
Newbie
Offline
Activity: 29
Merit: 0
|
|
October 10, 2014, 02:49:58 PM |
|
Thanks for the reply. 2. Unfortunately every time I did that people tried using it as a support channel instead, including asking for support for cgminer forks, and not for code issues. I'm contactable enough on the forum and via email as listed in the code base that I respond where appropriate anyway. For most of my projects I let people use the Github issues for support and it works out fine. I can understand, though, if you want to contain that knowledge in bitcointalk. That said, it's difficult to find what the outstanding bugs/issues actually are, and so I imagine you have lots of repeat questions about things. It's also hard to find stuff when all knowledge about the project is lumped into a single, linear forum thread. I'm sure you have your share of opinions about bfgminer, but an open and thriving issue tracker is a definite advantage of that project: https://github.com/luke-jr/bfgminer/issues.
|
|
|
|
abshnasko
Newbie
Offline
Activity: 29
Merit: 0
|
|
October 10, 2014, 03:09:38 PM |
|
There's a bug with the "restart" JSON API command. It returns this data on success: Of course, this is not valid JSON, so it has to be parsed differently and handled as a special case in my API: https://github.com/hashware/node-cgminer-api.
|
|
|
|
Fatal_Leg4cy
Newbie
Offline
Activity: 3
Merit: 0
|
|
October 10, 2014, 06:56:06 PM |
|
So is started it up with a .bat file
cgminer -o stratum.bitcoin.cz:3333 -u Fatal_Leg4cy.worker1 -p x
and it loaded and satarted but all that keeps coming up is "Stratum from pool 0 detected new block" nothing else. So is it working?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
October 10, 2014, 07:37:43 PM |
|
So is started it up with a .bat file
cgminer -o stratum.bitcoin.cz:3333 -u Fatal_Leg4cy.worker1 -p x
and it loaded and satarted but all that keeps coming up is "Stratum from pool 0 detected new block" nothing else. So is it working?
Dunno. What's your mining hardware?
|
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?
|
|
|
Fatal_Leg4cy
Newbie
Offline
Activity: 3
Merit: 0
|
|
October 10, 2014, 07:50:59 PM |
|
So is started it up with a .bat file
cgminer -o stratum.bitcoin.cz:3333 -u Fatal_Leg4cy.worker1 -p x
and it loaded and satarted but all that keeps coming up is "Stratum from pool 0 detected new block" nothing else. So is it working?
Dunno. What's your mining hardware? I am just running it off of my computer, do you need a certain hardware for this? I am a noob at this so sorry
|
|
|
|
|