bitsolutions
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 22, 2014, 11:00:54 PM |
|
4.7 fails to compile on Mac OS X: api.c:4708:56: error: use of undeclared identifier 'IPV6_ADD_MEMBERSHIP' if (SOCKETFAIL(setsockopt(mcast_sock, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, ^ ./util.h:13:26: note: expanded from macro 'SOCKETFAIL' #define SOCKETFAIL(a) ((a) < 0) ^ 1 error generated. Should be fixed in git.
|
Mining Software Developer.
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2014, 05:35:33 AM |
|
Anyone have a guide to cross compiling CGminer?
Here is my environment:
Ubuntu 14.04 LTS 64-bit on XenServer w/ 8GB RAM and 8-cores.
I have installed all the multi arch tools for CubieTruck (ArmL7) and can build the kernel and other tools.
Where I am having problems:
1. Configure says I don't have curses library or libudev installed.
2. When I try to compile, I get errors about curl functions.
Cross compilation is not for the faint of heart. One thing to be wary of is most cubie distributions are older glibcs than what ubuntu has probably installed so that even if you get it to compile you will not be able to run the binary on your cubie. To get yours compiling, provided you don't care about the text interface, or getwork/gbt/solo support, use git master and you can just add "--disable-libcurl --disable-udev"
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
sdjernes
Newbie
Offline
Activity: 49
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 23, 2014, 03:52:26 PM |
|
Anyone have a guide to cross compiling CGminer?
Here is my environment:
Ubuntu 14.04 LTS 64-bit on XenServer w/ 8GB RAM and 8-cores.
I have installed all the multi arch tools for CubieTruck (ArmL7) and can build the kernel and other tools.
Where I am having problems:
1. Configure says I don't have curses library or libudev installed.
2. When I try to compile, I get errors about curl functions.
Cross compilation is not for the faint of heart. One thing to be wary of is most cubie distributions are older glibcs than what ubuntu has probably installed so that even if you get it to compile you will not be able to run the binary on your cubie. To get yours compiling, provided you don't care about the text interface, or getwork/gbt/solo support, use git master and you can just add "--disable-libcurl --disable-udev" The CubieTruck build I am working with is a full version of Debian Weezie and CGminer will build on it without any problems. What I am looking for is how I get the dependencies to show up in the cross environment.
|
|
|
|
sdjernes
Newbie
Offline
Activity: 49
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2014, 02:57:31 AM |
|
[Pkg-bitcoin-devel] cgminer_4.7.0-1_i386.changes ACCEPTED into unstable
Debian FTP Masters ftpmaster at ftp-master.debian.org Sun Oct 26 15:50:06 UTC 2014 Previous message: [Pkg-bitcoin-devel] Processing of cgminer_4.7.0-1_i386.changes Next message: [Pkg-bitcoin-devel] Bug#757381: marked as done (cgminer: autobotched manpage) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Accepted:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Format: 1.8 Date: Sun, 26 Oct 2014 10:04:39 -0400 Source: cgminer Binary: cgminer Architecture: source i386 Version: 4.7.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel at lists.alioth.debian.org> Changed-By: Scott Howard <showard at debian.org> Description: cgminer - multi-threaded multi-pool Bitcoin miner Closes: 757381 Changes: cgminer (4.7.0-1) unstable; urgency=medium . * New upstream release. * libusb_init_warning.patch: Log a warning and don't quit if libusb_init() fails (Closes: #757381). Checksums-Sha1: 4ad3ea80570108377aaea9d0a5996f29ad8127bf 2068 cgminer_4.7.0-1.dsc e14f159f617a54d9e1f2fef4a102c5b2c3c3d2d4 2048238 cgminer_4.7.0.orig.tar.gz 90a00ca63d647de874ea6c899e03e58cdfa88954 10708 cgminer_4.7.0-1.debian.tar.xz a196d70fc58ac8b318016388e44412509d94b8e4 577918 cgminer_4.7.0-1_i386.deb Checksums-Sha256: ecaa77f5ebd400210b75cee61f290da08486a0614ee35b0afc981dd64c0cdc7a 2068 cgminer_4.7.0-1.dsc fc9430bf18a55787c1cf478620116881ddcb6cdb1b16f167c15675cd5e3216b0 2048238 cgminer_4.7.0.orig.tar.gz e3451184e15b690245ac044b77129ce678e043162c8866f799876993822dfaf5 10708 cgminer_4.7.0-1.debian.tar.xz c0c799e5a135a303d9dbe8b89408041ae3640ade107fefab328f65b4ff11c8c7 577918 cgminer_4.7.0-1_i386.deb Files: 57f3700cf5d6185c5af34d91b3d7c1b6 2068 net optional cgminer_4.7.0-1.dsc 15c74490a78b52845d8fbd8fef9af330 2048238 net optional cgminer_4.7.0.orig.tar.gz 1556ed06f4bb3bcd7756b99157990b34 10708 net optional cgminer_4.7.0-1.debian.tar.xz 42547121c9fc014a7e4d89287f7092e0 577918 net optional cgminer_4.7.0-1_i386.deb
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIcBAEBAgAGBQJUTQaLAAoJEI7QYGkDfiTyknsQAKSxWQaVkY0eexAe9KCAv7X7 NrxKxm4Q6SncMYzrtrhG8RG7eeUjBl2lwGPDVGecQdKlDT3pAI6hlM2eDj2wm/2Z noljZ4/WCWdMM0Ck0K5Tt9MxQjD+uS3Cfqr0xBMRTgYjx299vN3phKERQqwSrE4F iX1ZAt9UPuNeyLMAL8c0kNfLuKIvqkYwJTc0aMyGry56eyTa/JvbDIhrByr7KOyM rxxQGcJPQaNk4R4aKntB9B4DI6eK/mJ+MbGk8VFwnGhKa/2VcHyCGILYQf18LFTe ywil0rhza0UmEPlweOJE3j/QdvbPMrK2JYZPb0kWDhoILbzy/ZysI8ihlfhKE/tn bch43h+uJ8o/PddIQfZXNaNgwk2MXcNdKZUgGV2JKnEG1x81Uq8fQ9iUzwXcZaWq 9xgKxLv2xwJ6M9LfwO0UNR/MGTLHrtN+D6Q8wwzTOUHBuXKctUqlB+8Gq8CvbR7/ vm02uSpaiW2ll5S4kEo/eOmyG+YRGa6+3a5yMMzkFRAgKnkZgZh8srgwMCN80wQR +Lnr1EIPQKmgdODyB2FBWZtv+rQPQq6aaGLPTbOYi8rQjFq3JccB98ku+A5NwU2H gto1K0TzQMkDZZY8w4/dW5G6/G2CHwMLQFwjgrJg9usNFBhRojhH/5mu/SJ29Zpl gUrftd8y78qQBvcRqHLM =0qqQ -----END PGP SIGNATURE-----
Thank you for your contribution to Debian.
Previous message: [Pkg-bitcoin-devel] Processing of cgminer_4.7.0-1_i386.changes Next message: [Pkg-bitcoin-devel] Bug#757381: marked as done (cgminer: autobotched manpage) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Pkg-bitcoin-devel mailing list
|
|
|
|
sdjernes
Newbie
Offline
Activity: 49
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2014, 02:31:26 PM |
|
A little addition to my previous note on CGminer 4.7.0 getting into Debian Sid. It got built for all architectures.
If you are running Jessie you can manually pull the package down from your favorite mirror and install it with the "dpkg -i " command.
|
|
|
|
Ntrain2k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2014, 02:37:53 PM |
|
Any tips for getting the correct speed out of CGMiner for the new/old R-boxes? I've tried several flavors, including the one from rockminer and can't get anywhere near the speed I get with bfgminer which runs the new r-boxes slow to begin with. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FM1j6OIU.png&t=665&c=JMv2gZQ-jQWHXQ) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FWbVQdJY.png&t=665&c=P5O6pTm7BGZ1Xw)
|
|
|
|
cat2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 27, 2014, 08:22:40 PM |
|
Can somebody point me to download of cgminer for raspberry pi running pidora with gridseed 5 chip. Also never compiled anything before so instructions for that or cgminer already compiled would be helpful.
|
><((((º>·.·..><((((º> ..·..><((((º>
|
|
|
morda
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 77
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 28, 2014, 09:02:56 AM |
|
im going to sound like a noob, but could anyone explain to me how to set up the config file for the cgminer? cos when im manually inserting pool data when it promotes for it, the miner says pool invalid
|
3DjB5gFXnh9TZF5DS7Zm6eSs64RbSYP9JU
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 29, 2014, 04:00:00 AM |
|
im going to sound like a noob, but could anyone explain to me how to set up the config file for the cgminer? cos when im manually inserting pool data when it promotes for it, the miner says pool invalid Check out https://github.com/ckolivas/cgminer/blob/master/example.conf Easiest is to save the config file from the menu to get you started. What do you enter for pool information?
|
|
|
|
sdjernes
Newbie
Offline
Activity: 49
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2014, 04:54:55 AM |
|
Please note that the build of CGminer 4.7.0 currently in Debian unstable probably will not work. It was compiled with some of the drivers enabled that should only be enabled on dedicated hardware.
I am working with the Debian pkg-bitcoin-dev team to get this fixed.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 04, 2014, 05:32:44 AM |
|
New release: Version 4.7.1, 4th November 2014
Minor bugfix release after dusk.
Human readable changelog:
- We used to yield after dropping locks in cgminer to allow low power machines (eg RPi) to work properly with heavily threaded code. Now it only does this on machines where one CPU only is detected otherwise it is wasteful but probably will have no demonstrable effect in anything but microbenchmarks. - Changed the configure build system to make it impossible to build more than one device in if the chosen driver was meant to be used standalone, along with more explicit tagging of standalone drivers in the configure help. This should make it easier to choose a more suitable configuration for distribution packaging. - Added yet more warnings suggesting not to use the system libusb in configure. - Check if pools are alive more frequently if there is only one pool enabled. - Don't think that unhandled stratum messages are untracked shares, just filter them out. - Added support for mining.ping which is a stratum extension in ckpool. - Changed the use of suggest-diff to the newly agreed upon standard of putting the diff in the json parameters. - Fixed a crash that happens when write is chosen from the menu and the hashratio driver is built into the binary. - We did not stop receiving stratum messages from pools that we disabled from the menu previously. - If "restart" was chosen from the menu, any sockets to old pools were not closed down leading to many persistent connections to the pool with each restart. Now these are properly closed (though quit and start again is always more reliable than a restart anyway). - Work utility meter was broken in the last release due to maxdiff being set very high for any drivers that didn't set it. Instead maxdiff is assumed to be 1 now unless the driver has it explicitly set showing support for internal driver diff. - If the pool priority order is changed while running and we save the config from the menu it will now save the new priority order. - Hashfast voltage support for Yoli/Habanero/Bitcrane etc. boards (see ASIC-README) - SP30 driver improvements, fixing the hashrate meter. - Fixed API taking both an IPV6 and IPV4 address. - Fixed OSX build. - Added the ability to build libusb without libudev (eg. on BBB) - Fixed a small delay in generating more work when queue is set to zero. - If different USB devices contain the same communication chip, provided the USB device has a product id set, cgminer will no longer try to use the wrong driver on it (eg LIN vs BFLSC). - Added support for more USB3 hubs on windows. - Fixed the hashfast driver not building when libcurl is disabled.
Full changelog:
- Selectively yield on dropping a lock only on single CPU platforms - Make it impossible to configure in more than one device that is meant to be standalone. Add more information to configure help, along with comments for new drivers. - Add warning against system libusb in configure help - stratum_rthread sleep only 3s when all the pool have disconnected - Filter responses that don't have a result - Implement support for pool ping and json integers of zero in getversion and ping - Fix segfault when writing config with hashratio built in - Save pools in priority order at time of writing config - Set the correct flag for close on exec for sockets - Suspend stratum on removing a pool - Set CLOEXEC on sockets on linux - Drivers that take a diff should specify a max diff or it is assumed they don't support one so set max_diff to 1 if unset - Send hfa generic frame only if voltage was specified on the command line for that device - Set hashfast voltage settings only when really needed - Hashfast voltage support - Increase max diff on sp30 to 1024 - Reset ipv6 flag to false in every api-allow loop - undeclared identifier 'IPV6_ADD_MEMBERSHIP' fix for apple - two back temps spondoolies2 - two back temps spondoolies - correct suggest_difficulty json rpc call - Add more usb3 hub identifiers for windows - Set driver max diff to large value if unset - Wake gws on get queued - Implement blacklisting of attempting to match known products from ones without identifiers - Fix hfa driver building without libcurl - Enable building libusb without udev - Fix off by one calculation error in sp30 leading zeroes - Send correct diff work to sp30 for hashmeter to be correct - Do the sleep in spondoolies_queue_full_sp30 after dropping the lock - Minor tidy in sp30 driver - Fix sp30 warnings
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 04, 2014, 03:49:36 PM |
|
New release: Version 4.7.1, 4th November 2014 [...]
As far as I can tell github is still at 4.7.0? I was looking forward to the Hashfast addition and just pulled and built, but 4.7.0 is the latest tag ( git tag -l ). So, now I wonder is it in there or not yet?
|
|
|
|
kuzetsa
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 05, 2014, 12:30:06 AM |
|
New release: Version 4.7.1, 4th November 2014 [...]
As far as I can tell github is still at 4.7.0? I was looking forward to the Hashfast addition and just pulled and built, but 4.7.0 is the latest tag ( git tag -l ). So, now I wonder is it in there or not yet? either a mysterious delay happened with github or your local git repo hadn't been refreshed, or maybe some other reason it wasn't showing up when you looked??? it looks fine to me: commit 72375c3ec5b2a94243ae32cc43f3a36d2375eab0 Author: Con Kolivas <kernel@kolivas.org> Date: Tue Nov 4 16:14:53 2014 +1100
https://github.com/ckolivas/cgminer/releases/tag/v4.7.1
|
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 05, 2014, 05:05:56 AM |
|
[...] mysterious [...] Don't know what the problem was, I had also tried to hard reset to master to no avail. I then removed the cgminer folder entirely and cloned again and it showed v4.7.1 (git tag -l), but it still built 4.7.0. I then selected 4.7.1 manually (git checkout tags/v4.7.1) and that finally did the trick. [...] - Hashfast voltage support for Yoli/Habanero/Bitcrane etc. boards (see ASIC-README) [...]
Thank you! Spotted this when building on a RPi with --enable-hashfast: ./configure: line 11925: -pthread: command not found A quick search in the tread showed this error in reference to Avalon devices. As far as I can tell it has no influence on running cgminer in this case, however.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 05, 2014, 05:37:59 AM |
|
Spotted this when building on a RPi with --enable-hashfast: ./configure: line 11925: -pthread: command not found It's a harmless warning due to a minor config script error in the included libusb. Ignore.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Ntrain2k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 05, 2014, 01:11:15 PM |
|
Has anyone else ran into a problem getting the new cgminer to run the r-boxes at full speed?
|
|
|
|
AngusCanine
Legendary
Offline
Activity: 1414
Merit: 1001
To weird to live To rare to die
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 05, 2014, 04:33:10 PM |
|
is there a downloadable openwrt files for the newer ant s1's after 3.12 offered at bitmain ?
|
|
|
|
SVK
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 05:38:32 PM |
|
Sorry for stupid question. Latest releases do not work at all Is it only me or ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) ? Thank you
|
|
|
|
Gologuzan
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 05:49:23 PM |
|
hi all, i have a question. i am using cgminer on one of my miners, and i have a problem. when i turn on miner it connect to internet and hash perfectly. BUT when internet get disconnected, miner sound alarm, and when it gets internet, alarm stops but miner does not start hashing. i need to reset it through putty and then it starts hashing normally. so i guess that i need some script that resets cgminer when internet comes back. miner is using rPi.
thx for your time.
|
|
|
|
Blazed
Casascius Addict
Legendary
Offline
Activity: 2128
Merit: 1119
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 05:58:32 PM |
|
Having some issues with AM Prisma using the USB adapter
Cgminer 4.7.1 Rasp Pi running latest wheezy compiled using: --enable-blockerupter --enable-icarus --without-curses
./cgminer -o stratum+tcp://us1.ghash.io:3333 -u xxxx -p xxxx --bet-clk 23
Cgminer spits out a bunch of errors
[2014-11-06 17:44:02] BET0: Unexpected value 00 received [2014-11-06 17:44:02] BET0: Sync Error [2014-11-06 17:44:02] BET0: Unexpected value 58 received [2014-11-06 17:44:02] BET0: Sync Error [2014-11-06 17:44:02] BET0: Unexpected value 58 received
it then segfaults after a little bit.
I am not sure if my cgminer command is wrong or the USB dongle is the issue.. I have tried plugging directly into Pi and also a power USB hub with the same results.
|
|
|
|
|