|
scole7
Newbie
Offline
Activity: 9
Merit: 0
|
|
August 30, 2014, 12:02:54 AM |
|
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
|
|
August 30, 2014, 01:12:34 AM |
|
Any idea what I am doing wrong here? Fresh install of ubuntu 14, tried this: 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
Activity: 4298
Merit: 1645
Ruu \o/
|
|
August 30, 2014, 02:25:49 AM |
|
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#L191Plus 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
Activity: 4298
Merit: 1645
Ruu \o/
|
|
August 31, 2014, 04:25:38 AM |
|
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 walletsConfiguration: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/ckpoolStatistics: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
Activity: 1288
Merit: 1004
|
|
August 31, 2014, 05:00:15 AM Last edit: August 31, 2014, 05:32:14 AM by ckolivas |
|
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. Here's what's been going on in ck-coding land with a quote from my post in the pools subsection:
|
|
|
|
Agamenon
Newbie
Offline
Activity: 23
Merit: 0
|
|
September 01, 2014, 09:53:19 PM |
|
Hi! I search for report a issue in github, but no clue 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
|
|
September 03, 2014, 05:03:25 AM |
|
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
|
|
September 03, 2014, 06:03:45 AM |
|
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
Activity: 4298
Merit: 1645
Ruu \o/
|
|
September 03, 2014, 06:08:58 AM |
|
Hi! I search for report a issue in github, but no clue 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
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4298
Merit: 1645
Ruu \o/
|
|
September 03, 2014, 12:51:58 PM |
|
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
|
|
September 03, 2014, 01:53:50 PM |
|
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
|
|
September 03, 2014, 05:40:05 PM |
|
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..... They've said they'll release a new firmware version for the S2 & S3 units soon.... Peace
|
|
|
|
7queue
|
|
September 04, 2014, 12:46:48 AM Last edit: September 04, 2014, 01:00:08 AM by 7queue |
|
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
Activity: 13
Merit: 0
|
|
September 05, 2014, 03:28:05 AM |
|
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
Activity: 4298
Merit: 1645
Ruu \o/
|
|
September 06, 2014, 11:54:02 PM |
|
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
|
|
September 07, 2014, 04:24:19 AM |
|
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
Activity: 4298
Merit: 1645
Ruu \o/
|
|
September 07, 2014, 10:08:17 AM |
|
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
|
|
September 07, 2014, 10:29:02 AM |
|
As the sun sets on the home mining scene.......
So true. The peoples coin - taken from the people......
|
|
|
|
|