Bitcoin Forum
November 05, 2024, 09:31:57 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 [164] 165 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1193192 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.
informer
Member
**
Offline Offline

Activity: 238
Merit: 10


View Profile WWW
May 19, 2014, 05:05:58 AM
 #3261

I caught steal on some ASIC Blades V2...
I don't think the Block Erupter Blades even pay for electricity anymore? :p

After a day of research I finally discovered that although bfgminer supports ASIC Blades, it doesn't do so natively in the downloads I found, and needs to be compiled.
Win32 version does support it. There is currently no way to build a Win64 version with support, due to limitations of libmicrohttpd.

So, naturally I start working from the windows-build.txt being on a Win64 platform. Everything was going fine all the way down through every single step. Except for the last one. "./compile". Each time I removed every single download, reinstalled everything and walks through the steps, I would get stuck at:

checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.4+

Ok, so I backed up the latest version of utash-dev in the \include folder and finally found a 1.9.4 version and exported it there. still, no joy. Has anyone else come across this? If so, were you able to overcome the issue and how did you do it?
Figure out where your uthash.h file is, and try ./configure CFLAGS='-I C:\path\with\uthash.h\inside\it'

That did the trick. What I realized in following your instructions is I put uthash in a subfolder. So, I removed everything and started over. It worked this time without the need of defining the path. Thank you for your help. As you can tell I am new to this. It's really just a hobby for now but I would like to expand as I become more versed in all this. I'm running it now and testing for stability. It's been running for about an hour now with no issues. So, it appears to be stable. Thanks again for taking the time to reply.

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 19, 2014, 08:39:15 AM
 #3262

Possible BUG:

Mining solo to bitcoind via GBT and having additional STRATUM pool for new block notifications does not work. The stratum thread is closed very soon with "Pool 1: Connection not needed, suspending" message.
Thanks.
I've committed a probable fix for this issue in the main git branch.
However, the fix is too invasive to be safe for older versions, so it won't be fixed in 3.10.1 or 3.5.8.

BCwinning
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
May 19, 2014, 02:36:04 PM
 #3263

I have 2 antminer u2's I'm running but I would like to clock each one individually
and set the parameters in the conf file.

I'm sure my syntax is wrong and hope someone can steer me right.
A few pages back a poster shows some examples of it on linux which is what I'm going off of.
I'm on windows but it shouldn't matter if I get the syntax correct?

Default working config file shows
Code:
"scan" : [
"amu:all"
],
"set-device" : [
"antminer:clock=x0A01"

So I edited it to reflect this
Code:
"scan" : [
    "amu:\\\\.\\COM5"
],
"set-device" : [
"antminer:clock=x0A01"

works like it should, it launches and runs the device on com5 at the speed specified.

The two issues I'm having is adding the 2nd device under scan seems to break
and attempting to change the syntax under set device breaks it no matter how I edit it.
The syntax I was attempting
"antminer:\\\\.\\COM5:clock=x0A01"

So basically I edited the conf file to look like this and it won't run...
Code:
"scan" : [
    "amu:\\\\.\\COM5"
    "amu:\\\\.\\COM7"
],
"set-device" : [
"antminer:\\\\.\\COM5:clock=x0A01"
        "antminer:\\\\.\\COM7:clock=x0B81"

I'm sure it's stupid like extra quotations or something..  Sad

Set device device specific settings should be: antminer@\\\\.\\COM5:clock=
well that works for one but adding the 2nd line kills it. Either line works fine com5/com7
but adding both lines won't launch.
Code:
"scan" : [
    "amu:\\\\.\\COM5"
    "amu:\\\\.\\COM7"
],
"set-device" : [
    "antminer@\\\\.\\COM5:clock=x0A01"
    "antminer@\\\\.\\COM7:clock=x0A01"
I just went with a good working clock to get it to launch but no dice.

MudbankKeith: Icarus flag isn't required for this stick, Tried with and without and noticed nothing in performance.
 and yes running 2 instances works fine but it isn't what I want.
1 nice window where they all play nice together with different clock settings. Less files to screw with etc etc.

The New World Order thanks you for your support of Bitcoin and encourages your continuing support so that they may track your expenditures easier.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 19, 2014, 03:06:34 PM
 #3264

I have 2 antminer u2's I'm running but I would like to clock each one individually
and set the parameters in the conf file.

I'm sure my syntax is wrong and hope someone can steer me right.
A few pages back a poster shows some examples of it on linux which is what I'm going off of.
I'm on windows but it shouldn't matter if I get the syntax correct?

Default working config file shows
Code:
"scan" : [
"amu:all"
],
"set-device" : [
"antminer:clock=x0A01"

So I edited it to reflect this
Code:
"scan" : [
    "amu:\\\\.\\COM5"
],
"set-device" : [
"antminer:clock=x0A01"

works like it should, it launches and runs the device on com5 at the speed specified.

The two issues I'm having is adding the 2nd device under scan seems to break
and attempting to change the syntax under set device breaks it no matter how I edit it.
The syntax I was attempting
"antminer:\\\\.\\COM5:clock=x0A01"

So basically I edited the conf file to look like this and it won't run...
Code:
"scan" : [
    "amu:\\\\.\\COM5"
    "amu:\\\\.\\COM7"
],
"set-device" : [
"antminer:\\\\.\\COM5:clock=x0A01"
        "antminer:\\\\.\\COM7:clock=x0B81"

I'm sure it's stupid like extra quotations or something..  Sad

Set device device specific settings should be: antminer@\\\\.\\COM5:clock=
well that works for one but adding the 2nd line kills it. Either line works fine com5/com7
but adding both lines won't launch.
Code:
"scan" : [
    "amu:\\\\.\\COM5"
    "amu:\\\\.\\COM7"
],
"set-device" : [
    "antminer@\\\\.\\COM5:clock=x0A01"
    "antminer@\\\\.\\COM7:clock=x0A01"
I just went with a good working clock to get it to launch but no dice.

MudbankKeith: Icarus flag isn't required for this stick, Tried with and without and noticed nothing in performance.
 and yes running 2 instances works fine but it isn't what I want.
1 nice window where they all play nice together with different clock settings. Less files to screw with etc etc.


You need commas at the end of everyline/statement since it's JSON.

Code:
"scan" : [
    "amu:\\\\.\\COM5",
    "amu:\\\\.\\COM7"
],
"set-device" : [
    "antminer@\\\\.\\COM5:clock=x0A01",
    "antminer@\\\\.\\COM7:clock=x0A01"
],



Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
BCwinning
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
May 19, 2014, 05:40:48 PM
 #3265

Taugeran  thanks for the help and effort but I still couldn't get that file to run correctly.
I have no clue why, I tried a few different things from copying the code you posted to moving commas.
I'm done with it, I've configured nginx faster than this bloody thing.
As suggested I slapped together a batch file to just execute 2 instances on their own using
their own config file *&^&^)*&6 works ok and was done in 5 mins compared to this nightmare.

The New World Order thanks you for your support of Bitcoin and encourages your continuing support so that they may track your expenditures easier.
vs3
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
May 20, 2014, 06:37:06 AM
 #3266

Lately I've been having weird issues with bfgminer mostly when the connection with eligius drops - if at some point the pool disconnects then after the reconnect or switch to another pool my miners just never start hashing again.
(...)
Try updating from git. I believe I just fixed this earlier tonight.

Same thing still happening with 7bd2a8980979b087e4dc892dafe9534f4d6a7257 ...

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 20, 2014, 06:39:40 AM
 #3267

Lately I've been having weird issues with bfgminer mostly when the connection with eligius drops - if at some point the pool disconnects then after the reconnect or switch to another pool my miners just never start hashing again.
(...)
Try updating from git. I believe I just fixed this earlier tonight.

Same thing still happening with 7bd2a8980979b087e4dc892dafe9534f4d6a7257 ...
Can you upload a debuglog to dropbox or somewhere and send me a link?

vs3
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
May 20, 2014, 06:45:48 AM
 #3268

Lately I've been having weird issues with bfgminer mostly when the connection with eligius drops - if at some point the pool disconnects then after the reconnect or switch to another pool my miners just never start hashing again.
(...)
Try updating from git. I believe I just fixed this earlier tonight.

Same thing still happening with 7bd2a8980979b087e4dc892dafe9534f4d6a7257 ...
Can you upload a debuglog to dropbox or somewhere and send me a link?
I'll restart it with a debuglog and will monitor it for the next time when it happens.

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 21, 2014, 03:05:00 AM
 #3269

Can you pastebin a debuglog?
Yes gimme a little while.
Too slow  Tongue
Try latest git, I think it's fixed.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 21, 2014, 04:15:19 AM
 #3270

Can you pastebin a debuglog?
Yes gimme a little while.
Too slow  Tongue
Try latest git, I think it's fixed.

doh >.<

will do

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
PSL
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile
May 21, 2014, 02:51:05 PM
 #3271

New cpuminer added support for GBT. I try to test solo mining and I try to mine XNC (https://github.com/xencoin/Xencoin) because difficulty is low. When I try to mine with bfgminer (and faster GPU), I finish with error --coinbase-addr: Invalid address. Addrress is correct, it is XNC address. I run something like this:

Code:
$ bfgminer -V
bfgminer 3.99.0
$ bfgminer --scrypt -o http://10.11.12.13:4335 -O USER:PASSWORD --coinbase-addr XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
[2014-05-21 16:38:35] bfgminer: --coinbase-addr: Invalid address

I would like to play with --coinbase-sig but before that I have to find how to run bfgminer with coinbase-addr...

I think there is some problem in bfgminer related to validation of coinbase address.
xyzzy099
Legendary
*
Offline Offline

Activity: 1066
Merit: 1098



View Profile
May 21, 2014, 02:58:07 PM
 #3272

New cpuminer added support for GBT. I try to test solo mining and I try to mine XNC (https://github.com/xencoin/Xencoin) because difficulty is low. When I try to mine with bfgminer (and faster GPU), I finish with error --coinbase-addr: Invalid address. Addrress is correct, it is XNC address. I run something like this:

Code:
$ bfgminer -V
bfgminer 3.99.0
$ bfgminer --scrypt -o http://10.11.12.13:4335 -O USER:PASSWORD --coinbase-addr XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
[2014-05-21 16:38:35] bfgminer: --coinbase-addr: Invalid address

I would like to play with --coinbase-sig but before that I have to find how to run bfgminer with coinbase-addr...

I think there is some problem in bfgminer related to validation of coinbase address.

As I recall, BFGMiner validates the coinbase address to be a well-formed BITCOIN address, so if you are mining an alt coin, solo mining with GBT won't work.  I'm not sure how you could validate the payout address in a way that would work for all possible alt coins.

Libertarians:  Diligently plotting to take over the world and leave you alone.
PSL
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile
May 21, 2014, 03:09:02 PM
 #3273

New cpuminer added support for GBT. I try to test solo mining and I try to mine XNC (https://github.com/xencoin/Xencoin) because difficulty is low. When I try to mine with bfgminer (and faster GPU), I finish with error --coinbase-addr: Invalid address. Addrress is correct, it is XNC address. I run something like this:

Code:
$ bfgminer -V
bfgminer 3.99.0
$ bfgminer --scrypt -o http://10.11.12.13:4335 -O USER:PASSWORD --coinbase-addr XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
[2014-05-21 16:38:35] bfgminer: --coinbase-addr: Invalid address

I would like to play with --coinbase-sig but before that I have to find how to run bfgminer with coinbase-addr...

I think there is some problem in bfgminer related to validation of coinbase address.

As I recall, BFGMiner validates the coinbase address to be a well-formed BITCOIN address, so if you are mining an alt coin, solo mining with GBT won't work.  I'm not sure how you could validate the payout address in a way that would work for all possible alt coins.


cpuminer 2.4 solved address validation is some way. Address XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5 is accepted and address was rejected when I tried to damage it (add/remove characters, change character). This command accepts address:
Code:
$ minerd -V
cpuminer 2.4
 built on May 21 2014
 features: x86_64 SSE2 AVX AVX2 XOP
libcurl/7.26.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3
libjansson 2.3.1

$ minerd -a scrypt -t1 -o http://10.11.12.13:4335 -O USER:PASSWORD --coinbase-addr XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
[2014-05-21 17:04:21] 1 miner threads started, using 'scrypt' algorithm.
[2014-05-21 17:04:51] HTTP request failed: connect() timed out!
[2014-05-21 17:04:51] json_rpc_call failed, retry after 30 seconds

It failed, because login information is not correct. It works, tested with real parameters. To test address validation, it is not necessary to login..
xyzzy099
Legendary
*
Offline Offline

Activity: 1066
Merit: 1098



View Profile
May 21, 2014, 03:31:13 PM
 #3274

cpuminer 2.4 solved address validation is some way. Address XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5 is accepted and address was rejected when I tried to damage it (add/remove characters, change character). This command accepts address:
Code:
$ minerd -V
cpuminer 2.4
 built on May 21 2014
 features: x86_64 SSE2 AVX AVX2 XOP
libcurl/7.26.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3
libjansson 2.3.1

$ minerd -a scrypt -t1 -o http://10.11.12.13:4335 -O USER:PASSWORD --coinbase-addr XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
[2014-05-21 17:04:21] 1 miner threads started, using 'scrypt' algorithm.
[2014-05-21 17:04:51] HTTP request failed: connect() timed out!
[2014-05-21 17:04:51] json_rpc_call failed, retry after 30 seconds

It failed, because login information is not correct. It works, tested with real parameters. To test address validation, it is not necessary to login..

Maybe cpuminer just doesn't try to validate the address, and trusts you to know what you are doing?  I imagine you could easily remove the address validation in BFGMiner and recompile it if you want.  Maybe Luke-jr will fix it, but I don't think he is an alt-coin fan, so he may not think it's worth the effort.


Libertarians:  Diligently plotting to take over the world and leave you alone.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 21, 2014, 10:13:01 PM
 #3275

As I recall, BFGMiner validates the coinbase address to be a well-formed BITCOIN address, so if you are mining an alt coin, solo mining with GBT won't work.  I'm not sure how you could validate the payout address in a way that would work for all possible alt coins.
Not possible. GBT is only designed to work for Bitcoin.
It's not merely validating the address, it's interpreting it.
So there is no "just turn off validation", you'd need to implement support for the altcoin's address format.

Trance104
Full Member
***
Offline Offline

Activity: 206
Merit: 100


View Profile
May 22, 2014, 07:14:13 PM
 #3276

I'm unable to download this from your website. Is it no longer working?
qunity3d
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
May 22, 2014, 08:19:32 PM
 #3277

Hello,
I bought BFL 50gh/s ASIC Miner. The problem is that the cooler buzz is very strong, is it possible to change the parameter «fan», through bfgminer?
Also, if you can not, how can I solve this problem?
pauljbl
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
May 22, 2014, 10:02:39 PM
 #3278

hi luke

I have been running debug on bfgminer with nf2 and it is still hashing it is just not accepting shares after so long. I put on PC debug and it showed Pool 0: Failed to get recent socket.

The debug log shows its still trying to hash just not accepting shares anymore. Have put the log on the issues page on bfgminer got hub. Am using latest version as always
Trance104
Full Member
***
Offline Offline

Activity: 206
Merit: 100


View Profile
May 23, 2014, 02:45:55 AM
 #3279

I'm unable to download this from your website. Is it no longer working?

bump
hurricandave
Legendary
*
Offline Offline

Activity: 966
Merit: 1003



View Profile
May 23, 2014, 02:57:43 AM
 #3280

I'm unable to download this from your website. Is it no longer working?

bump
What can't be downloaded? If you need BFG Miner click page 1 of this thread and the first post has links for almost every version you could want, or a redirect to a directory source.
Pages: « 1 ... 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 [164] 165 »
  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!