Pages:
Author

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

hero member
Activity: 1246
Merit: 501
Seems I'm getting a Nanofury to replace a dead Bluefury.  Anything I need to be aware of as regards getting the Nanofury working on BFGMiner on Linux (or indeed OpenWRT)?
You'll have to build hidapi for OpenWrt and recompile BFGMiner to use it.

Cheers Luke-Jr.  I think I'll stick to the RPi then.  Wink
legendary
Activity: 2576
Merit: 1186
Seems I'm getting a Nanofury to replace a dead Bluefury.  Anything I need to be aware of as regards getting the Nanofury working on BFGMiner on Linux (or indeed OpenWRT)?
You'll have to build hidapi for OpenWrt and recompile BFGMiner to use it.
hero member
Activity: 1246
Merit: 501
Seems I'm getting a Nanofury to replace a dead Bluefury.  Anything I need to be aware of as regards getting the Nanofury working on BFGMiner on Linux (or indeed OpenWRT)?
legendary
Activity: 1568
Merit: 1008
Help plz, if I have a laptop connected to several bfl asics, how do I open one window of bfgminer for each?

Create copies of the bfgminer folder for each asic.  The configure each batch file to run just 1 asic.
i try but don't work. which flag i need use?
hero member
Activity: 520
Merit: 500
Help plz, if I have a laptop connected to several bfl asics, how do I open one window of bfgminer for each?

Create copies of the bfgminer folder for each asic.  The configure each batch file to run just 1 asic.
legendary
Activity: 1568
Merit: 1008
Help plz, if I have a laptop connected to several bfl asics, how do I open one window of bfgminer for each?
legendary
Activity: 2576
Merit: 1186
Hi Luke,

I am having real problems with libhidapi and I was wondering if you could lend a hand.  I have compiled and build the libraryies and ldconfig see's them;-

ldconfig -vvv | grep libhidapi
libhidapi-libusb.so.0 -> libhidapi-libusb.so.0.0.0
libhidapi-hidraw.so.0 -> libhidapi-hidraw.so.0.0.0

But after I git clone ./autogen.sh and ./configure I get;-

Code:
...
checking for LIBUSB... yes
checking for hidapi... no
checking for hidapi... no
checking for hidapi... no
checking whether libusb_error_name is declared... yes
...

  Disabled.Drivers.....: cpu hashbuster knc metabank nanofury opencl
    To enable nanofury, install hidapi
    To enable hashbuster, install hidapi

Any clues?  What do you get when you ldconfig -vvv | grep libhidapi?  Perhaps I have done something wrong in the compile?
hidapi is loaded dynamically at runtime.
Building just requires the header.
Hopefully this will help you identify what's wrong with your install.
Maybe check config.log to see exactly what's going on..
legendary
Activity: 896
Merit: 1000
Hi Luke,

I am having real problems with libhidapi and I was wondering if you could lend a hand.  I have compiled and build the libraryies and ldconfig see's them;-

ldconfig -vvv | grep libhidapi
libhidapi-libusb.so.0 -> libhidapi-libusb.so.0.0.0
libhidapi-hidraw.so.0 -> libhidapi-hidraw.so.0.0.0

But after I git clone ./autogen.sh and ./configure I get;-

Code:
...
checking for LIBUSB... yes
checking for hidapi... no
checking for hidapi... no
checking for hidapi... no
checking whether libusb_error_name is declared... yes
...

  Disabled.Drivers.....: cpu hashbuster knc metabank nanofury opencl
    To enable nanofury, install hidapi
    To enable hashbuster, install hidapi

Any clues?  What do you get when you ldconfig -vvv | grep libhidapi?  Perhaps I have done something wrong in the compile?

Neil
hero member
Activity: 1246
Merit: 501
Luke Jr. please help.  I have tried for many days of exhaustive effort to get my BE Blade to work with the BFGminer --http-port 8000 option and I have nothing but frustration.  I am currently mining getwork at Eligius.  Thank you.  These are the steps I have taken.  First I downloaded the Win32 BFGminer and installed it on my XPsp3 system which has E8500 core2duo.  BFG did not recognize my blade so I tried to make a .bat file but windows won't allow it and says bfg is not a valid win32 program. 

This is all you need to do. 

When you say the Blades weren't recognised, what do you mean?  Did you expect the Blades to suddenly appear?  Did you actually go to the Blade's management page and point them to the IP of the machine running BFGMiner, using a unique username on each Blade?
legendary
Activity: 2576
Merit: 1186
NEW VERSION 3.8.0, DECEMBER 2 2013

Human readable changelog:
  • New driver for HashBuster Micro boards.
  • klondike: Add support for boards built with 55nm Avalon2 chips.

Full changelog:
  • Bugfix: lowl-usb.h: Add missing includes for stdbool/stdint
  • hashbuster2: Retry writing request if no response received in 100ms
  • lowl-usb: usb_ep_set_timeouts_ms function that behaves similar to termios VTIME (timeout before begin of read/write)
  • hashbuster2: Use new lowl_usb_endpoint for i/o
  • lowl-usb: Add tools for more reliable read/write using bulk transfers
  • Add bytes_extend_buf, bytes_preappend, bytes_postappend for reading direct to a bytes_t
  • New / updated instructions for building bfgminer on Windows
  • configure: Adjust header-path discovery to work sanely with spaces and backslashes in paths
  • Bugfix: configure: More fixing BSD sed syntax for curses header search
  • bitfury: Reinitialise chips if their frequency drops over 50%
  • bfg_strerror: Trim C whitespace off the right of FormatMessage output, since Windows can add \r\n
  • Demote commonish errors to debug loglevel
  • klondike: Add support for Avalon2-based designs
  • klondike: Remove unnecessary limit of 999 on clock speed displayed in Manage Device
  • Bugfix: hashbuster2: Claim USB device internally
  • Bugfix: hashbuster2: Do not try to use lowl-hid.h
  • Bugfix: hashbuster2: Close device and free memory allocated, when no chips are found
  • Bugfix: hashbuster2: Remove libusb init and debug level setting
  • Bugfix: hashbuster2: Avoid add_cgpu when no chips found
  • Bugfix: klondike: Claim USB device internally
  • Bugfix: devpath_to_devid: Check stat for error before allocating memory
  • Bugfix: lowlevel: Free hash table data when done with it
  • Bugfix: bifury: Free memory used by version reply
  • bfgtls: Implement destructor to free memory when threads exit
  • hashbuster2: Remove unnecessary libusb_detach_kernel_driver
  • hashbuster2: Read unique serial number from device
  • hashbuster2: Use hashbuster2_io for probe
  • hashbuster2: Clean up warnings about unused variables
  • README: Document --enable-opencl configure option
  • README: Update for HashBuster Micro
  • hashbuster2: Integrate into BFGMiner as a separate driver
  • hashbuster2: Import driver for new protocol
  • Bugfix: nanofury: Check if mcp2210_device exists before trying to power it off
  • Bugfix: lowl-vcom: Check for error getting root hub path
  • openwrt: Update package description
  • configure: Add --without-libusb option to explicitly disable using it
  • Bugfix: Pass newlines as ASCII (fixes lack of them in non-unicode builds)
newbie
Activity: 23
Merit: 0
Luke Jr. please help.  I have tried for many days of exhaustive effort to get my BE Blade to work with the BFGminer --http-port 8000 option and I have nothing but frustration.  I am currently mining getwork at Eligius.  Thank you.  These are the steps I have taken.  First I downloaded the Win32 BFGminer and installed it on my XPsp3 system which has E8500 core2duo.  BFG did not recognize my blade so I tried to make a .bat file but windows won't allow it and says bfg is not a valid win32 program.  SO I tried MinGW.  The install went smooth but I replaced zlib1 for curl??  and eventually GIT would not work until I linked it somehow to msys.  Eventually compiled bfg errors about $ A flags or something and I hacked that line out blindly of course there was no magic.   So I thought let me start from bare metal.  I got another PC with E8500 and 1 Gb ram.  I thought about installing Ubuntu server as opposed to Arch.  I like ARCH because it has nice docs, but I just want to get it up quick so Ubuntu.  I tried Xubuntu but my disk was corrupt and wound up with Ubuntu Desktop.  I figured Xubuntu would be better because a GUI wouold be nice to check BTC websights and stats and config pages.  But I digress.  UBDesktop sucks it is so slow.  I used Synaptic to load up BFG and libmicrohttpd.  No beans.  It won't recognize my blade.  SO I thought I would get tricky.  I used wine to load win32bfg.  I tried to edit a config for wine bfg but still no beans.  I am ready to start over from bare metal but I need help.  Please give me guidance.  I think I can install everything and boot from a USB stick and eliminate my hard drive for a cost efficient Stratum host.  But I can't seem to do it alone.
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
im trying to make sense of this whitepaper,  that seems to almost exactly replicate what the sha256_4way.c does

and if i understand it correctly one execution of 4way calculates 4 hashes, nonces: 0-3,4-7,.....

sr. member
Activity: 266
Merit: 250
I found this command in read me file:
bfgminer -o http://pool1:port -u pool1username -p pool1password -o http://pool2:port -u pool2usernmae -p pool2password

so how to set priority of pools and also add --failover-only

thx
hero member
Activity: 868
Merit: 1000
anyone please be nice and explain to me how to setup backup pool.
I'm using xp and I created .bat file with command to mine on eligius pool.
so how to add second pool in to the same command so if eligius fails it can automatically mine on second pool.
I saw command --pool-priority but I don't know how to use it.
thanks 

Copy the example in "read me"
sr. member
Activity: 266
Merit: 250
anyone please be nice and explain to me how to setup backup pool.
I'm using xp and I created .bat file with command to mine on eligius pool.
so how to add second pool in to the same command so if eligius fails it can automatically mine on second pool.
I saw command --pool-priority but I don't know how to use it.
thanks 
legendary
Activity: 2576
Merit: 1186
Code:
[2013-11-30 14:30:59] hashbuster_lowl_probe: Identify sequence didn't match on \\?\hid#vid_fa04&pid_0011#6&11d06e40&1&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
This looks like a device-side issue, or something else interfering with BFGMiner talking to it.
Got same error with clear WinXP on netbook, but all work fine with Linux Mint, and under VirtualBox on main machine, with custom cgminer. Mb my boards have some custom firmware?
Confirmed this affects the Windows 7 laptop I test on, but also confirmed communication with the device seems to work.
I don't know why the device fails when plugged into Windows Sad
legendary
Activity: 2576
Merit: 1186
Code:
[2013-11-30 14:30:59] hashbuster_lowl_probe: Identify sequence didn't match on \\?\hid#vid_fa04&pid_0011#6&11d06e40&1&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
This looks like a device-side issue, or something else interfering with BFGMiner talking to it.
Got same error with clear WinXP on netbook, but all work fine with Linux Mint, and under VirtualBox on main machine, with custom cgminer. Mb my boards have some custom firmware?
Ah, interesting. I'll go test on Windows then... Smiley
newbie
Activity: 11
Merit: 0
Code:
[2013-11-30 14:30:59] hashbuster_lowl_probe: Identify sequence didn't match on \\?\hid#vid_fa04&pid_0011#6&11d06e40&1&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
This looks like a device-side issue, or something else interfering with BFGMiner talking to it.
Got same error with clear WinXP on netbook, but all work fine with Linux Mint, and under VirtualBox on main machine, with custom cgminer. Mb my boards have some custom firmware?

legendary
Activity: 2576
Merit: 1186
Code:
[2013-11-30 14:30:59] hashbuster_lowl_probe: Identify sequence didn't match on \\?\hid#vid_fa04&pid_0011#6&11d06e40&1&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
This looks like a device-side issue, or something else interfering with BFGMiner talking to it.
legendary
Activity: 2576
Merit: 1186
I get this output when running the git you linked to with my optimal scrypt settings that worked with 3.2.1, then it immediately crashes:

Code:
C:\Users\BigMiner\Desktop\New folder>bfgminer.exe --scrypt  -I 13,19,19,19 --thr
ead-concurrency 16384,22400,22400,22400 --gpu-engine 1045,1150,1050,1050 --gpu-m
emclock 1450,1420,1425,1425 -w 256,256,256,256 --auto-fan --failover-only --gpu-
powertune 0,20,20,20 --scan-serial all --scan-serial opencl:auto -o pool1.us.mul
tipool.us:3345 -u user -p "" -d 0 -d 1 -d 2 -d 3 -T
 [2013-11-29 19:30:51] Started bfgminer 3.7.0
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_
SUPPORTED
 [2013-11-29 19:30:51] Failed to get PortName registry key value in lowl-vcom.c
_vcom_devinfo_scan_windows__hubport():443: The system cannot find the file speci
fied.

 [2013-11-29 19:30:51] Failed to ioctl (1) in lowl-vcom.c windows_usb_get_root_h
ub_path():497: The operation completed successfully.

 [2013-11-29 19:30:53] Twinfury: Not a valid response from device (-1)

 [2013-11-29 19:30:54] klondike_lowl_probe: Matched "(null)" serial "(null)", bu
t lowlevel driver is not usb!
 [2013-11-29 19:30:56] x6500_lowl_probe: Matched "(null)" serial "(null)", but l
owlevel driver is not ft232r!
 [2013-11-29 19:30:56] ztex_lowl_probe: Matched "(null)" serial "(null)", but lo
wlevel driver is not usb!
 [2013-11-29 19:31:00] Read of fd 3 returned 0
 [2013-11-29 19:31:00] nanofury_lowl_probe: Matched "(null)" serial "(null)", bu
t lowlevel driver is not mcp2210!
 [2013-11-29 19:31:00] hashbuster_lowl_probe: Matched "(null)" serial "(null)",
but lowlevel driver is not hid!
 [2013-11-29 19:31:00] hashbuster2_lowl_probe: Matched "(null)" serial "(null)",
 but lowlevel driver is not usb_generic!
 [2013-11-29 19:31:02] Probing for an alive pool
 [2013-11-29 19:31:03] Pool 0 http://pool1.us.multipool.us:3345 alive

 [2013-11-29 19:31:03] Network difficulty changed to 1 (13.44Mh/s)

 [2013-11-29 19:31:03] Stratum from pool 0 detected new block

 [2013-11-29 19:31:03] Pool 0 is hiding block contents from us
Please add
Code:
--debuglog --log-file 20131130-purelithium-debug.log
and send me the file.

Done, you should have it now. Looked at the log and I think it's crashing when compiling the scrypt bitstreams...
If it just ends abruptly like that on Windows, then it didn't crash...
My only guess is your OpenCL drivers called exit() for some reason.
If older versions work, we will need to bisect this issue while also ignoring the (different) bug you bisected earlier.
Unfortunately, automating this process is difficult... can you meet me on IRC?
Pages:
Jump to: