Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 133. (Read 1193235 times)

full member
Activity: 181
Merit: 100
Sorry I don't have any log details, but I do have 3.2.0 crashing from 8-24 hours running on ubuntu with 4x fpga and 2x little singles, no gpus. Just dropped dead to command prompt, computer was not locked up or anything. Has happened 2-3 times already since release, glad I am not the only one having problems with newest version.
full member
Activity: 235
Merit: 100
I've been on 3.2.0(64-bit) for 1 day and 4 hours, Zero problems with two instances with 5 BE's. This is on Windows 7 64-bit.
hero member
Activity: 821
Merit: 503
Yea all mine are usb eruptors, that might be the cause.. just guessing at this point, went back to 3.1.4 for now. everything seems to be back to 100% Smiley
legendary
Activity: 922
Merit: 1003
I've been running 3.2.0 (32-bit)  now for 40 hours on 3 separate PCs (all Win7). None has yet crashed, and all are hashing at full speed (according to both BFGMiner and my pool). All BFL SC Singles.
full member
Activity: 126
Merit: 100
i had crash too after like 3hours

dmesg says

stratum0[10991]: segfault at d59321dc ip 08065935 sp b5932190 error 7 in bfgminer[8048000+5a000]

running on debian 7 terminal hp t5710 1.2Ghz 512MB ram

im running two instances one with blades with diferent -u -p and one with usb erupters
that one with blades still working fine with noproblem
only bfgminer with usb erupters crashed
legendary
Activity: 2576
Merit: 1186
Anyone care to provide me with a debug log (or backtrace) of these crashes? It's been rock solid for me :/
donator
Activity: 674
Merit: 523
Not sure if it something i have done (no swap file ) or new version of BFG miner but i have had over 5 crashes since upgrading to 3.2.0. Before i upgraded 3.1.4 ran stable no crashes for 6 days straight. Now all my miners lights come up and when i remote to computer the dos box is closed.. nothing.

Anyone else have problems with 3.2.0?


I have the same problem. v3.2.0. crashes several times a day. v3.1.4. did crash occasionally in a period of 2-3 days.
hero member
Activity: 821
Merit: 503
Not sure if it something i have done (no swap file ) or new version of BFG miner but i have had over 5 crashes since upgrading to 3.2.0. Before i upgraded 3.1.4 ran stable no crashes for 6 days straight. Now all my miners lights come up and when i remote to computer the dos box is closed.. nothing.

Anyone else have problems with 3.2.0?
legendary
Activity: 2576
Merit: 1186
I`ve been using BFG for a while and love it, and just found out about the request diff function so I thought I`d enter it into my bat file.

Thing is, BFG doesn`t seem to recognise this and carries on as before?
If it didn't recognise it, it'd give you an error and exit.

But it's inevitably just a request. The pool can choose to ignore it or honour it.

Can you even have 3 as a difficulty?  I thought it was 1,2,4,8,16....
It's possible, sure. It doesn't even need the be a whole number.
Powers of two are just easier to deal with. Smiley
legendary
Activity: 2702
Merit: 1468
The 'benefit' of load balancing is less short term variance; you are spreading work across a much larger hashrate base. I put 'benefit' in quotes because not everyone will agree that less variance is a 'benefit'.

I see. I guess it makes sense.  If all pools behaved/paid the same way it would be like hashing with one large pool (btcguild gigavps+emc+bitminter+eligius).
hero member
Activity: 518
Merit: 500
So as HellDiverUK suggested I changed it to 4 difficulty on my code line, however BFG still only lets me up to diff 2.

hmm
hero member
Activity: 518
Merit: 500
Can you even have 3 as a difficulty?  I thought it was 1,2,4,8,16....

Well that might be why it won`t accept it!!!!

I`ll give it a go.

D`OH!
legendary
Activity: 2702
Merit: 1468
Only in Failover mode.

Is there any other mode?  Just kidding...

Do people still use load balancing mode?  When?  Unreliable pools/connections?
I never understood the benefit of running in load balancing mode.

If you are on non-PPS payout, what is the benefit of load balancing if you are connected to reliable/fast pools.
I fail to see any.
hero member
Activity: 1246
Merit: 501
Can you even have 3 as a difficulty?  I thought it was 1,2,4,8,16....
hero member
Activity: 518
Merit: 500
Hi peeps,

I`ve been using BFG for a while and love it, and just found out about the request diff function so I thought I`d enter it into my bat file.

Thing is, BFG doesn`t seem to recognise this and carries on as before?

My code atm is:

bfgminer -o https://us2.eclipsemc.com:3333 -u me -p 123  -G -S all --icarus-options 115200:1:1 --icarus-timing 3.0=100 --request-diff 3

Does that look ok to you or have I missed out something?


Thanks Smiley
legendary
Activity: 2702
Merit: 1468
Is there a way to get the current share difficulty from the API?  Would be useful for some monitoring tools.
The "pools" method has this info per-pool.
I guess someone should add a way to determine which pool(s) are actively in use?

Cool.

"Last Share Difficulty" would give me that info, right?

To find out which pool is connected, I'd have to walk the list from priority 0-N and check which one is alive.
The one with the lowest priority and alive status is the one that is being connected to?

full member
Activity: 235
Merit: 100
Just wanted to say the upgrade is great Luke, my HW% is now floating around .50-.70% now. It was around ~1% before.

Sent you a Bitcent donation as Thanks Grin
full member
Activity: 158
Merit: 100
NEW VERSION 3.2.0, AUGUST 30 2013

This release is the first of a new stable-focused 3.2.x branch. Many new improvements have been added, plus a merge from cgminer 3.4.0. BFGMiner 3.1.x is now discontinued, but bugfixes have been backported to 3.0.7 and 2.10.13.
...

Does not compile Sad

My system: x86/Ubuntu/Linaro
./configure: all disabled except bitforce and ztex.

I'm using the source from the tgz in the first post.

First error:
Code:
  CC       bfgminer-httpsrv.o
In file included from httpsrv.c:16:0:
/usr/include/microhttpd.h:893:55: error: unknown type name ‘va_list’
make[2]: *** [bfgminer-httpsrv.o] Error 1

An #include is missing. Fixing this, I get the next error:
Code:
  CC       bfgminer-driver-getwork.o
driver-getwork.c: In function ‘getwork_gen_error’:
driver-getwork.c:109:9: warning: implicit declaration of function ‘MHD_create_response_from_buffer’ [-Wimplicit-function-declaration]
driver-getwork.c:109:85: error: ‘MHD_RESPMEM_MUST_FREE’ undeclared (first use in this function)
driver-getwork.c:109:85: note: each undeclared identifier is reported only once for each function it appears in
driver-getwork.c: In function ‘handle_getwork’:
driver-getwork.c:169:2: warning: implicit declaration of function ‘MHD_basic_auth_get_username_password’ [-Wimplicit-function-declaration]
driver-getwork.c:169:7: warning: assignment makes pointer from integer without a cast [enabled by default]
driver-getwork.c:173:3: warning: implicit declaration of function ‘MHD_queue_basic_auth_fail_response’ [-Wimplicit-function-declaration]
driver-getwork.c:252:58: error: ‘MHD_RESPMEM_MUST_FREE’ undeclared (first use in this function)
make[2]: *** [bfgminer-driver-getwork.o] Error 1
Looks like a very old (pre-2011) libmicrohttpd.
Can you confirm the version?
Code:
grep Version $(pkg-config --variable=pcfiledir libmicrohttpd)/libmicrohttpd.pc


It's Version: 0.4.6

So you are right, it's a very old version, but you get it with apt-get. Tomorrow I will try the latest one.
legendary
Activity: 922
Merit: 1003
Do people still use load balancing mode?  When?  Unreliable pools/connections?
I never understood the benefit of running in load balancing mode.
If you are on non-PPS payout, what is the benefit of load balancing if you are connected to reliable/fast pools.
I fail to see any.
The 'benefit' of load balancing is less short term variance; you are spreading work across a much larger hashrate base.

If I spread my hashrate among 3 pools each with 30Thps, that would be the equivalent of mining at a single 90Thps pool ... which provides 1/3 the variance of pointing all my hashrate at a single 30Thps pool. Same expected payout in either case, just less variance when load-balancing.

I put 'benefit' in quotes because not everyone will agree that less variance is a 'benefit'. Most would; otherwise they'd be solo mining.
legendary
Activity: 2576
Merit: 1186
NEW VERSION 3.2.0, AUGUST 30 2013

This release is the first of a new stable-focused 3.2.x branch. Many new improvements have been added, plus a merge from cgminer 3.4.0. BFGMiner 3.1.x is now discontinued, but bugfixes have been backported to 3.0.7 and 2.10.13.
...

Does not compile Sad

My system: x86/Ubuntu/Linaro
./configure: all disabled except bitforce and ztex.

I'm using the source from the tgz in the first post.

First error:
Code:
  CC       bfgminer-httpsrv.o
In file included from httpsrv.c:16:0:
/usr/include/microhttpd.h:893:55: error: unknown type name ‘va_list’
make[2]: *** [bfgminer-httpsrv.o] Error 1

An #include is missing. Fixing this, I get the next error:
Code:
  CC       bfgminer-driver-getwork.o
driver-getwork.c: In function ‘getwork_gen_error’:
driver-getwork.c:109:9: warning: implicit declaration of function ‘MHD_create_response_from_buffer’ [-Wimplicit-function-declaration]
driver-getwork.c:109:85: error: ‘MHD_RESPMEM_MUST_FREE’ undeclared (first use in this function)
driver-getwork.c:109:85: note: each undeclared identifier is reported only once for each function it appears in
driver-getwork.c: In function ‘handle_getwork’:
driver-getwork.c:169:2: warning: implicit declaration of function ‘MHD_basic_auth_get_username_password’ [-Wimplicit-function-declaration]
driver-getwork.c:169:7: warning: assignment makes pointer from integer without a cast [enabled by default]
driver-getwork.c:173:3: warning: implicit declaration of function ‘MHD_queue_basic_auth_fail_response’ [-Wimplicit-function-declaration]
driver-getwork.c:252:58: error: ‘MHD_RESPMEM_MUST_FREE’ undeclared (first use in this function)
make[2]: *** [bfgminer-driver-getwork.o] Error 1
Looks like a very old (pre-2011) libmicrohttpd.
Can you confirm the version?
Code:
grep Version $(pkg-config --variable=pcfiledir libmicrohttpd)/libmicrohttpd.pc

Code:
--without-libmicrohttpd
helps, but I want the builtin getwork server Tongue
I believe the oldest supported version is 0.9.5, released January 2011.

BTW: Do you have read my last error post: https://bitcointalksearch.org/topic/m.3017263 ?
This should be fixed.

Is there a way to get the current share difficulty from the API?  Would be useful for some monitoring tools.
The "pools" method has this info per-pool.
I guess someone should add a way to determine which pool(s) are actively in use?

Cool.

"Last Share Difficulty" would give me that info, right?
Sortof. It won't work until a share is found at the difficulty.
Also, keep in mind that it's possible for devices to be hashing different difficulty works, around changes.

To find out which pool is connected, I'd have to walk the list from priority 0-N and check which one is alive.
The one with the lowest priority and alive status is the one that is being connected to?
Only in Failover mode.
Jump to: