Bitcoin Forum
July 06, 2025, 07:55:19 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 [777] 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806378 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
-ck (OP)
Legendary
*
Offline Offline

Activity: 4494
Merit: 1665


Ruu \o/


View Profile WWW
October 13, 2014, 10:48:33 AM
 #15521

BUG: the "devs" command returns invalid JSON if no shares have been accepted yet:

Code:
            
    "Difficulty Accepted": -nan,
    "Difficulty Rejected": -nan,
I don't get that when I try:
Code:
"Difficulty Accepted":0.00000000,"Difficulty Rejected":0.00000000

Perhaps you're trying to read them as integers? (They're doubles).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline Offline

Activity: 4494
Merit: 1665


Ruu \o/


View Profile WWW
October 14, 2014, 07:49:03 AM
 #15522

New release: Version 4.7.0, 14th October 2014


Human readable changelog:

- ipv6 support for the API
- Block erupter tube and prisma support
- Support for the avalon nano usb stick
- Support for the --suggest-diff stratum option, currently only supported by ckpools
- Add pool number to addpool response from API
- Make responses to restart and quit from the API valid json
- Change spondoolies sp30 hashrate to valid share based meter
- Add support for a minimum difficulty for slow controllers to not spiral out of control, this will initially make the devices look slow at the pool until vardiff bumps them up properly past the mindiff.
- Change the default queue back to 1 since increasingly devices are on slow controllers and will inevitably increase their queue size to max
- Avalon2 tweaks, show max temperature on command line


Full changelog:

- Implement generic inet_pton for windows
- Fix warnings
- Fix bulk of remaining style in blockerupter.c
- Tidy style in blockerupter.h
- Tidy bulk of style in blockerupter.c
- Fix missing minimum diff setting for blockerupter
- Fix unused variable warnings
- remove unnecessary sleep; fix potenital div by 0 errs; use min_diff in driver
definition
- Fix coding style
- Make the sp30 hashrate meter based on valid share generation
- Change default max queue back to 1 in line with speed of most current asic
controllers
- Change diff limits to values suitable for sp30
- Add pool number to response from addpool to the API
- Make the restart and quit API commands valid json responses
- Fix number of nos
- Add option to set clock ('--bet-clk X' actual clock is (X+1)*10 )
- compatible with X24 board
- Fix error when using v6 without mask in api-allow
- Support ipv6 multicast
- Set min_diff to 1
- Allow arbitrary clamping of lower device diffs for slow controllers by driver
- Don't set default fan to max on hashratio
- The 2nd read never gets anything on ava2 so remove it entirely and just return
an error if we are out of sync
- Implement support for mining.suggest_difficulty
- Fix client ip address output
- Free addrinfo garbage
- Remove the brackets when using v6 pool address
- Add ipv6 support for api listen
- Avalon Nano: Add support Avalon Nano usb miner
- fix bug in setdiff
- limit minimum diff to 64
- Add BlockErupter Driver
- Avalon2: display currect max temperature on statline
- Remove unused variable

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Buchi-88
Legendary
*
Offline Offline

Activity: 4214
Merit: 3014


Top-tier crypto casino and sportsbook


View Profile
October 14, 2014, 06:15:47 PM
 #15523

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

██████▄██▄███████████▄█▄
█████▄█████▄████▄▄▄█
███████████████████
████▐███████████████████
███████████▀▀▄▄▄▄███████
██▄███████▄▀███▀█▀▀█▄▄▄█
▀██████████▄█████▄▄█████▀██
██████████▄████▀██▄▀▀▀█████▄
█████████████▐█▄▀▄███▀██▄
███████▄▄▄███▌▌█▄▀▀███████▄
▀▀▀███████████▌██▀▀▀▀▀█▄▄▄████▀
███████▀▀██████▄▄██▄▄▄▄███▀▀
████████████▀▀▀██████████
 BETFURY ....█████████████
███████████████
███████████████
██▀▀▀▀█▀▀▄░▄███
█▄░░░░░██▌▐████
█████▌▐██▌▐████
███▀▀░▀█▀░░▀███
██░▄▀░█░▄▀░░░██
██░░░░█░░░░░░██
███▄░░▄█▄░░▄███
███████████████
███████████████
░░█████████████
█████████████
███████████████
███████████████
██▀▄▄▄▄▄▄▄▄████
██░█▀░░░░░░░▀██
██░█░▀░▄░▄░░░██
██░█░░█████░░██
██░█░░▀███▀░░██
██░█░░░░▀░░▄░██
████▄░░░░░░░▄██
███████████████
███████████████
░░█████████████
ManeBjorn
Legendary
*
Offline Offline

Activity: 1288
Merit: 1004



View Profile
October 15, 2014, 07:19:35 AM
Last edit: October 15, 2014, 07:25:23 AM by ckolivas
 #15524

Do we use the zadig drivers for the Avalon Nanos or is there a different driver?
These things are buggy that is for sure.

- Support for the avalon nano usb stick

kano
Legendary
*
Offline Offline

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
October 15, 2014, 01:54:43 PM
 #15525

Do we use the zadig drivers for the Avalon Nanos or is there a different driver?
These things are buggy that is for sure.

- Support for the avalon nano usb stick
All cgminer USB on windows uses zadig - same driver config for everything.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
tjwebb
Newbie
*
Offline Offline

Activity: 16
Merit: 1


View Profile
October 16, 2014, 07:56:22 AM
 #15526

Crazy unicode character showing up in cgminer "stats()" response: https://github.com/hashware/node-cgminer-api/issues/10#issuecomment-59324280

Maybe its a Antminer thing, but cgminer shouldn't let invalid JSON be returned.
tjwebb
Newbie
*
Offline Offline

Activity: 16
Merit: 1


View Profile
October 16, 2014, 08:02:36 AM
 #15527

Perhaps you're trying to read them as integers? (They're doubles).

0.0000 is not valid JSON at all, for anything. It should just read 0.0.

My workaround is here, so you can see: https://github.com/hashware/node-cgminer-api/blob/master/lib/client.js#L105. I have to manually replace "nan" with 0, otherwise JSON.parse() fails.
spiceminer15
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
October 16, 2014, 11:05:23 PM
 #15528

anyone have any idea with w_allow low level detected  errors specifically with btcgarden am-v1
spiceminer15
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
October 17, 2014, 06:10:33 AM
 #15529

anything special I need to do to compile cgminer to work with btcgarden asics?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4494
Merit: 1665


Ruu \o/


View Profile WWW
October 17, 2014, 11:53:58 PM
 #15530

anything special I need to do to compile cgminer to work with btcgarden asics?
We don't have any specific code for that hardware so I'm guessing only an unofficial cgminer fork supports them so you'll have to seek help from whoever maintains that fork.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
spiceminer15
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
October 18, 2014, 12:06:38 AM
 #15531

damn. thanks for the info
nwoolls
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
October 21, 2014, 05:56:11 PM
 #15532

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.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
Buchi-88
Legendary
*
Offline Offline

Activity: 4214
Merit: 3014


Top-tier crypto casino and sportsbook


View Profile
October 22, 2014, 05:58:41 AM
 #15533

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

██████▄██▄███████████▄█▄
█████▄█████▄████▄▄▄█
███████████████████
████▐███████████████████
███████████▀▀▄▄▄▄███████
██▄███████▄▀███▀█▀▀█▄▄▄█
▀██████████▄█████▄▄█████▀██
██████████▄████▀██▄▀▀▀█████▄
█████████████▐█▄▀▄███▀██▄
███████▄▄▄███▌▌█▄▀▀███████▄
▀▀▀███████████▌██▀▀▀▀▀█▄▄▄████▀
███████▀▀██████▄▄██▄▄▄▄███▀▀
████████████▀▀▀██████████
 BETFURY ....█████████████
███████████████
███████████████
██▀▀▀▀█▀▀▄░▄███
█▄░░░░░██▌▐████
█████▌▐██▌▐████
███▀▀░▀█▀░░▀███
██░▄▀░█░▄▀░░░██
██░░░░█░░░░░░██
███▄░░▄█▄░░▄███
███████████████
███████████████
░░█████████████
█████████████
███████████████
███████████████
██▀▄▄▄▄▄▄▄▄████
██░█▀░░░░░░░▀██
██░█░▀░▄░▄░░░██
██░█░░█████░░██
██░█░░▀███▀░░██
██░█░░░░▀░░▄░██
████▄░░░░░░░▄██
███████████████
███████████████
░░█████████████
sdjernes
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
October 22, 2014, 10:59:57 PM
 #15534

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.

bitsolutions
Sr. Member
****
Offline Offline

Activity: 261
Merit: 257



View Profile
October 22, 2014, 11:00:54 PM
 #15535

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.

Mining Software Developer.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4494
Merit: 1665


Ruu \o/


View Profile WWW
October 23, 2014, 05:35:33 AM
 #15536

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 Offline

Activity: 49
Merit: 0


View Profile
October 23, 2014, 03:52:26 PM
 #15537

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 Offline

Activity: 49
Merit: 0


View Profile
October 27, 2014, 02:57:31 AM
 #15538

[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 Offline

Activity: 49
Merit: 0


View Profile
October 27, 2014, 02:31:26 PM
 #15539

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
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


HiveNet - Distributed Cloud Computing


View Profile
October 27, 2014, 02:37:53 PM
 #15540

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.




           ▄███▄    ▄▄▄▄▄
          ███████  ███████
          ███████ █████████
           ▀███▀  ▀███████▀
  ▄███▄            ▀█████▀
 ███████  ▄███▄    ▄▄▄▄▄
 ███████ ███████  ▄█████▄     ▄▄▄▄▄▄
  ▀███▀  ███████ █████████  ▄████████▄
          ▀███▀  █████████ ▄██████████▄
 ▄███▄            ▀█████▀  ▀██████████▀
███████  ▄███▄     ▀▀▀▀▀    ▀████████▀
███████ ███████   █████       ▀▀▀▀▀▀
 ▀███▀  ███████ ▄███████▄   ▄▄▄▄▄▄
         ▀███▀  █████████  ████████▄
                ▀███████▀ ██████████▄
       ▄█████▄    █████   ███████████
      ▄███████▄  ▄▄▄▄▄     █████████
      ▀███████▀ ▄█████▄     ▀█████▀
       ▀█████▀ █████████
               ▀███████▀
                ▀█████▀
 
HiveNet
 

       ███████████████████
      █████████████████████
     ███████████████████████
    ██████         ▀█████████
   ███████  █████▄   ▀████████
  ████████  ███████▄   ████████
 █████████  █████████  █████████
██████████  █████████  ██████████
 █████████  █    ████  █████████
  ████████  █████████  ████████
   ███████  █       █  ███████
    ██████  █████████  ██████
     █████             █████
      █████████████████████
       ███████████████████
        █████████████████
 

       ███████████████████
      █████████████████████
     ███████████████████████
    ████████████████▀  ██████
   ██████████████▀       █████
  ███████████▀       ██▌ ██████
 ████▀  ▀█          ████▌ ██████
████                ████▌ ███████
 ███                ████▌ ██████
  ███▄  ▄█          ████▌ █████
   ████████   █      ██▌ █████
    ███████  ████▄      █████
     ██████  ███████▄  █████
      █████████████████████
       ███████████████████
        █████████████████
|
|
Pages: « 1 ... 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 [777] 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!