Bitcoin Forum
July 17, 2018, 12:38:54 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 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 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5756843 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.
dexX7
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile WWW
June 19, 2014, 08:56:07 AM
 #15201

Say I wanted to make sure I don't contribute to malicious pool activity, namely an attempt of the pool operator to withhold blocks for whatever reason, and I do so by verifying that once I found a block, the block is indeed broadcasted by the operator within a short timeframe, or otherwise, if this is not the case, I switch to another pool. It's easy to use a local or an external node to watch for the appeance of new blocks, but I was wondering what would be the best way to get the information about new blocks out of CGMiner? I could redirect the debug output and identify "found block" statements and then use the RPC-API to switch pools, but is this the best way?

1531787934
Hero Member
*
Offline Offline

Posts: 1531787934

View Profile Personal Message (Offline)

Ignore
1531787934
Reply with quote  #2

1531787934
Report to moderator
1531787934
Hero Member
*
Offline Offline

Posts: 1531787934

View Profile Personal Message (Offline)

Ignore
1531787934
Reply with quote  #2

1531787934
Report to moderator
1531787934
Hero Member
*
Offline Offline

Posts: 1531787934

View Profile Personal Message (Offline)

Ignore
1531787934
Reply with quote  #2

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

Posts: 1531787934

View Profile Personal Message (Offline)

Ignore
1531787934
Reply with quote  #2

1531787934
Report to moderator
Ankhy
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 19, 2014, 11:15:19 AM
 #15202

I've compiled the newest cgminer 4.4.0 with following Options on a Raspian PI Debian Wheezy:
Code:
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/cgminer-4.4.0.tar.bz2
tar xvf cgminer-4.4.0.tar.bz2
cd cgminer-4.4.0
./configure --enable-icarus
make

Done several times before with previous cgminer Versions, but with this Version I'm not able to mining. Cgminer declares that no USB Devices has been found, when I started it with following Option:
Code:
sudo ./cgminer -o stratum+tcp://stratum.examplepool:port -u xyz -p zyx --anu-freq 250


But if I'm using a previous Version of Cgminer all U1 / U2 Ants were be found, so I think that there is something going wrong with cgminer 4.4.0 ?
I wonder if it's related to the rbox code going into the icarus driver. It doesn't seem to interfere on PC linux or windows, so I'm not sure why the pi would be different but anything's possible. Does it work with 4.3.5?

With CGMiner 4.3.5 it works fine, but 4.4.0 won't find any U1 / U2 Ants
canford
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile WWW
June 19, 2014, 06:41:32 PM
 #15203

I've compiled the newest cgminer 4.4.0 with following Options on a Raspian PI Debian Wheezy:
Code:
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/cgminer-4.4.0.tar.bz2
tar xvf cgminer-4.4.0.tar.bz2
cd cgminer-4.4.0
./configure --enable-icarus
make

Done several times before with previous cgminer Versions, but with this Version I'm not able to mining. Cgminer declares that no USB Devices has been found, when I started it with following Option:
Code:
sudo ./cgminer -o stratum+tcp://stratum.examplepool:port -u xyz -p zyx --anu-freq 250


But if I'm using a previous Version of Cgminer all U1 / U2 Ants were be found, so I think that there is something going wrong with cgminer 4.4.0 ?
I wonder if it's related to the rbox code going into the icarus driver. It doesn't seem to interfere on PC linux or windows, so I'm not sure why the pi would be different but anything's possible. Does it work with 4.3.5?

With CGMiner 4.3.5 it works fine, but 4.4.0 won't find any U1 / U2 Ants

Have same issue with 4.4.0 not seeing my 12 AntMiner U2s, reverted to 4.3.5 for now.

Пользуйтесь бесплатно и пишите что вам нужно улучшить:trd.ai
Видео, как пользоваться проектом:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
techman05
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile WWW
June 19, 2014, 07:05:14 PM
 #15204

4.4 sees mine but they crap out and disappear off of cgminer and not even shown as zombies at that point and don't come back till I physically remove and plug back in.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
xjack
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500



View Profile
June 19, 2014, 11:13:35 PM
 #15205

Also confirmed here.  4.4.0 and U1's zombied, errored, etc until eventual cgminer crash.

Reverted to 4.3.5 for that worker - flawless.

xjack - 1xjackDMgJCLn1LDtbgh51DYw6uRgeHVb
Reputation thread - https://bitcointalk.org/index.php?topic=482124.0
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2576
Merit: 1110


Ruu \o/


View Profile WWW
June 20, 2014, 02:17:24 AM
 #15206

What operating system are you guys on that are having trouble with U1s and 4.4.0?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
canford
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile WWW
June 20, 2014, 02:53:53 AM
 #15207

What operating system are you guys on that are having trouble with U1s and 4.4.0?

Windows 7 (32 bit).  With 4.3.5 I get pretty reliable operation, though I wrote a script to force a reboot once per day.  About 50% of days CGWatcher will trigger more reboots as units drop out or go Zombie, but today, for instance, it has been up for the past 12 hours no problem.  4.4.0 is instant no-go.  Really appreciate your great work on cgminer, it sounds like Windows USB is just a royal pain, but I haven't dealt with the switchover to linux, it's a laptop so driver pain.

Пользуйтесь бесплатно и пишите что вам нужно улучшить:trd.ai
Видео, как пользоваться проектом:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
xjack
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500



View Profile
June 20, 2014, 03:49:08 AM
 #15208

What operating system are you guys on that are having trouble with U1s and 4.4.0?

13.10 Saucy x86 - randomly zombie out and replug until cgminer crashes.  

Normally I wouldn't have upped unless a device change came, but I was upgrading from 12.04 and compiled fresh git before seeing the above posts about problems.  As soon as 4.3.5 was built, back to normal.

xjack - 1xjackDMgJCLn1LDtbgh51DYw6uRgeHVb
Reputation thread - https://bitcointalk.org/index.php?topic=482124.0
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2576
Merit: 1110


Ruu \o/


View Profile WWW
June 20, 2014, 10:24:09 AM
 #15209

Bum

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Buchi-88
Legendary
*
Offline Offline

Activity: 1666
Merit: 1026


ImmVRse | Disrupting the VR industry


View Profile
June 20, 2014, 04:56:21 PM
 #15210

Good day,

i have an existing problem with my configuration:

8 x Antminer U2 +
8 x BFx2 Bitfury

as soon as I both operate (. / configure - enable-bitfury - enable-icarus) remains Cgminer hang over again, and "watchdog" restarts the Raspberry new!

Once I only BFx2 Bitfury (. / Configure - enable-bitfury) used, runs the Cgminer 24/7.
Code:
0: BXM 0       :                         | 3.810G / 3.751Gh/s WU:52.9/m
 1: BXM 1       :                         | 2.394G / 3.187Gh/s WU:44.6/m
 2: BXM 2       :                         | 3.136G / 3.167Gh/s WU:44.6/m
 3: BXM 3       :                         | 2.990G / 3.006Gh/s WU:42.1/m
 4: BXM 4       :                         | 3.767G / 3.819Gh/s WU:53.7/m
 5: BXM 5       :                         | 3.894G / 3.919Gh/s WU:55.0/m
 6: BXM 6       :                         | 3.952G / 3.932Gh/s WU:55.5/m
 7: BXM 7       :                         | 3.804G / 3.867Gh/s WU:54.4/m
--------------------------------------------------------------------------------
 [2014-06-12 23:19:41] Zero length string passed to valid_hex from in util.c ini
tiate_stratum():2609
 [2014-06-12 23:19:41] Zero length string passed to valid_hex from in util.c ini
tiate_stratum():2609


Exactly the same is in the use of Antminer (. / Configure - enable-icarus)?

The problem is only with the simultaneous use, is it possibly there is a compatibility issue between the two drivers?

I had raised the issue before, but still wanted to thoroughly test!

On the Pi is the newest Kernel installed.

regards


Hello,

So after several tests I have to correct my results, the Bitfury driver is working perfect, instabilities with trailers from Cgminer (Pi hangs and the watchdog restarts), problems only with the Antminer U2+!?

Is it possible that the new Antminer Design V1.2 + U2 (Icarus Driver) is to blame with increased voltage?

The Antminer U2 + just is not stable, tested with 4.2.x, 4.3.x and 4.4.0??

regards

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





████          ████  ███████████▄▄                                 
▀███▄        ▄███▀  █████████████▄                               
██    ▄███▄     ▄███▄      ▄███▄     ▄███▄   ████        ████            ▀████    ▄██████████▄     ▄██████████
██    ██ ██     ██ ██      ██ ██     ██ ██    ████      ████             ▄████   ██▀        ▀██   ██▀         
██   ██   ██   ██   ██    ██   ██   ██   ██   ▀███▄    ▄███▀    █████████████▀   ▀██▄▄▄▄▄▄▄▄▄    ███▄▄▄▄▄▄▄▄▄
██   ██   ██   ██   ██    ██   ██   ██   ██    ████    ████     ███████████▀▀      ▀▀▀▀▀▀▀▀▀██▄  ███▀▀▀▀▀▀▀▀▀
██  ██     ██ ██     ██  ██     ██ ██     ██    ████  ████      ████   ████      ██▄        ▄██   ██▄         
██  ██     ▀███▀     ██  ██     ▀███▀     ██    ▀███▄▄███▀      ████    ████      ▀██████████▀     ▀██████████
████████       ████     ████                                 
██████        ████      ████                                 
 
   
 
WHITEPAPER    ▀▀▀▀▀▀▀▀▀▀▀
APPLY FOR CROWDSALE
▀▀▀▀▀▀▀▀▀▀▀    BITCOINTALK
 


















 
Proud Sponsor of
Blockchain 360 at
London Tech Week
  ◢  FACEBOOK
◢  TWITTER
◢  TELEGRAM
◢  MEDIUM
Davefox
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 20, 2014, 07:09:42 PM
 #15211

I cant even find the basic commands to view usb device lists to see if its now visable.

The "-n" argument displays all usb devices available and exits.  It is in the readme.

something im doing wrong since worked on verison i used before, on the lastest install from sources on front page of this thread it didnt work.

Fresh start today on a fresh install now ive got a clear head.

Any advice some anyone please??

I have got cgminer 4.3.5 or 4.4.0 installed on another sd card. When i have cgminer running it says it can see the device as a serial usb connection since the miner is an avalon2 but it wont enable? Have i missed a command? i did compile with --enable-avalon2.

Sorry to ask so many questions Raspberry PI and cgminer are new to me and trying to learn.

*EDIT if i use sudo ./cgminer -n it details usb device.

When running cgminer it says 0 usb devices perharps i have not enabled the right option? but i have used avalon2 and its the single blade style 100ghs

You can do the old, ls /dev/ttyUSB* and start cgminer with ./cgminer -S /dev/ttyUSB0 --avalon2-voltage 10000 --avalon2-freq 1500 --avalon2-fan 90 -o YOUR_POOL:PORT
I'm not sure what the problem is with your avalon2 but one thing I am sure of is there is  no -S command in the mainline cgminer for any ASICs and hasn't been for a year. That was only for old serial based devices and all mainline cgminer uses direct USB only (cgminer forks are likely different but any drivers merged into mainline cgminer have to use direct USB).

Well it only gets detected as a serial USB device, you say an older version supported serial? do you know which built it was since perharps i will give that build ago.

End of day i got a miner sitting here doing nothing complete waste of money guy i got it from not responding and the TP-link flash bricks the router. So another £35 wasted on that piece of crap.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2576
Merit: 1110


Ruu \o/


View Profile WWW
June 21, 2014, 01:41:36 AM
 #15212

Well it only gets detected as a serial USB device, you say an older version supported serial? do you know which built it was since perharps i will give that build ago.

End of day i got a miner sitting here doing nothing complete waste of money guy i got it from not responding and the TP-link flash bricks the router. So another £35 wasted on that piece of crap.
No sorry I was mixed up myself  Embarrassed. The avalon2 driver was written and is maintained and supported by Xiangfu and I don't really know much about it. Hopefully he can help you here if he sees your message.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2576
Merit: 1110


Ruu \o/


View Profile WWW
June 21, 2014, 01:45:49 AM
 #15213

New release: Version 4.4.1, 21st June 2014

Catching a flight in a few hours but couldn't stand the thought I might be able to fix some bugs, so this is an attempt to rectify a couple of known issues.


Human readable changelog:

- Failover stopped working on some recent releases when a pool was down for an extended period it would never fail back even though the pool was alive. This is an attempt to rectify that code.
- An attempt to rectify the problem with Antminer U* devices not working for some people.
- Finally stop calling the Icarus devices FPGA via the API - I'm quite sure no one is still running an actual Icarus FPGA any more, they're all just ASICs that used the original Icarus protocol (I wish they didn't since the protocol was designed for much slower devices).


Full changelog:

- Move icarus driver to being seen as an asic
- Clear usb reads on each pass through icarus detect to hopefully prevent false
positives for detecting rboxes
- Clean up pool failure and failover code for stratum

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
xjack
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500



View Profile
June 21, 2014, 02:49:42 AM
 #15214

New release: Version 4.4.1, 21st June 2014
- An attempt to rectify the problem with Antminer U* devices not working for some people.

Solved it for me.  Great work as usual, thanks.  Enjoy your trip.

xjack - 1xjackDMgJCLn1LDtbgh51DYw6uRgeHVb
Reputation thread - https://bitcointalk.org/index.php?topic=482124.0
canford
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile WWW
June 21, 2014, 04:19:30 AM
 #15215

New release: Version 4.4.1, 21st June 2014
- An attempt to rectify the problem with Antminer U* devices not working for some people.

Also seems to work for my Antminer U2s on Win 7/32.  Nice work and fast!  Safe travels.

Пользуйтесь бесплатно и пишите что вам нужно улучшить:trd.ai
Видео, как пользоваться проектом:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
lestak
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 21, 2014, 04:22:46 AM
 #15216

Hi
Can anyone help me here:

a1 28nm module

Cgminer:

Utility showing half the speed of all the rest of the other modules.

Running at about 20-30% hardware error

Was missing a capacitor. I have soldered one back on.

What should I be looking for? Would this maybe be poor quality of capacitor?

Or should I be looking at something else completely? What does the utility show/measure between?

Thanks in advance
Buchi-88
Legendary
*
Offline Offline

Activity: 1666
Merit: 1026


ImmVRse | Disrupting the VR industry


View Profile
June 21, 2014, 08:04:59 PM
 #15217

New release: Version 4.4.1, 21st June 2014

Catching a flight in a few hours but couldn't stand the thought I might be able to fix some bugs, so this is an attempt to rectify a couple of known issues.


Human readable changelog:

- Failover stopped working on some recent releases when a pool was down for an extended period it would never fail back even though the pool was alive. This is an attempt to rectify that code.
- An attempt to rectify the problem with Antminer U* devices not working for some people.
- Finally stop calling the Icarus devices FPGA via the API - I'm quite sure no one is still running an actual Icarus FPGA any more, they're all just ASICs that used the original Icarus protocol (I wish they didn't since the protocol was designed for much slower devices).


Full changelog:

- Move icarus driver to being seen as an asic
- Clear usb reads on each pass through icarus detect to hopefully prevent false
positives for detecting rboxes
- Clean up pool failure and failover code for stratum


Thanks for the Fix, but my problem https://bitcointalk.org/index.php?topic=28402.msg7420495#msg7420495 is still present!

I have start the cgminer in "debug" modus where can i find the debug file?

regards

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





████          ████  ███████████▄▄                                 
▀███▄        ▄███▀  █████████████▄                               
██    ▄███▄     ▄███▄      ▄███▄     ▄███▄   ████        ████            ▀████    ▄██████████▄     ▄██████████
██    ██ ██     ██ ██      ██ ██     ██ ██    ████      ████             ▄████   ██▀        ▀██   ██▀         
██   ██   ██   ██   ██    ██   ██   ██   ██   ▀███▄    ▄███▀    █████████████▀   ▀██▄▄▄▄▄▄▄▄▄    ███▄▄▄▄▄▄▄▄▄
██   ██   ██   ██   ██    ██   ██   ██   ██    ████    ████     ███████████▀▀      ▀▀▀▀▀▀▀▀▀██▄  ███▀▀▀▀▀▀▀▀▀
██  ██     ██ ██     ██  ██     ██ ██     ██    ████  ████      ████   ████      ██▄        ▄██   ██▄         
██  ██     ▀███▀     ██  ██     ▀███▀     ██    ▀███▄▄███▀      ████    ████      ▀██████████▀     ▀██████████
████████       ████     ████                                 
██████        ████      ████                                 
 
   
 
WHITEPAPER    ▀▀▀▀▀▀▀▀▀▀▀
APPLY FOR CROWDSALE
▀▀▀▀▀▀▀▀▀▀▀    BITCOINTALK
 


















 
Proud Sponsor of
Blockchain 360 at
London Tech Week
  ◢  FACEBOOK
◢  TWITTER
◢  TELEGRAM
◢  MEDIUM
Truman
Legendary
*
Offline Offline

Activity: 812
Merit: 1000



View Profile
June 22, 2014, 12:20:56 PM
 #15218

Having an error since Version 4.4.0 at saving the config:

https://dl.dropboxusercontent.com/u/67023860/Screenshot%202014-06-22%2014.18.50.png

Config file is created, but empty!

Windows 7 64bit
Dizzee
Jr. Member
*
Offline Offline

Activity: 36
Merit: 0


View Profile
June 22, 2014, 09:45:24 PM
 #15219

Hi,
Apparently Avalon3 is supposed to be accessible using Avalon2
I however get the following
Avalon2 Detect: Failed to open /dev/ttyUSB0

this error is the same as if the miner is not connected however the miner is connected to a hub at that address (everything is connected to USB0)
basil3legs
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 22, 2014, 11:42:36 PM
 #15220

Hi, I've read through a good chunk of this thread and wanted some guidance or at least to clarify some things.

I am running S1s and S2s and have only recently come across this thread.  I have had a little look at the CGMiner source code, most of which is beyond me at the moment but I haven't delved that deeply yet.

First question, there is mention that Bitmain's S1 (and S2) drivers have a few flaws and kano recommends using his (for the S1 so far anyway).  If I load kano's latest version of CGMiner onto my S1s is that issue addressed and can be forgotten about?

Secondly I would really like to compile a version of CGMiner from the source and load it onto one of my S1s, even if it is just a copy of an existing version.  Can this be compiled on anything (e.g. Windoze 7) or does it need to be compiled on Ubuntu to then run on the S1?  Once I have a machine that is set up to compile CGMiner successfully so it can be loaded onto an S1, I want to delve deeper into the workings of CGMiner (not that there will probably much benefit to that, it is more out of interest).  I have MinGW etc. on my system and there appear to be a couple of issues building CGMiner on it but haven't really looked into that yet as there is little point if I can't then run it on the S1.

Any help would be greatly appreciated.
Pages: « 1 ... 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 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 ... 847 »
  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!