Author

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

sr. member
Activity: 350
Merit: 250
Cacti, yes you can
You can use rrd if you open the --api-allow --api-listen etc
You need to craft a cron script to query status and feed the relevant data to rrdtool

see :-
https://bitcointalksearch.org/topic/cacti-template-for-cgminer-monitoring-76502

its basically the same
newbie
Activity: 57
Merit: 0
no cacti or similar usage?  Undecided
legendary
Activity: 2576
Merit: 1186
Are there any instructions available on how to cross compile bfgminer?
Just configure with the --host=triplet of your choice and make Smiley

Eg:
Code:
./configure --host=x86_64-w64-mingw32
./configure --host=mips-openwrt-linux
./configure --host=i686-pc-mingw32
Is there a location where it will look for cross compiled versions of its libraries? I have this on by build host:
Try
Code:
arm-linux-gnueabihf-emerge uthash
...assuming you're using crossdev.
sr. member
Activity: 262
Merit: 250
Are there any instructions available on how to cross compile bfgminer?
Just configure with the --host=triplet of your choice and make Smiley

Eg:
Code:
./configure --host=x86_64-w64-mingw32
./configure --host=mips-openwrt-linux
./configure --host=i686-pc-mingw32

Thank you.

Is there a location where it will look for cross compiled versions of its libraries? I have this on by build host:

Quote
emerge -pv uthash
...
[ebuild   R    ] dev-libs/uthash-1.9.7  USE="{-test}" 0 kB

But I get:

Code:
./configure --host=arm-linux-gnueabihf --prefix=/tmp/arm-root
...
checking for working alloca.h... yes
checking for alloca... yes
checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+

Do I have to build all the required in a pre-defined location prior to running configure?


legendary
Activity: 2576
Merit: 1186
Are there any instructions available on how to cross compile bfgminer?
Just configure with the --host=triplet of your choice and make Smiley

Eg:
Code:
./configure --host=x86_64-w64-mingw32
./configure --host=mips-openwrt-linux
./configure --host=i686-pc-mingw32
sr. member
Activity: 262
Merit: 250
Are there any instructions available on how to cross compile bfgminer?
newbie
Activity: 57
Merit: 0
is there some kind of web app to monitor bfgminer? something that draws some kind of chart or something? something like cgwatcher but web... like with cacti?  Huh Grin Roll Eyes


by the way, screen did it for me! Cheesy
hero member
Activity: 767
Merit: 500
As always, BFGMiner does not support mining multiple blockchains at the same time.
That is unlikely to change unless someone submits a pull request dealing with it in a sane manner.

I'm not mining on them at the same time, I'm totally switching pools to a new blockchain - I think the only thing that's lacking is to revalidate the network difficulty every time the pool changes - if you could give me a pointer to the code that handles this, I can have a go adding this code.

Cheers

Will
legendary
Activity: 2576
Merit: 1186
I'm having an issue when trying to switch pools via the RPC interface between different block chains.  When I switch from bitcoin to terracoin, sometimes BFCminer doesn't realise that the network difficulty has changed - it seems that this is only calculated upon a new block, and not when the priority of the pool causes a change of difficulty.  The way I am switching pools programatically is using the addpool RPC then switchpool to the new pool, then removepool on the old pool.

I'll try and trace it through the code but wondered if you think this sounds legit..?
As always, BFGMiner does not support mining multiple blockchains at the same time.
That is unlikely to change unless someone submits a pull request dealing with it in a sane manner.
hero member
Activity: 767
Merit: 500
Hi,

I'm having an issue when trying to switch pools via the RPC interface between different block chains.  When I switch from bitcoin to terracoin, sometimes BFCminer doesn't realise that the network difficulty has changed - it seems that this is only calculated upon a new block, and not when the priority of the pool causes a change of difficulty.  The way I am switching pools programatically is using the addpool RPC then switchpool to the new pool, then removepool on the old pool.

I'll try and trace it through the code but wondered if you think this sounds legit..?

Will
legendary
Activity: 2576
Merit: 1186
If you have multiple asics.  Is there a way through bfgminer to physically identify, which unit is which
Depends on the ASIC device. BitForce devices have a LED you can flash via RPC.
They are jalapeños. Is there a process you can point me to or FAQ on hiw to use RPC to blink the led's
Something like this:
Code:
bfgminer-rpc "pgaidentify|0"

See README.RPC for more details, including turning on RPC in the first place.
hero member
Activity: 630
Merit: 500
If you have multiple asics.  Is there a way through bfgminer to physically identify, which unit is which
Depends on the ASIC device. BitForce devices have a LED you can flash via RPC.

They are jalapeños. Is there a process you can point me to or FAQ on hiw to use RPC to blink the led's

Thanks
legendary
Activity: 2576
Merit: 1186
If you have multiple asics.  Is there a way through bfgminer to physically identify, which unit is which
Depends on the ASIC device. BitForce devices have a LED you can flash via RPC.
hero member
Activity: 630
Merit: 500
If you have multiple asics.  Is there a way through bfgminer to physically identify, which unit is which
hero member
Activity: 630
Merit: 500
I had 14 devices attached, which all display - I attached a few more fpgas and the seem to all be hashing but i only see the first 14 devices - is there someway to force display in the dos window of all devices and their hashing info
Make it bigger. Or scroll the list with the up/down arrow keys.

hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?
If you really want to do this (I also recommend screen), you probably need to use --text-only and --real-quiet.

in windows 7 the cmd window is locked when started from the exe - is there conf command to set the window size

ahh i figured it out - had to make the windows default dos window bigger and im golden - once running you cannot adjust it
hero member
Activity: 630
Merit: 500
I had 14 devices attached, which all display - I attached a few more fpgas and the seem to all be hashing but i only see the first 14 devices - is there someway to force display in the dos window of all devices and their hashing info
Make it bigger. Or scroll the list with the up/down arrow keys.

hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?
If you really want to do this (I also recommend screen), you probably need to use --text-only and --real-quiet.

in windows 7 the cmd window is locked when started from the exe - is there conf command to set the window size
member
Activity: 84
Merit: 10
hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?

I recommend 'screen', and skip the '&'.

The ampersand just means run it in the background; once you close the terminal, there is no background Wink The old way was to "nohup" the process. But that was before the days of screen.....
legendary
Activity: 2576
Merit: 1186
I had 14 devices attached, which all display - I attached a few more fpgas and the seem to all be hashing but i only see the first 14 devices - is there someway to force display in the dos window of all devices and their hashing info
Make it bigger. Or scroll the list with the up/down arrow keys.

hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?
If you really want to do this (I also recommend screen), you probably need to use --text-only and --real-quiet.
sr. member
Activity: 386
Merit: 334
-"When the going gets weird, the weird turn pro."
hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?

I recommend 'screen', and skip the '&'.
newbie
Activity: 57
Merit: 0
hi!
question for linux savy. why is it that everytime i run "bfgminer &" and close the terminal it shuts down bfgminer? is there some way to keep it running?
is there some kind of remote gui to manage it when in & mode?
Jump to: