Bitcoin Forum
November 19, 2024, 04:59:02 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805645 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: 4298
Merit: 1645


Ruu \o/


View Profile WWW
August 29, 2014, 11:40:35 PM
 #15401

How do you build your windows binaries?
I really hate doing this but precisely as it says here:
https://github.com/ckolivas/cgminer/blob/master/README#L163

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

Activity: 9
Merit: 0


View Profile
August 30, 2014, 12:02:54 AM
 #15402

That is help and I appreciate the advice. Does mingw just not work on windows or does it require better knowledge of how to build on windows?
Morblias
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
August 30, 2014, 01:12:34 AM
 #15403

Any idea what I am doing wrong here?

Fresh install of ubuntu 14, tried this:

Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl3-dev libudev-dev
git clone https://github.com/ckolivas/cgminer
cd cgminer
sudo ./autogen.sh
sudo ./configure --enable-bflsc
sudo make
sudo make install
cgminer

It shows the following trying to run my BFL Monarch:

BitForceSC detect (3:3) failed to initialise (incorrect device?)
USB init, open device failed, err -3 you don't have privilege to access BAS device 3:3

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
August 30, 2014, 02:25:49 AM
 #15404

Any idea what I am doing wrong here?

It shows the following trying to run my BFL Monarch:

BitForceSC detect (3:3) failed to initialise (incorrect device?)
USB init, open device failed, err -3 you don't have privilege to access BAS device 3:3
I really hate doing this but:
https://github.com/ckolivas/cgminer/blob/master/ASIC-README#L191

Plus the monarch code is not in the master branch so you're wasting your time unless you git checkout the bflsc28 branch

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

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
August 31, 2014, 04:25:38 AM
 #15405

Here's what's been going on in ck-coding land with a quote from my post in the pools subsection:

http://solo.ckpool.org
No frills, no fuss 0.5% fee anonymous solo bitcoin mining for everyone


No registration required, no payment schemes no pool op wallets


Configuration:
Just point your miner to: stratum+tcp://solo.ckpool.org:3333
Set your username to your btcaddress with any or even no worker extension, and any password.
eg: cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ.0 -p x
If you enter an invalid address you will be rejected

Suitable for:
    Large mining farms
    Regular miners struggling to recoup costs who wish to take extra risk for greater reward potential for part or all of their hashrate
    The last backup for all miners who don't have a solo setup or wish to avoid the overheads of running one
    Miners with old/inefficient miners that will never earn any rewards through regular mining that wish to leave it mining as a lottery

Proxy support:
Miners with many devices wishing to consolidate their devices into a single connection to solo ckpool are recommended to use the complementary ckpool code as ckproxy stratum proxy (for linux).
Ckpool code is available here: https://bitbucket.org/ckolivas/ckpool

Statistics:
Solo.ckpool.org currently only displays minimal per user information based on btcaddress.
To access this, enter your BTC address at the end of: http://solo.ckpool.org/users/

Advantages over regular solo mining:
Mining at solo.ckpool.org avoids the overheads of running a full bitcoin node that requires both great storage and bandwidth for optimal performance.
Solo.ckpool.org is extensively connected to high speed low latency bitcoin nodes for rapid block change notification and propagation.
Unlike regular pools, ckpool never mines transaction-free blocks due to its ultra-scaleable code which has miners on both new blocks and transactions concurrently.

How it works:
ckpool automatically takes your bitcoin address and gives you a unique stratum connection mining to your own address.
If you find a block, all 25BTC + transaction fees get generated directly at your bitcoin address!
There is no need to worry about passwords, logins, withdrawals, authentication or pool wallet hacks.
You remain anonymous apart from your btc address.
All you need to confirm you are mining to your own address is to examine the coinbase and template sent to you over stratum.
Note that if you do not find a block, you get no reward at all with solo mining.
0.5% goes to 1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ to operate the pool and contribute to further ckpool code development.


Pool code and pool operated and created by Con Kolivas, creator of cgminer and ckpool.

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

Activity: 1288
Merit: 1004



View Profile
August 31, 2014, 05:00:15 AM
Last edit: August 31, 2014, 05:32:14 AM by ckolivas
 #15406

This is great! I am going to point some power at it when I get home
It will be interesting to see how it goes.
Excellent work as always.
 Smiley





Here's what's been going on in ck-coding land with a quote from my post in the pools subsection:

http://solo.ckpool.org
No frills, no fuss 0.5% fee anonymous solo bitcoin mining for everyone


Agamenon
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
September 01, 2014, 09:53:19 PM
 #15407

Hi! I search for report a issue in github, but no clue Sad
cgminer crash, when ID from ASIC reach to 32535, terminal get with chars from last update, and cant see any command in terminal....
the final log line is: "hotplug thread 32535 create failed"
vested
Full Member
***
Offline Offline

Activity: 481
Merit: 102



View Profile
September 03, 2014, 05:03:25 AM
 #15408

Ive been getting "cgminer: --scrypt: unrecognized option" when trying to run my batch file on cgmine 4.5.0

Any known reason for this?

Thanks
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



View Profile WWW
September 03, 2014, 06:03:45 AM
 #15409

Ive been getting "cgminer: --scrypt: unrecognized option" when trying to run my batch file on cgmine 4.5.0

Any known reason for this?

Thanks
Scrypt mining was removed and is no longer available in any versions newer than 3.7.2.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
September 03, 2014, 06:08:58 AM
 #15410

Hi! I search for report a issue in github, but no clue Sad
cgminer crash, when ID from ASIC reach to 32535, terminal get with chars from last update, and cant see any command in terminal....
the final log line is: "hotplug thread 32535 create failed"
It looks like it's hitting a thread count limit on your operating system, and that's not surprising, but the real question is why do you even get to IDs that high? If you have massive instability that leads to devices constantly dropping out and being re-hotplugged then you have some other major problem.

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

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 03, 2014, 12:42:34 PM
 #15411

Hi ckolivas & Kano,

I noticed Bitmain have uploaded their cgminer source code here:

https://github.com/bitmaintech/cgminer

Did you guys get a chance to check it out yet?

Peace  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
September 03, 2014, 12:51:58 PM
 #15412

Hi ckolivas & Kano,

I noticed Bitmain have uploaded their cgminer source code here:

https://github.com/bitmaintech/cgminer

Did you guys get a chance to check it out yet?
We've not I'm afraid as we've both been busy with this upcoming pool project that is no longer a secret. Kudos to bitmain for finally releasing the code, and even better that they synced up with latest cgminer. However from my understanding the S3 code rips out and replaces the S1 and S2 code so it will almost certainly need massaging just to make sure it's not stepping on other drivers even before we can start talking about improvements. Hopefully soon...

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

Activity: 481
Merit: 102



View Profile
September 03, 2014, 01:53:50 PM
 #15413

Ive been getting "cgminer: --scrypt: unrecognized option" when trying to run my batch file on cgmine 4.5.0

Any known reason for this?

Thanks
Scrypt mining was removed and is no longer available in any versions newer than 3.7.2.

Thanks, havent mined in a while, haha.
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 03, 2014, 05:40:05 PM
 #15414

Hi ckolivas & Kano,

I noticed Bitmain have uploaded their cgminer source code here:

https://github.com/bitmaintech/cgminer

Did you guys get a chance to check it out yet?
We've not I'm afraid as we've both been busy with this upcoming pool project that is no longer a secret. Kudos to bitmain for finally releasing the code, and even better that they synced up with latest cgminer. However from my understanding the S3 code rips out and replaces the S1 and S2 code so it will almost certainly need massaging just to make sure it's not stepping on other drivers even before we can start talking about improvements. Hopefully soon...

Turns out it's the USB cgminer, not the Ants..... Roll Eyes

They've said they'll release a new firmware version for the S2 & S3 units soon....

Peace  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
7queue
Full Member
***
Offline Offline

Activity: 177
Merit: 100


View Profile
September 04, 2014, 12:46:48 AM
Last edit: September 04, 2014, 01:00:08 AM by 7queue
 #15415

Is the --enable-ants1 for cross compiling for OpenWrt to run directly on the S1??

I've tried the master branch, bitmain repo and kanoi repo and none detect the actual blades on OpenWrt on the S1 controller...

Now to search for an older version and give that a go.

8 )

Edit:

Used the ants1-4.3.2a-85fcf0c branch from kanoi's repo and that works,

Get this once in a while?

ANT0: bitmain_parse_results() RxNonce Data error work(19289)

8 )
basil3legs
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 05, 2014, 03:28:05 AM
 #15416

A quick question for ckolivas or kano...

A while back I started looking at cgminer with a view to making a few minor modifications.  It took a while to get my head around how the software worked but I really couldn't find an important bit of code, i.e. the code that actually calculates the final hash value.  Obviously sha2.c contains the sha256 code but it is the part that calls it to generate the final hash I am looking for.  After the Merkle root etc. have been calculated the hash routine should be called 3 times, twice for the first hash due to the length being 80 and then once with the resulting 32 byte result to give the final result.  I can see that the first part of the first hash only needs to be calculated once as the nonce changes as that is beyond the first 64 bytes and this appears to be then stored in midstate but I can't see where that is then used with the nonce to finish the first hash and then do the second hash to get the result.

Also, is regen_hash only used once a result within difficulty is found to double check the result?

It's a while since I last looked at the code but I'm sure you understand what I mean and hopefully can point me in the right direction.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
September 06, 2014, 11:54:02 PM
 #15417

New release: Version 4.6.0, 7th September 2014

As the sun sets on the home mining scene, here's a new release mainly with the driver for the BFL mofarch that was completed months ago but sitting around waiting for someone to actually take delivery of them. I'd been holding off till now because they promised a new firmware and I was going to redesign the driver around it, but that never eventuated...


Human readable changelog:

- BFLSC28, aka BFL Monarch driver.
- Avalon2 driver updates.
- Minion driver updates.
- Allow passwordless workers now.
- Disconnect connections to unused stratum pools more reliably.


Full changelog:

- We should not be checking for pool_unworkable in cnx_needed as it is keeping
stratum connections open on unused pools
- Properly handle lack of input when adding pool via menu
- Allow workers without passwords
- minion - increase max chip number
- Avalon2: add more comments on Avalon2 options
- Avalon2: add polling delay option, long coinbase support, LED status on API,
change overheat from 88 to 98
- minion - add a ' before non-zero core error counts
- minion - hidden optional per core nonce stats
- bflsc28 - clock is hex
- bflsc28 - allow setting clock and volt from the API ascset command
- bflsc28 - add chip count to stats
- bflsc28 stats
- Simplehacks to better serve bflsc28
- Only use one hashtable for bflsc28 work queued
- Copy back the buffer after we've stripped the inprocess field on bflsc
- Parse results for BMA based on uid and remove work from the queue when found
- Strip out the inprocess details from bflsc results if it exists
- Create a hashtable of work by uid as it's accepted by BMA
- Add some rudimentary values for BMA sleep times
- Fix various errors in queueing work for bflsc28 and limit job queueing to 10
to fit within a usb frame
- Create preliminary work queueing for bflsc28 using jobs of up to 20 at a time
by rolling work where possible
- Convert all bflsc transfers to the full 512 bytes
- Don't mistake bflsc28 for fpga
- Do initial detection of bflsc28 devices

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

Activity: 89
Merit: 10


View Profile WWW
September 07, 2014, 04:24:19 AM
 #15418

No 4.6.0 Windows executable?

Пoльзyйтecь бecплaтнo и пишитe чтo вaм нyжнo yлyчшить:trd.ai
Bидeo, кaк пoльзoвaтьcя пpoeктoм:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
September 07, 2014, 10:08:17 AM
 #15419

No 4.6.0 Windows executable?
My mistake, sorry. Uploaded.

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

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 07, 2014, 10:29:02 AM
 #15420


As the sun sets on the home mining scene.......


So true. The peoples coin - taken from the people...... Cry

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Pages: « 1 ... 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 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 ... 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!