zefir
Donator
Hero Member

Activity: 919
Merit: 1000
|
 |
February 21, 2014, 10:36:16 AM |
|
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
|
 |
February 21, 2014, 03:13:40 PM |
|
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
|
|
|
|
|
|
roy7
|
 |
February 22, 2014, 01:25:01 AM |
|
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.)
|
|
|
|
|
rekweam
Newbie

Activity: 37
Merit: 0
|
 |
February 22, 2014, 07:34:39 AM |
|
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. 89Segmentation fault: 11 logout
[Process completed]
any ideas?
|
|
|
|
|
-ck (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 22, 2014, 08:32:25 AM |
|
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?
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
vulgartrendkill
|
 |
February 22, 2014, 10:12:08 AM |
|
Hi guys, Loving 4.0 my drillbits are a lot more stable  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
|
 |
February 22, 2014, 10:42:46 AM |
|
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 .
|
|
|
|
|
|
capa
|
 |
February 22, 2014, 10:52:10 AM |
|
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 
|
|
|
|
|
PSL
Member


Activity: 166
Merit: 10
|
 |
February 22, 2014, 02:59:46 PM |
|
I think that cgminer 4.0 tries to restarted fallen USB device (AntMinerU1) too fast (and it doesn't work): [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

Activity: 6020
Merit: 16030
|
 |
February 22, 2014, 03:33:28 PM |
|
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

Activity: 5
Merit: 0
|
 |
February 22, 2014, 04:07:00 PM |
|
i run cgminer 4.0 with antminer U1 and run very well and stable to overclock 250 ----------------------------------------------------------------------------------------- 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 (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 22, 2014, 09:40:38 PM |
|
I think that cgminer 4.0 tries to restarted fallen USB device (AntMinerU1) too fast (and it doesn't work): [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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
-ck (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 22, 2014, 09:42:05 PM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
-ck (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 23, 2014, 09:00:52 AM |
|
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#msg4869039Some 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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Luke-Jr
Legendary

Activity: 2604
Merit: 1201
|
 |
February 23, 2014, 09:05:45 AM |
|
Disclaimer: Con's rewriting history there.
|
|
|
|
-ck (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 23, 2014, 09:08:13 AM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Luke-Jr
Legendary

Activity: 2604
Merit: 1201
|
 |
February 23, 2014, 10:00:10 AM |
|
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 (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 23, 2014, 10:04:56 AM |
|
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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
DoogieHouser
Full Member
 

Activity: 133
Merit: 100
Bitcoin Enthusiast
|
 |
February 23, 2014, 10:23:28 AM |
|
If you're on a modern ubuntu, I provide binaries for it already. wget http://ck.kolivas.org/apps/cgminer/cgminer-3.12.3-x86_64-built.tar.bz2 tar xf cgminer-3.12.3-x86_64-built.tar.bz2 cd cgminer-3.12.3-x86_64 sudo cp 01-cgminer.rules /etc/udev/rules.d/ ./cgminer [commands]
plug in device via usb Output on Ubuntu 12.04 LTS: ./cgminer: 1: ./cgminer: ELF: not found ./cgminer: 2: ./cgminer: Syntax error: "(" unexpected
I'm not sure what this is telling me...
|
--Doogie
|
|
|
-ck (OP)
Legendary

Activity: 4844
Merit: 1744
Ruu \o/
|
 |
February 23, 2014, 10:25:13 AM |
|
If you're on a modern ubuntu, I provide binaries for it already. wget http://ck.kolivas.org/apps/cgminer/cgminer-3.12.3-x86_64-built.tar.bz2 tar xf cgminer-3.12.3-x86_64-built.tar.bz2 cd cgminer-3.12.3-x86_64 sudo cp 01-cgminer.rules /etc/udev/rules.d/ ./cgminer [commands]
plug in device via usb Output on Ubuntu 12.04 LTS: ./cgminer: 1: ./cgminer: ELF: not found ./cgminer: 2: ./cgminer: Syntax error: "(" unexpected
I'm not sure what this is telling me... The binaries are for a 64 bit ubuntu version 13.10 which you don't seem to have meaning you will have to compile it for yourself.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|