Pages:
Author

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

full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
bfgminer -o stratum.bitcoin.cz:3333 -x http://proxy.com:8080 -u xxx -p 111
Maybe you should try to connect to stratum+tcp://stratum.btcguild.com:3333 instead of bitcoin.cz.........
Code:
bfgminer -o stratum+tcp://stratum.btcguild.com:3333 -x http://proxy.com:8080 -u xxx -p 111
newbie
Activity: 19
Merit: 0
Hello guys!!

I seem to be having problems connecting to a stratum server via a proxy server.

I'm mining behind a firewall and all my internet connections have to go through a proxy. I can use cgminer and stratum.btcguild.com:3333 via proxy without any problem. However I would like to use bfgminer instead as I have been hearing many good things about it.

I have tried all sorts of commands, however none of them seem to connect

bfgminer -o stratum.bitcoin.cz:3333 -x http://proxy.com:8080 -u xxx -p 111

bfgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -x http://proxy.com:8080 -u xxx -p 111

bfgminer -o http://stratum.bitcoin.cz:3333 -x http://proxy.com:8080 -u xxx -p 111

This however would get me connected.

bfgminer -o http://api.bitcoin.cz:8332 -x http://proxy.com:8080 -u xxx -p 111

I'm mining at BTCguild, and you can only connect to them via stratum??

Any help will be greatly appreciated!! Thanks a lot!!  Smiley
sr. member
Activity: 447
Merit: 250
Edit: 3.5.2 is showing as the latest on OpenWRT...
I forgot to update the OpenWrt README... For 3.6, you'll need to change "testing" to "latest"

We now have 3 stages: stable, testing, and latest.

Stable (currently 3.0.x) is "no outstanding regressions from previous release, and probably any bugs found will also affect previous versions too".
Testing (currently 3.5.x) is "only applying bugfixes to make this the next stable"
Latest (currently 3.6.x) is "new code in the works; lolmaybeithascrashing"

That said, 3.5.2 should have had the bigpic fixes too... :/

Set source manually to src/gz bfgminer http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.6.0/openwrt/12.09/ar71xx - it's still showing 3.5.2 as latest...
Did you opkg update?

Here is the post about the release versions.  
legendary
Activity: 1778
Merit: 1008
oh, right. it's just bfgminer.exe -G -S all

Hmmm.  On win7x64 with intel chipset (laptop) and a workstation with AMD GPU's, that worked fine, well, I had to put a server/username/passwd also.  I dont have a machine with nvidia gpu to test on.

Are you using the 64bit or 32bit bfgminer.  Neither of my machines will work with the 64bit, but the 32bit starts up fine.  

I like the 3.5.2 version best.

I went back to 3.5.2 as somewhere in these posts, wizkid Luke jr mentioned that the 3.5.2 was the stable and 3.6.0 was the latest testing, or something to that effect.

EDIT NOTE: mixed up reference to user

might be 64 bit... i'll try dropping back to suggested version.
sr. member
Activity: 447
Merit: 250
oh, right. it's just bfgminer.exe -G -S all

Hmmm.  On win7x64 with intel chipset (laptop) and a workstation with AMD GPU's, that worked fine, well, I had to put a server/username/passwd also.  I dont have a machine with nvidia gpu to test on.

Are you using the 64bit or 32bit bfgminer.  Neither of my machines will work with the 64bit, but the 32bit starts up fine.  

I like the 3.5.2 version best.

I went back to 3.5.2 as somewhere in these posts, wizkid Luke jr mentioned that the 3.5.2 was the stable and 3.6.0 was the latest testing, or something to that effect.

EDIT NOTE: mixed up reference to user
legendary
Activity: 1778
Merit: 1008
having some problems with bfgminer 3.6.0, windows 7 x64.

after a fresh windows install it was fine, but after i installed my nvidia video driver and rebooted, bfgminer no longer launches, either outright freezing (and not allowing the window to be closed, even with ctrl alt del) or throwing the following error:

Failed to connect in util.c notifier_init():2686: The operation completed successfully.

after which it exits.

thoughts?
Its hard to tell without knowing what your startup command looks like. Can you list it for us to see?

Is it trying to start GPU mining?  Add the "-G" to stop it.

oh, right. it's just bfgminer.exe -G -S all
sr. member
Activity: 447
Merit: 250
having some problems with bfgminer 3.6.0, windows 7 x64.

after a fresh windows install it was fine, but after i installed my nvidia video driver and rebooted, bfgminer no longer launches, either outright freezing (and not allowing the window to be closed, even with ctrl alt del) or throwing the following error:

Failed to connect in util.c notifier_init():2686: The operation completed successfully.

after which it exits.

thoughts?
Its hard to tell without knowing what your startup command looks like. Can you list it for us to see?

Is it trying to start GPU mining?  Add the "-G" to stop it.
newbie
Activity: 18
Merit: 0
 Hello!
 I can't compile bfgminer 3.6.0 on Raspbian linux. Version 3.4.0 compiled successful.
The error is:
Code:
  CC     bfgminer-miner.o
miner.c: In function '_probe_device_match':
miner.c:10358:11: error: dereferencing pointer to incomplete type
miner.c:10358:44: error: dereferencing pointer to incomplete type
miner.c:10359:11: error: dereferencing pointer to incomplete type
miner.c:10359:44: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c:10365:26: error: dereferencing pointer to incomplete type
miner.c: In function 'probe_device_thread':
miner.c:10405:34: error: dereferencing pointer to incomplete type
miner.c:10406:39: error: dereferencing pointer to incomplete type
miner.c:10411:36: error: dereferencing pointer to incomplete type
miner.c:10412:3: error: dereferencing pointer to incomplete type
miner.c:10425:3: error: dereferencing pointer to incomplete type
miner.c:10461:4: error: dereferencing pointer to incomplete type
miner.c:10478:4: error: dereferencing pointer to incomplete type
miner.c:10480:14: error: dereferencing pointer to incomplete type
miner.c:10480:25: error: 'lowl_vcom' undeclared (first use in this function)
miner.c:10480:25: note: each undeclared identifier is reported only once for each function it appears in
miner.c:10498:3: error: dereferencing pointer to incomplete type
miner.c: In function 'probe_device':
miner.c:10510:22: error: dereferencing pointer to incomplete type
make[2]: *** [bfgminer-miner.o] Error 1
make[2]: Leaving directory `/home/pi/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pi/bfgminer'
make: *** [all] Error 2
I just make this step:
1. git clone https://github.com/luke-jr/bfgminer bfgminer
2. ./autogen.sh
3. ./configure --disable-opencl --disable-adl --disable-bigpic --disable-bitforce --disable-icarus --disable-avalon --disable-modminer --disable-x6500 --disable-ztex --disable-bfsb --disable-littlefury --enable-bitfury --enable-metabank
4. make

What wrong? How can i resolve problem?
Thanks.
legendary
Activity: 1778
Merit: 1008
having some problems with bfgminer 3.6.0, windows 7 x64.

after a fresh windows install it was fine, but after i installed my nvidia video driver and rebooted, bfgminer no longer launches, either outright freezing (and not allowing the window to be closed, even with ctrl alt del) or throwing the following error:

Failed to connect in util.c notifier_init():2686: The operation completed successfully.

after which it exits.

thoughts?
full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
I got my 1st ASIC, an USB Block Erupter.

At first time I did set it up on Windows w/ latest (3.6.0) BFG, works fine.

At second time I gave a try to my Ubuntu 12.04 LTS Precise Pangolin x64 (BFG from PPA).
I start BFG, and.... WTF?!? Something wrong!
Check, check, check.... BFG version, and see: 3.2.1-0precise1??
Checking updates: no update.
Checking PPA settings: correct.
Checking PPA content: OMFGWTF88MPH?Huh? Latest build for any Ubuntu: 3.3.0...  Still 3.2.1 < 3.3.0, so what? WHAT?  Failed to build. Are unit3 still alive??

I was able to set it up on 3.2.1, but commands do differ from 3.6.0, it wasn't at that easy at 1st try like on windows.... And the hasrate are miserable...  Shocked

PS: Sorry for my English!  Grin
legendary
Activity: 2576
Merit: 1186
Mr Wangchun have add with success the "momentum" protocol (ProtoShares) to the Minerd (cpu mining) software.

https://github.com/wangchun/cpuminer

Can is possibile to add it to BFGMiner ? Maybe with the GPU support too ?  Roll Eyes
I don't have time for this at the moment.
Maybe if someone submits a pull request with code...
hero member
Activity: 658
Merit: 502
Hi,
Mr Wangchun have add with success the "momentum" protocol (ProtoShares) to the Minerd (cpu mining) software.


https://github.com/wangchun/cpuminer


Can is possibile to add it to BFGMiner ? Maybe with the GPU support too ?  Roll Eyes


Best Regards
legendary
Activity: 1596
Merit: 1011
Hello, what is actual queue for Little Single (30Gh\s) in solo? I'm tired of fighting with "Automatic queue" in 3.5.0 and 3.6.0 has the same problem. Now i set manually queue=60 and it still says that staged work underrun...





Do you have coinbase-addr and coinbase-sig set, as in the SOLO MINING section of the README?  If not, I imagine you are connecting to bitcoin-qt/bitcoind with getwork which is just not fast enough for ASIC mining hardware.

If you set coinbase-addr and coinbase sig, BFGMiner will use GBT, which should solve your problem.


No, i'm not. i thought just adding http:// for ip or localhost allow use GBT. Ok i will try that way.

Seems to be solved, thanks.
legendary
Activity: 1066
Merit: 1098
Hello, what is actual queue for Little Single (30Gh\s) in solo? I'm tired of fighting with "Automatic queue" in 3.5.0 and 3.6.0 has the same problem. Now i set manually queue=60 and it still says that staged work underrun...





Do you have coinbase-addr and coinbase-sig set, as in the SOLO MINING section of the README?  If not, I imagine you are connecting to bitcoin-qt/bitcoind with getwork which is just not fast enough for ASIC mining hardware.

If you set coinbase-addr and coinbase sig, BFGMiner will use GBT, which should solve your problem.
legendary
Activity: 1596
Merit: 1011
Hello, what is actual queue for Little Single (30Gh\s) in solo? I'm tired of fighting with "Automatic queue" in 3.5.0 and 3.6.0 has the same problem. Now i set manually queue=60 and it still says that staged work underrun...



vs3
hero member
Activity: 622
Merit: 500
Dear all,

I'm trying to make an old, V1.0 board based on Intron's design which is very similar to BFSB's 450 GH/s miner. It has 16 Bitfury on a card and 16 card slots, the only difference is that instead of having an I2C selector for which card the SPI bus should talk to, it has a long chain of 16*16=256 Bitfury chips and it's attached to a RPI SPI port.

I modded the driver-bfsb.c file in order to scan only for one slot (the first and only, which is supposed to have 256 chips) but only 99 chips are detected! I tried to swap slots, use spare cards but nothing, the autodetection always stops at 99 chips. It is driving me crazy because there doesn't seem to be any "maximum chips" constant neither in the libbitfury.c nor in driver-bfsb.c, so I can't find where this limit comes from!

Can anybody help me or suggest me where to look at or had a similar problem?

Thanks in advance!

Giorgio - a few things from my recollection while reading the various forums - I think at some point Metabank and BFSB had issues with chains longer than 64 chips, which is why they ended up splitting them into smaller chains.

As for the limitation - I'm not sure which version and which branch are you using, but in the beginning Legkodymov (who did the first cgminer clone and most people have been starting from his version) had a limitation of 100 chips. Later that limitation became 200 chips. Look into miner.h:
Code:
struct cgpu_info {
int cgminer_id;
struct device_drv *drv;
...
#ifdef USE_BITFURY
int chip_n;
struct bitfury_device devices[200]; // TODO Move somewhere to appropriate place
#endif
...

Feel free to PM me if you have any questions as I don't want to pollute this thread with an unrelated discussion (we can continue in the one from bitfury - the FREE MONEY one and majority of the people who initially made their own boards still follow it and might be able to add more details).
erk
hero member
Activity: 826
Merit: 500
Looks like you built without nanofury support.
That's the default if you're missing the hidapi dependency... (README)
I compiled and installed the hidapi from https://github.com/signal11/hidapi and the bfgminer config.log says it can't find it. What's the trick?

There is no hidapi.pc there is a /usr/local/src/hidapi/pc/hidapi.pc.in


Quote
# grep hidapi config.log
configure:10620: checking for hidapi
configure:10627: $PKG_CONFIG --exists --print-errors "$_hidapi_lib"
Package hidapi was not found in the pkg-config search path.
Perhaps you should add the directory containing `hidapi.pc'
No package 'hidapi' found
configure:10644: $PKG_CONFIG --exists --print-errors "$_hidapi_lib"
Package hidapi was not found in the pkg-config search path.
Perhaps you should add the directory containing `hidapi.pc'
No package 'hidapi' found
No package 'hidapi' found
configure:10620: checking for hidapi
configure:10627: $PKG_CONFIG --exists --print-errors "$_hidapi_lib"
configure:10644: $PKG_CONFIG --exists --print-errors "$_hidapi_lib"
ac_cv_env_hidapi_CFLAGS_set=
ac_cv_env_hidapi_CFLAGS_value=
ac_cv_env_hidapi_LIBS_set=
ac_cv_env_hidapi_LIBS_value=
pkg_cv_hidapi_CFLAGS='-I/usr/local/include/hidapi  '
pkg_cv_hidapi_LIBS='-L/usr/local/lib -lhidapi-hidraw  '
hidapi_CFLAGS='-I/usr/local/include/hidapi  '
hidapi_LIBS='-L/usr/local/lib -lhidapi-hidraw  '
legendary
Activity: 2576
Merit: 1186
Trying to get a Nanofury NF1 mining on Debian.

Compiled 3.6.0

This is what I get:

Code:
#    ./bfgminer -S NFY:all -d? -D
 [2013-11-19 13:10:50] setrlimit: Soft fd limit not being changed from 1024 (FD_SETSIZE=1024; hard limit=4096)                   
 [2013-11-19 13:10:50] Started bfgminer 3.6.0                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:002:003 (path=(null), vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000073625)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:005:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.3)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:004:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.2)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:003:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.1)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:002:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.0)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:001:001 (path=(null), vid=1d6b, pid=0002, manuf=Linux 2.6.32-23-pve ehci_hcd, prod=EHCI Host Controller, serial=0000:00:1d.7)                   
 [2013-11-19 13:10:50] Devices detected:                   
 [2013-11-19 13:10:50] Timers: Using clock_gettime(CLOCK_MONOTONIC_RAW)                   
0 devices listed

So it can detect the NF1 but says it's disabled.

Any ideas?


Looks like you built without nanofury support.
That's the default if you're missing the hidapi dependency... (README)
erk
hero member
Activity: 826
Merit: 500
Trying to get a Nanofury NF1 mining on Debian.

Compiled 3.6.0

This is what I get:

Code:
#    ./bfgminer -S NFY:all -d? -D
 [2013-11-19 13:10:50] setrlimit: Soft fd limit not being changed from 1024 (FD_SETSIZE=1024; hard limit=4096)                   
 [2013-11-19 13:10:50] Started bfgminer 3.6.0                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:002:003 (path=(null), vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000073625)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:005:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.3)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:004:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.2)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:003:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.1)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:002:001 (path=(null), vid=1d6b, pid=0001, manuf=Linux 2.6.32-23-pve uhci_hcd, prod=UHCI Host Controller, serial=0000:00:1d.0)                   
 [2013-11-19 13:10:50] lowlevel_scan: Found usb device at usb:001:001 (path=(null), vid=1d6b, pid=0002, manuf=Linux 2.6.32-23-pve ehci_hcd, prod=EHCI Host Controller, serial=0000:00:1d.7)                   
 [2013-11-19 13:10:50] Devices detected:                   
 [2013-11-19 13:10:50] Timers: Using clock_gettime(CLOCK_MONOTONIC_RAW)                   
0 devices listed

So it can detect the NF1 but says it's disabled.

Any ideas?

hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
Hi so I just set up everything for my Red Fury miner. I'm also relatively new to mining. Is this what the console should display:

Code:
 Block: ...fb4b2303 #270348  Diff:609M ( 4.36Ph/s)  Started: [16:14:25]
 ST:2  F:0  NB:3  AS:0  BW:[ 66/ 48 B/s]  E:10.11  I:83.51uBTC/hr  BS:135
 1            |  2.42/ 2.35/ 2.35Gh/s | A:170 R:3+0(1.9%) HW:14/5.2%
--------------------------------------------------------------------------------
 BPM 0:       |  2.36/ 2.35/ 2.36Gh/s | A:173 R:3+0(1.9%) HW:14/5.1%
--------------------------------------------------------------------------------
 [2013-11-18 16:14:46] Accepted e47ea3cf BPM 0  Diff 1/1
 [2013-11-18 16:14:47] Accepted ae3e1465 BPM 0  Diff 1/1
 [2013-11-18 16:14:50] Accepted 8df8a87e BPM 0  Diff 1/1
 [2013-11-18 16:14:53] Accepted c9eb947b BPM 0  Diff 1/1
 [2013-11-18 16:14:53] Accepted aaca12e6 BPM 0  Diff 1/1
 [2013-11-18 16:14:54] Accepted 235c9ca5 BPM 0  Diff 7/1
 [2013-11-18 16:14:54] Accepted 9ed8f56b BPM 0  Diff 1/1
 [2013-11-18 16:14:56] Stratum from pool 0 requested work update
 [2013-11-18 16:14:57] Accepted 2e960e2e BPM 0  Diff 5/1
 [2013-11-18 16:14:57] Accepted c38dee30 BPM 0  Diff 1/1
 [2013-11-18 16:15:02] Accepted c5b1b3f1 BPM 0  Diff 1/1
 [2013-11-18 16:15:07] Accepted 75521ed8 BPM 0  Diff 2/1
 [2013-11-18 16:15:11] Accepted b3160454 BPM 0  Diff 1/1
 [2013-11-18 16:15:11] Accepted 01ed42d3 BPM 0  Diff 132/1
 [2013-11-18 16:15:13] Accepted 53b929e3 BPM 0  Diff 3/1

Is there anything incorrect or odd? Or did I finally (spent a week trying to set this up) do it right?

looks ok
Thanks!
Also the "BPM 0" stand for the Red Fury USB, correct? Just making sure that my gpu/cpu isn't involved Smiley

BPM is the red fury yes. i believe its for Big Picture Mining
Pages:
Jump to: