Pages:
Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 66. (Read 5805649 times)

hero member
Activity: 527
Merit: 500
HiveNet - Distributed Cloud Computing
Has anyone else ran into a problem getting the new cgminer to run the r-boxes at full speed?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Spotted this when building on a RPi with --enable-hashfast:
Quote
./configure: line 11925: -pthread: command not found
It's a harmless warning due to a minor config script error in the included libusb. Ignore.
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
[...] 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:
Quote
./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.

sr. member
Activity: 369
Merit: 250
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:

Code:
commit 72375c3ec5b2a94243ae32cc43f3a36d2375eab0
Author: Con Kolivas
Date:   Tue Nov 4 16:14:53 2014 +1100

https://github.com/ckolivas/cgminer/releases/tag/v4.7.1
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
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?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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
newbie
Activity: 49
Merit: 0
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.
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
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?
member
Activity: 77
Merit: 10
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

full member
Activity: 137
Merit: 100
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.
hero member
Activity: 527
Merit: 500
HiveNet - Distributed Cloud Computing
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.



newbie
Activity: 49
Merit: 0
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.
newbie
Activity: 49
Merit: 0
[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
Changed-By: Scott Howard
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
newbie
Activity: 49
Merit: 0
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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"
sr. member
Activity: 261
Merit: 257
4.7 fails to compile on Mac OS X:

Code:
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.
newbie
Activity: 49
Merit: 0
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.

legendary
Activity: 3990
Merit: 2695
Hello,

Support the Cgminer in the stock version also the Technobit:

240 GHs HEX8A1 Coincraft A1 miner?

sudo ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminerb --enable-hexmineru --enable-hexminer8

or only with the HEX patch?

THX

The "stock" Cgminer don't support the Technobit HEX miner? THX
hero member
Activity: 840
Merit: 1002
4.7 fails to compile on Mac OS X:

Code:
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.
sr. member
Activity: 336
Merit: 250
damn. thanks for the info
Pages:
Jump to: