2.10.4j 2.10.4mAn Xubuntu 11.04 x86_64 executable is in my github called
cgminer-2.10.4j cgminer-2.10.4m
https://github.com/kanoi/cgminer-binaries(it also works on Fedora 16 and 17)
Anyone interested in testing it (or my current git
https://github.com/kanoi/cgminer if you wish to compile it yourself) please do.
I do not expect problems with it - but I'm pretty much the only one I'm certain who has tested it all - though others have tested some of the changes.
This includes all the pull request changes I've made since 2.10.4
including 1 since 2.10.4j up to 2.10.4m
oldest first:
Kano BFL libusb driver cbf6c71
Kano BFL USB build changes 040ec58
Kano BFL report USB device numbers for init errors and allow faster 'reinit' b099615
Kano BFL USB - README and FPGA-README 70b47a7
Kano BFL include all USB requirements 03c2cab
Kano BFL USB api.c usbstats 07db1ed
Kano BFL USB longer timeout 211b0f4
Kano Remember best share per pool and return in API pools 03f626e
Kano Correct API version to match docs abaaf93
Kano zero (most) API stats 4c2f26e
Kano BFL USB correct usb stats id 44ec755
Kano miner.php optional user/pass login restrictions 910764d
Kano miner.php user/pass fix 'usr' is readonly aaddf5b
Kano diffexactone pool diff1 used for share value calculation is ffffffff.… … 6382b0c
Kano rename device_api -> device_drv and all related api -> drv and add a … … fe508ba
Kano device_drv missing drv for cpu and incorrect test 774944c
Kano device_drv - allow .name to be changed before add_cgpu() f9b0751
Kano increase device status string length 400dc17
Kano api.c pgaenable not re-enabling the device - plus related debug 8b078fc
Kano API zero - zero statistics - all or bestshare - with optional on scre… … 8d59ab5
Kano BFL minimise first initialisation failure delay since it is common 72253d2
Kano Best Share readme b169aa7
Kano USB automatically handle losing the device and report nodev in the API 2c16a73
Kano api.c update copyright year 0f6f6e3
Kano USB BFL transfer is only 64 bytes in a USB1.1 socket cb0157a
Kano MMQ it's a bitstream 1162861
Kano MMQ include USB devpath in detection error messages e10d766
Kano API stats - include pool network bytes + in miner.php d3d8772
Kano usbutils.c release_cgpu() sets nodev 56b7396
Kano ICA use drv->name be6f37b
Kano miner.php trim trailing zeros on some of the STATS numbers a536eda
Kano BFL use #defined strings for work replies f66818c
Kano BFL allow a 2nd init attempt if the 1st reply is unknown 54fc340
Kano USB move usbdev info that needs to stay around into usbinfo b9c4769
Kano Capitalise driver long names used in applog messages a2d83ad
Kano usbutils.c use correct config from found (not 0) 5f978c0
Kano USB usb_init() consistent err/warning/debug messages 61f5531
Kano USB system wide device locking on linux 2ab986a
Kano USB device locking NOOP for windows (for now) eddd739
Kano usbutils free found if not used 753eeb3
Kano usbutils stats_initialised not set 78bbd60
Kano USB system wide device locking on windows a324f52
Kano USB in linux use the expected kernel config to check and detach - and… … 8e4c3a5
Kano 2.10.4j a5139f4
Kano Stratum disconnect shares - count total against stale ef5d3d8
additions since 2.10.4j
Kano MMQ must copy USB bus:device due to usbinfo change 381536a
Kano Split thr_info array into control_thr and mining_thr pointers so more… … d6e5313
Kano mutex all access to mining_thr 421a364
Kano 2.10.4m
English version of the most notable of the above:New BFL USB driver that only uses libusb (and autodetects all BFLs)
miner.php optional password security
Best Share also recorded per pool and available from the API
API pgaenable fix (didn't work for multiple devices)
API zero statistics
BFL faster initialisation (noticeable if you have a MiniRig or multiple Singles)
USB automatically handle device disconnects and mark them 'nodev'
API stats include network byte stats (now count, data byte stats and network byte stats)
BFL try to initialise a second time if first time fails
USB system wide device locking if you run 2 or more cgminers they wont access the same device twice (windows and linux)
Make the work thread variable able to be dynamic
My git contains the updated API-README, FPGA-README and README
https://github.com/kanoi/cgminerNow some important information about the BFL USB driver.On linux, if you wish to switch back to the old 2.10.4a or earlier version, you'll need to unplug and re-plug in your FPGAs or reboot your rig.
On windows (as described in FPGA-README) you'll need to update your windows USB driver
I've tested it on linux and windows with a BFL FPGA Single and also on linux had someone test with a BFL FPGA MiniRig
I've asked Josh for access to a MiniRig for at least a few hours to test a larger number of connected USB devices, but not got that access yet.
I found it used to sometime miss finding the BFL due to getting the init message chopped in half, so it tries twice now - and I've not had it fail to spot the BFL, found either on the first or the second time, in all the restarts I've done since then - the first failure seems to be when cgminer is first run and the kernel driver is disconnected just before resetting and sending the init string
To get the binary simply:
wget https://github.com/kanoi/cgminer-binaries/raw/master/cgminer-2.10.4j
chmod +x cgminer-2.10.4j
md5sum cgminer-2.10.4j
9c17eb376d601cf1c5d19b83255e780e cgminer-2.10.4jwget https://github.com/kanoi/cgminer-binaries/raw/master/cgminer-2.10.4m
chmod +x cgminer-2.10.4m
md5sum cgminer-2.10.4m74567a1384fc5fdad9e0a6e6d9e04597 cgminer-2.10.4mFor anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
First get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'
(however, as I mentioned above, there are new *README files in my git)
No problems so far on my GPU, 'BFL+MMQ+2xICA'
Since I'm no longer GPU mining, I just run it for a while on my single 6950 to see what happens
BFL+MMQ+ICAs (2.4GH/s) on OzCoin Stratum with fixed 8 diff
Almost the same configure options as cvolivas' binary version
In case anyone was wondering:
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
makeThe -g (instead of -O2) means it's a debug build so if anyone finds a problem and has cores enabled, it will dump a much more useful debug core.