Pages:
Author

Topic: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64 - page 27. (Read 834576 times)

member
Activity: 110
Merit: 10
Ok, thought I would try asking one more time before giving up.

I am trying to run bfgminer 5.4.1 as a proxy so I can solo mine to my wallets with some antminer S3 units. I can easily get it to connect to my wallet and I can get the miner to connect to the proxy, but all I get are HW errors.

bfgminer.bat = bfgminer --http-port 8330 -o 127.0.0.1:coin_rpc_port -u my_rpc_username -p my_rpc_pw

miner setup = ip of computer:8330
                     coin addy
                    x

So can any one answer as to why this does not work?
member
Activity: 66
Merit: 10
On Ubuntu when i do "apt-get install bfgminer" the version of bfgminer that gets installed is 5.2.0

Is this correct for Ubuntu ?
full member
Activity: 140
Merit: 100
does this miner only support sha256 with fpga ? or does it support others too(x11,scrypt,keccak)
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
I'm curious is there comprehensive set of instructions for building BFGMiner with CPU support? I'm not concerned about profitability. Hypothetically I have a solar array, a lot of old computers, and lots of time on my hands.

Anyway so I started trying to build BFGMiner and I had some issues with the instructions.

If you have built BFGMiner on Windows I'd like to chat. I'm not sure which version of the programs and libraries I'm supposed to install. I got at far as moving msys.bat to the start menu. Doesn't work that way on Windows ten so I'm assuming the build instructions are for Windows 7. Which build exactly? Pretty much which version of Windows, which version of each software package?

I had some problems installing YASM because it wanted cygwin.dll. So Installed cygwin. I'm not sure if I'm going about this correctly.

Can I build the Windows binary on Linux machine. If so which Linux distribution and version? What versions of the dependencies?

If you have built this lately can you post your command line history. If I have that I can write a nice build script for it.

you don't need to build bfgminer on windows.

download the zip, extract it and run the exe.

make yourself a bat with the command line if you want:

bfgminer -o http://pool:port -u username -p password then your options...

to enable CPU mining on windows:
https://github.com/luke-jr/bfgminer/blob/bfgminer/windows-build.txt
newbie
Activity: 14
Merit: 0
I'm curious is there comprehensive set of instructions for building BFGMiner with CPU support? I'm not concerned about profitability. Hypothetically I have a solar array, a lot of old computers, and lots of time on my hands.

Anyway so I started trying to build BFGMiner and I had some issues with the instructions.

If you have built BFGMiner on Windows I'd like to chat. I'm not sure which version of the programs and libraries I'm supposed to install. I got at far as moving msys.bat to the start menu. Doesn't work that way on Windows ten so I'm assuming the build instructions are for Windows 7. Which build exactly? Pretty much which version of Windows, which version of each software package?

I had some problems installing YASM because it wanted cygwin.dll. So Installed cygwin. I'm not sure if I'm going about this correctly.

Can I build the Windows binary on Linux machine. If so which Linux distribution and version? What versions of the dependencies?

If you have built this lately can you post your command line history. If I have that I can write a nice build script for it.
full member
Activity: 142
Merit: 101
I've been trying to get the --stratum-port proxy option to work but not having any luck.

Looking to point some AntMiner S1s at a low diff coin to try some solo mining.

When i try to just start bfgminer --stratum-port , bfgminer gets nowhere.

When I try to do the whole bfgminer --stratum-port -o localhost: -u user -p password , it connects to the local wallet server, but my s1 shows dead pool and bfgminer says "SSM: No Usable 2d Work Upstream!"

legendary
Activity: 914
Merit: 1001
The last BFG version not support latest bitcoin wallet
because of block version 4
Yes, I plan to release a new version shortly with block v4 support.

nice! waiting for the new version then.
newbie
Activity: 8
Merit: 0
I have a brand new Avalon Nano 3 usb mining stick.
I've ser up p2pool (I don't think there's a problem with that)
I'm trying to start bfgminer with

bfgminer  -S ICA:/dev/bus/usb/005/012 -o stratum+tcp://127.0.0.1:9332 -O userxxx:passxxx --set-device ICA:baud=115200 --set-device ICA:reopen=timeout --set-device ICA:work_division=1 --set-device ICA:fpga_count=1 --set-device ICA:probe_timeout=100 --set-device ICA:timing=0.22 --api-listen

Obviously bfminer finds /dev/bus/usb/005/012 (iv'e set group to lp, same result anyhow if i run bfgminer as root)
bfminer somehow does not connect properly to the miner and reports:

[2015-11-21 15:29:26] /dev/bus/usb/005/012: tcflush failed: Inappropriate ioctl for device

if I leave out the timeout parameter (ICA:probe_timeout=100) the error output becomes:

 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device


The S3 was giving me the same thing Inappropriate some thing device then would shut down my miner or lock BFG or do what i said above so i know it saw it if it loaded for a berf second or two then gave some strange error then  either shut down the miner or locked up BFG to the point i had to close it out or do nothing at all .


i think i was getting this to

[2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device


but it said some thing different , can't say now no more S3 or S5 or S1 .
So how did you fix it?
newbie
Activity: 2
Merit: 0
5.4.0 has a bug with the U1/U2, which is fixed in 5.4.1 (currently rolling the release now).

Thanks the new version works really well.

Glad going on this forum paid off.
 GrinBTC
sr. member
Activity: 737
Merit: 262
Me, Myself & I
5.4.1 binaries for OSX anywhere? Link from OP is non-functional. Releases there stopped in March at 5.1.
legendary
Activity: 1274
Merit: 1000
I have a brand new Avalon Nano 3 usb mining stick.
I've ser up p2pool (I don't think there's a problem with that)
I'm trying to start bfgminer with

bfgminer  -S ICA:/dev/bus/usb/005/012 -o stratum+tcp://127.0.0.1:9332 -O userxxx:passxxx --set-device ICA:baud=115200 --set-device ICA:reopen=timeout --set-device ICA:work_division=1 --set-device ICA:fpga_count=1 --set-device ICA:probe_timeout=100 --set-device ICA:timing=0.22 --api-listen

Obviously bfminer finds /dev/bus/usb/005/012 (iv'e set group to lp, same result anyhow if i run bfgminer as root)
bfminer somehow does not connect properly to the miner and reports:

[2015-11-21 15:29:26] /dev/bus/usb/005/012: tcflush failed: Inappropriate ioctl for device

if I leave out the timeout parameter (ICA:probe_timeout=100) the error output becomes:

 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device


The S3 was giving me the same thing Inappropriate some thing device then would shut down my miner or lock BFG or do what i said above so i know it saw it if it loaded for a berf second or two then gave some strange error then  either shut down the miner or locked up BFG to the point i had to close it out or do nothing at all .


i think i was getting this to

[2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device


but it said some thing different , can't say now no more S3 or S5 or S1 .
newbie
Activity: 8
Merit: 0
I have a brand new Avalon Nano 3 usb mining stick.
I've ser up p2pool (I don't think there's a problem with that)
I'm trying to start bfgminer with

bfgminer  -S ICA:/dev/bus/usb/005/012 -o stratum+tcp://127.0.0.1:9332 -O userxxx:passxxx --set-device ICA:baud=115200 --set-device ICA:reopen=timeout --set-device ICA:work_division=1 --set-device ICA:fpga_count=1 --set-device ICA:probe_timeout=100 --set-device ICA:timing=0.22 --api-listen

Obviously bfminer finds /dev/bus/usb/005/012 (iv'e set group to lp, same result anyhow if i run bfgminer as root)
bfminer somehow does not connect properly to the miner and reports:

[2015-11-21 15:29:26] /dev/bus/usb/005/012: tcflush failed: Inappropriate ioctl for device

if I leave out the timeout parameter (ICA:probe_timeout=100) the error output becomes:

 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:14] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcgetattr failed: Inappropriate ioctl for device
 [2015-11-22 14:17:15] /dev/bus/usb/005/013: tcflush failed: Inappropriate ioctl for device
legendary
Activity: 1274
Merit: 1000
sigh still no device found on the S1 and S3 after this weekend i may not have any more Sad . I wanted to see it work on S1/3 really did but im buying A6 this week coming sold all my antminer but one it doesn't work, it for parts for Sidehacks boards when they happen .




http://i.imgur.com/xXeKyPR.png



using these lines :

/etc/init.d/cgminer stop

 bfgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u your btc -p x -S bitmain:auto --set btm:model=S3 --set btm:layout=32:8 --set btm:timeout=17 --set btm:clock=231 --set btm:reg_data=0d82 --set btm:voltage=x0725 --queue 8192

Ive tried all different ways of using the options .

If i use

cat /sys/kernel/debug/usb/devices

root@antMiner:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.10
S:  Manufacturer=Linux 3.10.12 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 2
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0409 ProdID=005a Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  5 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=4254 ProdID=4153 Rev= 0.01
S:  Manufacturer=BitMain Technology Inc.
S:  Product=Asic Control
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbfs
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
root@antMiner:~#


as far as i can tell all driver are installed so can any one tell me what i might be doing wrong ?. I downloaded it off openwrt the readme way .  


 bitmain is enabled now in the bfgminer file when I use bfgminer --version  it shows it on the enabled list now .


I get it working on S5's with NP Smiley.




legendary
Activity: 2576
Merit: 1186
NEW VERSION 5.4.1, NOVEMBER 21 2015

Human readable changelog:
  • Updated bundled libblkmaker to 0.5.2 for BIP65 (OP_CHECKLOCKTIMEVERIFY) support.
  • openwrt: bitmain driver enabled for official ar71xx binaries.

Full changelog:
  • bitmain: Use more portable PRIu64 rather than %llu (which fails on Windows)
  • icarus: Use more portable PRIu64 rather than %llu (which fails on Windows)
  • Bugfix: openwrt: Fix bitmain option
  • Bugfix: antminer: Avoid strstr(NULL, ...) when device has no [available] product string
  • Update libblkmaker to 0.5.2
  • openwrt: Add option to enable bitmain driver
  • openwrt: Update libusb device list
legendary
Activity: 2576
Merit: 1186
5.4.0 has a bug with the U1/U2, which is fixed in 5.4.1 (currently rolling the release now).
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
Hi
I'm new to Bitcoin mining. So go easy on me!

I'm trying to get my Antminer U1 going on Windows 10 64 bit but when the program starts and I search for the antminer it doesn't appear. when I search "all" the program shuts down with the only working command being "auto" which uses my CPU. I know the antminer works cause I've tested it on my laptop with the only differences being the system is 32 bit instead of 64.
Can you help?

have you tried -S all ?
is the antminer u1 seen in the device manager ?
have you installed the appropriate drivers (not Zadig)
newbie
Activity: 2
Merit: 0
Hi
I'm new to Bitcoin mining. So go easy on me!

I'm trying to get my Antminer U1 going on Windows 10 64 bit but when the program starts and I search for the antminer it doesn't appear. when I search "all" the program shuts down with the only working command being "auto" which uses my CPU. I know the antminer works cause I've tested it on my laptop with the only differences being the system is 32 bit instead of 64.
Can you help?
legendary
Activity: 2576
Merit: 1186
The last BFG version not support latest bitcoin wallet
because of block version 4
3 X selffacepalm
I pulled my hair for solo not working blaming OSX El Capitan upgrade I did... Forgot that in the same time I upgraded Bitcoin wallet.  Undecided
Hey, the release notes for Core do spell this out... you read them, right? Cheesy
sr. member
Activity: 737
Merit: 262
Me, Myself & I
The last BFG version not support latest bitcoin wallet
because of block version 4
3 X selffacepalm
I pulled my hair for solo not working blaming OSX El Capitan upgrade I did... Forgot that in the same time I upgraded Bitcoin wallet.  Undecided
legendary
Activity: 2576
Merit: 1186
The last BFG version not support latest bitcoin wallet
because of block version 4
Yes, I plan to release a new version shortly with block v4 support.
Pages:
Jump to: