Author

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

hero member
Activity: 518
Merit: 500
I just had a power cut, and when i reset everything bfg now says that -s erupter:all is not a number.  This has been working for a month no issues up until just now.  Any ideas?

make sure it is a capital S :      -S erupter:all

Yeah, I think that might have been it. shutdown bfg and restarted my pc and all ok, but like I said, I hadnt changed the bat file at all, it just suddenly stopped working!

All ok now though.  Thanks
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
I just had a power cut, and when i reset everything bfg now says that -s erupter:all is not a number.  This has been working for a month no issues up until just now.  Any ideas?

make sure it is a capital S :      -S erupter:all
hero member
Activity: 518
Merit: 500
I just had a power cut, and when i reset everything bfg now says that -s erupter:all is not a number.  This has been working for a month no issues up until just now.  Any ideas?
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
how to get bfgminer to work on v2 blades?

compile it with the network server, set the ports with --http-port.

set the blades server ip to bfgminer ip and each blade must have a unique username and password; doesnt matter what it is.

compile?  im a windows 7 user


32 or 64bit?
member
Activity: 69
Merit: 10
Can I use the same notation as cgminer for specifying USB devices?

cgminer -usb 1:4
  refers to bus=1, dev=4

bfgminer -S 1:4

Are these two equivalent?
member
Activity: 69
Merit: 10
Can I use the BFGMiner specific configuration options:
   --disable-avalon        Compile support for Avalon (default enabled)
   --enable-cpumining      Build with cpu mining support(default disabled)
   --disable-opencl        Build without support for OpenCL (default enabled)
   --disable-adl           Build without ADL monitoring (default enabled)
   --disable-bitfury       Compile support for Bitfury (default enabled)
with pacman?

Or does pacman use the CFLAGS="--disable-avalon --disable-opencl --disable-bitfury --disable-littlefury --disable-bitforce --disable-modminer --disable-x6500 --disable-ztex" variable?
member
Activity: 69
Merit: 10
Meaning pacman -S bfgminer?
I tried and got errors saying couldn't be found on mirrors.

Correction:
Since I reran:
pacman -Syy ## package sync
pacman -Syu ## system update

I ran:
pacman -S bfgminer

It worked!!!
Thanks Luke!!!
legendary
Activity: 2576
Merit: 1186
Why aren't you using Arch's packages? O.o
member
Activity: 69
Merit: 10
-------------------------------------------------------------------------
error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
-------------------------------------------------------------------------
I'm trying to install/setup bfgminer-3.3.0.
OS: ArchLinuxArm on PogoPlug E02

# Get bfgminer-3.3.0
wget http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.3.0/bfgminer-3.3.0.tbz2
tar -xvf bfgminer-3.3.0.tar.bz2

# Get Dependencies uthash-dev 1.9.2+
git clone https://github.com/troydhanson/uthash
cd bfgminer-3.3.0
cp -s -v ../uthash/src/u*.h

# Get Dependencies libjansson-dev 2.0+
wget http://www.digip.org/jansson/releases/jansson-2.5.tar.bz2
tar -xvf jansson-2.5.tar.bz2
cd jansson-2.5
./configure
make
make install

cd ../bfgminer-3.3.0
CFLAGS="--disable-avalon --disable-opencl --disable-bitfury --disable-littlefury --disable-bitforce --disable-modminer --disable-x6500 --disable-ztex"

#./configure --host=mips-openwrt-linux

Note: I removed most of the messages resulting in 'yes'
Code:
[root@pogoplug01 bfgminer-3.3.0]# ./configure --host=mips-openwrt-linux
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... mips-openwrt-linux-gnu
checking target system type... mips-openwrt-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
...
checking for style of include used by make... GNU
checking for mips-openwrt-linux-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
...
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
...
checking for mips-openwrt-linux-ranlib... no
checking for ranlib... ranlib
checking whether gcc -std=gnu99 needs -traditional... no
...
checking whether system header files limit the line length... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
...
checking whether wchar_t is signed... no
checking whether wint_t is signed... no
...
checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
[root@pogoplug01 bfgminer-3.3.0]#
It looks like I don't have uthash-dev 1.9.2+ installed correctly.
According to the docs it's just four header files. So I just symlinked them to the bfgminer-3.3.0 dir.
Don't know what else I need to do.
legendary
Activity: 2576
Merit: 1186
And that gets them all but I was wondering if there is a simpler way?
Unfortunately not. A bigpic probe will mess up Icarus, and an Icarus probe will mess up bigpic.
legendary
Activity: 896
Merit: 1000
Hi All/Luke,

I am working on getting the parameters correct for bfgminer and bigpic miners and I am having a few problems getting them going with other mining devices.

-S bigpic:/dev/ttyACM0
or
-S bigpic:all

will detect and run the device (I only have one for testing).  When I plugged in a few ICA devices (34) and I thought;-

-S bigpic:/dev/ttyACM0  -S ICA:all

or

-S bigpic:all -S ICA:all

It would pick up the BPM device and then the ICA ones.  That does not seem to work (it also freezes the BMP device needing a reset button poke).

I can of course do;-

Code:
/opt/minepeon/bin/bfgminer -S bigpic:all -S ICA:/dev/ttyUSB0 -S ICA:/dev/ttyUSB1 -S ICA:/dev/ttyUSB2 -S ICA:/dev/ttyUSB3 -S ICA:/dev/ttyUSB4 -S ICA:/dev/ttyUSB5 -S ICA:/dev/ttyUSB6 -S ICA:/dev/ttyUSB7 -S ICA:/dev/ttyUSB8 -S ICA:/dev/ttyUSB9 -S ICA:/dev/ttyUSB10 -S ICA:/dev/ttyUSB11 -S ICA:/dev/ttyUSB12 -S ICA:/dev/ttyUSB13 -S ICA:/dev/ttyUSB14 -S ICA:/dev/ttyUSB15 -S ICA:/dev/ttyUSB16 -S ICA:/dev/ttyUSB17 -S ICA:/dev/ttyUSB18 -S ICA:/dev/ttyUSB19 -S ICA:/dev/ttyUSB20 -S ICA:/dev/ttyUSB21 -S ICA:/dev/ttyUSB22 -S ICA:/dev/ttyUSB23 -S ICA:/dev/ttyUSB24 -S ICA:/dev/ttyUSB25 -S ICA:/dev/ttyUSB26 -S ICA:/dev/ttyUSB27 -S ICA:/dev/ttyUSB28 -S ICA:/dev/ttyUSB29 -S ICA:/dev/ttyUSB30 -S ICA:/dev/ttyUSB31 -S ICA:/dev/ttyUSB32 -S ICA:/dev/ttyUSB33 -S ICA:/dev/ttyUSB34 -c /opt/minepeon/etc/miner.conf

And that gets them all but I was wondering if there is a simpler way?

Neil
member
Activity: 101
Merit: 10
Is there an easy way to increase the number of lines for the messages at the bottom of bfgminer? It's not enough lines to see the menu's.  If not, could someone point me to the right location in the code and I'll just recompile it.

Right click in the process window and you are in the settings, click on properties
Thanks for the reply, but maybe I should have stated that I have too many block erupters so it fills the status window to maximum height. I can still scroll up and down with the arrow keys to see all the erupters, but it only leaves like 2 lines for bottom text witch is not enough to see the menus to select pools and stuff.  

Use the --compact setting.
Thanks, I think that will do the trick for me.
hero member
Activity: 1246
Merit: 501
How can I set up some sort of web page that'll allow me to access BFGMiner on OpenWRT?  I assume there's some way using miner.php, but I haven't got a notion how to even start?

Something like what juhakall has in their post above is the kind of thing I'm looking for - just a way of keeping tabs on the miner from the web.

Can anyone point me in the right direction?  Embarrassed
legendary
Activity: 1338
Merit: 1000
thank your for the new build testing it as we speak it has been running 8 hours now seems fine
hero member
Activity: 1246
Merit: 501
Just want to report that everything is working well on OpenWRT - stratum and getwork proxies, USB Erupters, the lot.  Running off a TPLink WDR3600.  Got 11 Erupters, 2 Blades running through it at the moment, a few GPUs (for testing stratum proxy).  BlueFury sticks arriving soon, and Jalapeno arrive sometime in 2014 (Two Weeks tm).
sr. member
Activity: 658
Merit: 250
Is there an easy way to increase the number of lines for the messages at the bottom of bfgminer? It's not enough lines to see the menu's.  If not, could someone point me to the right location in the code and I'll just recompile it.

Right click in the process window and you are in the settings, click on properties
Thanks for the reply, but maybe I should have stated that I have too many block erupters so it fills the status window to maximum height. I can still scroll up and down with the arrow keys to see all the erupters, but it only leaves like 2 lines for bottom text witch is not enough to see the menus to select pools and stuff.  

Use the --compact setting.
hero member
Activity: 868
Merit: 1000
Is there an easy way to increase the number of lines for the messages at the bottom of bfgminer? It's not enough lines to see the menu's.  If not, could someone point me to the right location in the code and I'll just recompile it.

Right click in the process window and you are in the settings, click on properties
Thanks for the reply, but maybe I should have stated that I have too many block erupters so it fills the status window to maximum height. I can still scroll up and down with the arrow keys to see all the erupters, but it only leaves like 2 lines for bottom text witch is not enough to see the menus to select pools and stuff. 

Change text height in the font setting from (8*12 default) to 6*8

Then increase the height till you find a size that fills your screen(try120)
member
Activity: 101
Merit: 10
Is there an easy way to increase the number of lines for the messages at the bottom of bfgminer? It's not enough lines to see the menu's.  If not, could someone point me to the right location in the code and I'll just recompile it.

Right click in the process window and you are in the settings, click on properties
Thanks for the reply, but maybe I should have stated that I have too many block erupters so it fills the status window to maximum height. I can still scroll up and down with the arrow keys to see all the erupters, but it only leaves like 2 lines for bottom text witch is not enough to see the menus to select pools and stuff. 
hero member
Activity: 868
Merit: 1000
Is there an easy way to increase the number of lines for the messages at the bottom of bfgminer? It's not enough lines to see the menu's.  If not, could someone point me to the right location in the code and I'll just recompile it.

Right click in the process window and you are in the settings, click on properties
hero member
Activity: 504
Merit: 500
how to get bfgminer to work on v2 blades?

compile it with the network server, set the ports with --http-port.

set the blades server ip to bfgminer ip and each blade must have a unique username and password; doesnt matter what it is.

compile?  im a windows 7 user
Jump to: