Bitcoin Forum
December 10, 2016, 08:49:45 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4827149 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.
zefir
Donator
Hero Member
*
Offline Offline

Activity: 917



View Profile
February 21, 2014, 10:09:07 AM
 #14541

Builds and runs fine on Mac, but I get the following during make when I include --enable-bitmine_A1:

That's my fault, since I did not figure out how to disable a driver for a specific OS. As Con already stated, this one is meant for an embedded system with SPI interface (e.g. RasPi) and does not make sense to be build for a desktop OS.

I'll dig deeper into the automake magic to find a clean way to add OS dependency for that driver (if possible at all).

1481402985
Hero Member
*
Offline Offline

Posts: 1481402985

View Profile Personal Message (Offline)

Ignore
1481402985
Reply with quote  #2

1481402985
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481402985
Hero Member
*
Offline Offline

Posts: 1481402985

View Profile Personal Message (Offline)

Ignore
1481402985
Reply with quote  #2

1481402985
Report to moderator
1481402985
Hero Member
*
Offline Offline

Posts: 1481402985

View Profile Personal Message (Offline)

Ignore
1481402985
Reply with quote  #2

1481402985
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
February 21, 2014, 10:14:07 AM
 #14542

Builds and runs fine on Mac, but I get the following during make when I include --enable-bitmine_A1:

That's my fault, since I did not figure out how to disable a driver for a specific OS. As Con already stated, this one is meant for an embedded system with SPI interface (e.g. RasPi) and does not make sense to be build for a desktop OS.

I'll dig deeper into the automake magic to find a clean way to add OS dependency for that driver (if possible at all).
See what I did with driver-bab.c ......

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
zefir
Donator
Hero Member
*
Offline Offline

Activity: 917



View Profile
February 21, 2014, 10:36:16 AM
 #14543

Builds and runs fine on Mac, but I get the following during make when I include --enable-bitmine_A1:

That's my fault, since I did not figure out how to disable a driver for a specific OS. As Con already stated, this one is meant for an embedded system with SPI interface (e.g. RasPi) and does not make sense to be build for a desktop OS.

I'll dig deeper into the automake magic to find a clean way to add OS dependency for that driver (if possible at all).
See what I did with driver-bab.c ......

Ok, will do. Thanks for the hint.

capa
Full Member
***
Offline Offline

Activity: 138


Vires in numeris


View Profile WWW
February 21, 2014, 03:13:40 PM
 #14544

hi, I'm trying to compile cgminer 4 with avalon2U enabled
./autogen.sh

runs fine

./configure --enable-avalon2

runs fine result;

------------------------------------------------------------------------
cgminer 4.0.0
------------------------------------------------------------------------


Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl 
  curses.TUI...........: FOUND: -lncurses

  Avalon.ASICs.........: Disabled
  Avalon2.ASICs........: Enabled
  BlackArrowMinion.ASIC: Disabled
  BlackArrow.ASICs.....: Disabled
  BFL.ASICs............: Disabled
  BitForce.FPGAs.......: Disabled
  BitFury.ASICs........: Disabled
  Cointerra.ASICs......: Disabled
  Bitmine-A1.ASICs.....: Disabled
  Drillbit.BitFury.....: Disabled
  Hashfast.ASICs.......: Disabled
  Icarus.ASICs/FPGAs...: Disabled
  Klondike.ASICs.......: Disabled
  KnC.ASICs............: Disabled
  ModMiner.FPGAs.......: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   compat/jansson-2.5/src/.libs/libjansson.a -lpthread    -lm  -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local





make results in;

driver-avalon2.c: In function ‘avalon2_api_stats’:
driver-avalon2.c:739:3: warning: passing argument 3 of ‘api_add_string’ from incompatible pointer type [enabled by default]
miner.h:1462:25: note: expected ‘char *’ but argument is of type ‘char (*)[16]’
driver-avalon2.c: At top level:
driver-avalon2.c:794:2: warning: initialization from incompatible pointer type [enabled by default]
driver-avalon2.c:794:2: warning: (near initialization for ‘avalon2_drv.drv_detect’) [enabled by default]
  CC     cgminer-crc16.o
  CCLD   cgminer


any ideas? thanks

It will be a better world. You are welcome there, but you are not in charge. No one is. That’s the point.

19GEabzHFGtRksRgRzgcx6M1benfPdrCSo
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 22, 2014, 01:25:01 AM
 #14545

edit 3
Something tells me cgminer hates coinex's switchpool. I took a pic and first I saw btcguild found a block then coinex kept looking for a block till I got a no error and then no device error for my drillbit thumb. I hope that doesn't mean bad things for my drillbit thumb.

I find that on coinex's switchpool, when the coin changes it will crash my antminer blades, in fact. system log shows the asic going down and then being re-discovered. It didn't occur to me maybe it was cgminer related, but you have a similar problem on a different device apparently?

My ant runs 3.8.5-1, but I think a newer update is available I could try. (Antminer image that is.)

RoyalMiningCo: Pools retired. Was fun!
rekweam
Jr. Member
*
Offline Offline

Activity: 37


View Profile
February 22, 2014, 07:34:39 AM
 #14546

Not sure what has happened, I just rebooted my computer and now when i start cgminer i no longer get the option to put in the server address or username and password and i get a weird error.

Code:
89Segmentation fault: 11
logout

[Process completed]

any ideas?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 22, 2014, 08:32:25 AM
 #14547

hi, I'm trying to compile cgminer 4 with avalon2U enabled

make results in;

driver-avalon2.c: In function ‘avalon2_api_stats’:
driver-avalon2.c:739:3: warning: passing argument 3 of ‘api_add_string’ from incompatible pointer type [enabled by default]
miner.h:1462:25: note: expected ‘char *’ but argument is of type ‘char (*)[16]’
driver-avalon2.c: At top level:
driver-avalon2.c:794:2: warning: initialization from incompatible pointer type [enabled by default]
driver-avalon2.c:794:2: warning: (near initialization for ‘avalon2_drv.drv_detect’) [enabled by default]
  CC     cgminer-crc16.o
  CCLD   cgminer


any ideas? thanks
Development code is developmental. Warnings are mostly harmless and will be fixed in time. Why are you compiling it? Do you have the hardware?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
vulgartrendkill
Hero Member
*****
Offline Offline

Activity: 518



View Profile WWW
February 22, 2014, 10:12:08 AM
 #14548

Hi guys,

Loving 4.0 my drillbits are a lot more stable Smiley

I`ve recently started mining at coinex.pw on stratum.coinex.pw:9944

Cgminer does seem to like it and lists it as Dead all the time, whereas the other software i use is happily hashing away on the same pool.  Any ideas?

Thanks
capa
Full Member
***
Offline Offline

Activity: 138


Vires in numeris


View Profile WWW
February 22, 2014, 10:42:46 AM
 #14549

hi, I'm trying to compile cgminer 4 with avalon2U enabled

make results in;

driver-avalon2.c: In function ‘avalon2_api_stats’:
driver-avalon2.c:739:3: warning: passing argument 3 of ‘api_add_string’ from incompatible pointer type [enabled by default]
miner.h:1462:25: note: expected ‘char *’ but argument is of type ‘char (*)[16]’
driver-avalon2.c: At top level:
driver-avalon2.c:794:2: warning: initialization from incompatible pointer type [enabled by default]
driver-avalon2.c:794:2: warning: (near initialization for ‘avalon2_drv.drv_detect’) [enabled by default]
  CC     cgminer-crc16.o
  CCLD   cgminer


any ideas? thanks
Development code is developmental. Warnings are mostly harmless and will be fixed in time. Why are you compiling it? Do you have the hardware?
ya, I have one 100gh USB 2U unit i'm trying to run it off a beagle bone black that i used to mine a BFL jalapeno with .

It will be a better world. You are welcome there, but you are not in charge. No one is. That’s the point.

19GEabzHFGtRksRgRzgcx6M1benfPdrCSo
capa
Full Member
***
Offline Offline

Activity: 138


Vires in numeris


View Profile WWW
February 22, 2014, 10:52:10 AM
 #14550

hi, I'm trying to compile cgminer 4 with avalon2U enabled

make results in;

driver-avalon2.c: In function ‘avalon2_api_stats’:
driver-avalon2.c:739:3: warning: passing argument 3 of ‘api_add_string’ from incompatible pointer type [enabled by default]
miner.h:1462:25: note: expected ‘char *’ but argument is of type ‘char (*)[16]’
driver-avalon2.c: At top level:
driver-avalon2.c:794:2: warning: initialization from incompatible pointer type [enabled by default]
driver-avalon2.c:794:2: warning: (near initialization for ‘avalon2_drv.drv_detect’) [enabled by default]
  CC     cgminer-crc16.o
  CCLD   cgminer


any ideas? thanks
Development code is developmental. Warnings are mostly harmless and will be fixed in time. Why are you compiling it? Do you have the hardware?
ya, I have one 100gh USB 2U unit i'm trying to run it off a beagle bone black that i used to mine a BFL jalapeno with .
Also i wouldn't care but the most i can get out of cgminer is;
 [2014-02-22 10:45:57] Global quota greatest common denominator set to 1

before it dies Sad

It will be a better world. You are welcome there, but you are not in charge. No one is. That’s the point.

19GEabzHFGtRksRgRzgcx6M1benfPdrCSo
PSL
Member
**
Offline Offline

Activity: 113


View Profile
February 22, 2014, 02:59:46 PM
 #14551

I think that cgminer 4.0 tries to restarted fallen USB device (AntMinerU1) too fast (and it doesn't work):
Code:
[2014-02-22 15:55:01] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:01] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:03] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:03] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:05] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:05] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:07] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:08] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:10] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:10] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:12] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:12] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
February 22, 2014, 03:33:28 PM
 #14552

Mod note: Topic converted to self-moderated. This is a special case -- I don't normally do this. Posts before this point must not be deleted.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Takel
Newbie
*
Offline Offline

Activity: 5


View Profile
February 22, 2014, 04:07:00 PM
 #14553

i run cgminer 4.0 with antminer U1 and run very well
and stable to overclock 250

Code:
-----------------------------------------------------------------------------------------
 cgminer version 4.0.0 - Started: [2014-02-21 23:53:17]
-----------------------------------------------------------------------------------------
 (5s):7.926G (avg):8.002Gh/s | A:114310  R:560  HW:963  WU:110.9/m
 
[U]SB device management [P]ool management [S]ettings [D]isplay options [Q]uit
 000: ANU 0:                         | 1.990G/1.999Gh/s | A:28444 R:112 HW:229 WU: 27.7/m
 001: ANU 1:                         | 1.991G/2.000Gh/s | A:28613 R:160 HW:250 WU: 27.7/m
 002: ANU 2:                         | 1.995G/2.000Gh/s | A:28427 R:112 HW:246 WU: 27.6/m
 003: ANU 3:                         | 2.025G/2.001Gh/s | A:29180 R:176 HW:248 WU: 27.8/m

[2014-02-22 16:54:45] Accepted 04d47b4b Diff 53/16 ANU 2 pool 5
 [2014-02-22 16:55:11] Accepted 055566db Diff 48/16 ANU 2 pool 5
 [2014-02-22 16:55:30] Accepted 06ec1384 Diff 37/16 ANU 0 pool 5
 [2014-02-22 16:55:42] Accepted 0d716ac0 Diff 19/16 ANU 2 pool 5
 [2014-02-22 16:55:45] Accepted 1085bf01 Diff 3.97K/16 ANU 3 pool 5
 [2014-02-22 16:55:47] Accepted 0b347665 Diff 23/16 ANU 0 pool 5
 [2014-02-22 16:55:51] Accepted 06371f12 Diff 41/16 ANU 2 pool 5
 [2014-02-22 16:55:59] Accepted 04724162 Diff 58/16 ANU 1 pool 5
 [2014-02-22 16:56:03] Accepted 0b30c188 Diff 23/16 ANU 1 pool 5
 [2014-02-22 16:56:16] Accepted 0b215312 Diff 23/16 ANU 2 pool 5
 [2014-02-22 16:56:33] Accepted 067685cd Diff 40/16 ANU 3 pool 5
 [2014-02-22 16:56:43] Accepted 0c3f4ba8 Diff 21/16 ANU 1 pool 5
 [2014-02-22 16:56:58] Accepted 094b3f39 Diff 28/16 ANU 0 pool 5

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 22, 2014, 09:40:38 PM
 #14554

I think that cgminer 4.0 tries to restarted fallen USB device (AntMinerU1) too fast (and it doesn't work):
Code:
[2014-02-22 15:55:01] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:01] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:03] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:03] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:05] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:05] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:07] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:08] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:10] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:10] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-02-22 15:55:12] ANU 3: No valid hashes for over 53 secs, attempting to reset
[2014-02-22 15:55:12] ANU 3 attempted reset got err:(0) LIBUSB_SUCCESS
Yes it seems to get into a loop doesn't it. I've seen that too and it ends up recovering. Will investigate further.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 22, 2014, 09:42:05 PM
 #14555

Mod note: Topic converted to self-moderated. This is a special case -- I don't normally do this. Posts before this point must not be deleted.
Much appreciated, thank you. This way the original post thread with all its information and legacy can remain intact as well as sorting out trolling issues.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 23, 2014, 09:00:52 AM
 #14556

Mod note: Topic converted to self-moderated. This is a special case -- I don't normally do this. Posts before this point must not be deleted.
Much appreciated, thank you. This way the original post thread with all its information and legacy can remain intact as well as sorting out trolling issues.

Trolling issues?
You can see an example with some of the discussion from here onwards:
https://bitcointalk.org/index.php?topic=28402.msg4869039#msg4869039
Some posts were deleted, but basically, when I don't support people's own agendas, they suddenly turn on me because they can't accept that I don't care about what they care about (basically all altcoin support).

This thread also has a long history of being trolled by Luke-Jr and his minions since he decided to create a hostile fork of cgminer and then claim that through some bizarre illogical reasoning that cgminer was the fork due to him contributing some code to cgminer. He then aggressively modified wiki posts saying cgminer was deprecated and then posted on various linux distribution threads that cgminer was the fork and so on... He's since proceeded to pull much of my code into his hostile fork and continued to claim that cgminer is the fork, even though virtually no code in cgminer comes from his fork, but thousands of lines of code from cgminer has been - and is continued to be - pulled into his fork.

Part of the reason he forked it was that I reverted some of his code because it was buggy and broken, but more importantly, I originally planned to abandon cgminer when FPGAs were taking over, because they made no sense over GPUs - and he assumed he'd become the maintainer for cgminer - but then ASICs hit and I changed my mind and continued to develop cgminer around ASICs and that's when he decided to create his hostile fork.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Luke-Jr
Legendary
*
Offline Offline

Activity: 2100



View Profile
February 23, 2014, 09:05:45 AM
 #14557

Disclaimer: Con's rewriting history there.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 23, 2014, 09:08:13 AM
 #14558

Disclaimer: Con's rewriting history there.
See it's not worth deleting this post because it's a beautiful example of how someone who I can - as a qualified medical practitioner - diagnose as having a personality disorder, feels obliged to post the same nonsense.

EDIT:
The git history does not lie.

The forum thread history does not lie.

P.S. You are not welcome on this thread and if you keep posting I will report you.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Luke-Jr
Legendary
*
Offline Offline

Activity: 2100



View Profile
February 23, 2014, 10:00:10 AM
 #14559

P.S. You are not welcome on this thread and if you keep posting I will report you.
I will keep posting as long as you keep lying.
Learn to be honest, and it won't be necessary.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
February 23, 2014, 10:04:56 AM
 #14560

P.S. You are not welcome on this thread and if you keep posting I will report you.
I will keep posting as long as you keep lying.
Learn to be honest, and it won't be necessary.
Point out a single lie with evidence instead of posting your arbitrary wild delusions.

I should know better than to engage someone with a personality disorder. These posts have been saved for posterity to show what a nutjob you are but basically anything else by you will be deleted.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 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 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!