Bitcoin Forum
November 29, 2021, 10:48:58 AM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 779 780 781 782 783 784 785 786 787 788 789 790 791 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5802916 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.)
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
April 04, 2014, 10:25:40 PM
 #14801

could anybody be so kind and give step by step instruction on how to get 4.2.2 working on linux (ubuntu)?
From reading the first post in this thread, you learn you have to do this:

Go here: http://ck.kolivas.org/apps/cgminer/

If you have 32-bit Ubuntu, download the file cgminer-4.2.2.tar.bz2.
If you have 64-bit Ubuntu, download the file cgminer-4.2.2-x86_64-built.tar.bz2

Either way, unzip the file you downloaded.  Then run the executable you just unzipped, follow the prompts to set up your first pool, plug in your devices, and poof, you're mining.  (I also suggest, after you configure your pool and other settings, that you save a config file using the in-program menus and prompts.)

For anything more specific than that, you'll have to ask a clearer question.

ok iĺl be more specific...

last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it.
i need to get cgminer running now, as i have just received a package.
I thought it was clear - "run the executable you just unzipped". The executable is cgminer - it's just zipped up for faster download. Once you unzip it, you just run it, like any other Linux program.  Either type in the name from the command line, or double click the file if you're using a GUI.  If you want to control how it runs, check the readme file and set the command line parameters the way you want them, or configure them in the program and write the config file using the built in function.

I'm sorry, but I'm honestly not sure how to be any clearer. If you don't know how to run a program in your preferred operating system, then you need to spend some time learning how to do that along with other basic tasks, like how to safely boot and shut down the PC, or how to log on and log off, or how to save your documents for later use.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
1638182938
Hero Member
*
Offline Offline

Posts: 1638182938

View Profile Personal Message (Offline)

Ignore
1638182938
Reply with quote  #2

1638182938
Report to moderator
1638182938
Hero Member
*
Offline Offline

Posts: 1638182938

View Profile Personal Message (Offline)

Ignore
1638182938
Reply with quote  #2

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

Posts: 1638182938

View Profile Personal Message (Offline)

Ignore
1638182938
Reply with quote  #2

1638182938
Report to moderator
1638182938
Hero Member
*
Offline Offline

Posts: 1638182938

View Profile Personal Message (Offline)

Ignore
1638182938
Reply with quote  #2

1638182938
Report to moderator
1638182938
Hero Member
*
Offline Offline

Posts: 1638182938

View Profile Personal Message (Offline)

Ignore
1638182938
Reply with quote  #2

1638182938
Report to moderator
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
April 05, 2014, 03:38:08 AM
 #14802

ok iĺl be more specific...

last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it.
i need to get cgminer running now, as i have just received a package.

Make sure the following package already installed on your ubuntu system
Code:
1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo apt-get install autotools-dev autoconf automake libcurl3-dev
5. sudo apt-get install libtool libncurses-dev yasm
6. sudo apt-get install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo apt-get install pkg-config uthash-dev make git-core

Download & compile cgminer 4.2.3, no need to install.
Code:
1. sudo git clone https://github.com/ckolivas/cgminer.git
2. sudo mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury
5. sudo make

Step number 4  use additional option to enable specific device. Add the option based on available devices.
Code:
 --enable-ants1          Compile support for Antminer S1 Bitmain (default  disabled)
  --enable-avalon         Compile support for Avalon (default disabled)
  --enable-bab            Compile support for BlackArrow Bitfury (default disabled)
  --enable-bflsc          Compile support for BFL ASICs (default disabled)
  --enable-bitforce       Compile support for BitForce FPGAs (default disabled)
  --enable-bitfury        Compile support for BitFury ASICs (default disabled)
  --enable-cointerra      Compile support for Cointerra ASICs (default  disabled)
  --enable-drillbit       Compile support for Drillbit BitFury ASICs (default disabled)
  --enable-hashfast       Compile support for Hashfast (default disabled)
  --enable-icarus         Compile support for Icarus (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-klondike       Compile support for Klondike (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-minion         Compile support for Minion BlackArrow ASIC (default disabled)
  --enable-modminer       Compile support for ModMiner FPGAs(default disabled)

To run, go to cgminer-4.2.3 folder.
Code:
sudo ./cgminer

To use cgminer-api, you need to compile it first
Code:
sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api

To run
Code:
cgminer-api stats
Code:
cgminer-api pools
Code:
cgminer-api summary
Code:
cgminer-api devs
jomant
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
April 05, 2014, 04:08:38 AM
 #14803

ok iĺl be more specific...

last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it.
i need to get cgminer running now, as i have just received a package.

Make sure the following package already installed on your ubuntu system
Code:
1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo apt-get install autotools-dev autoconf automake libcurl3-dev
5. sudo apt-get install libtool libncurses-dev yasm
6. sudo apt-get install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo apt-get install pkg-config uthash-dev make git-core

Download & compile cgminer 4.2.3, no need to install.
Code:
1. sudo git clone https://github.com/ckolivas/cgminer.git
2. sudo mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury
5. sudo make

Step number 4  use additional option to enable specific device. Add the option based on available devices.
Code:
 --enable-ants1          Compile support for Antminer S1 Bitmain (default  disabled)
  --enable-avalon         Compile support for Avalon (default disabled)
  --enable-bab            Compile support for BlackArrow Bitfury (default disabled)
  --enable-bflsc          Compile support for BFL ASICs (default disabled)
  --enable-bitforce       Compile support for BitForce FPGAs (default disabled)
  --enable-bitfury        Compile support for BitFury ASICs (default disabled)
  --enable-cointerra      Compile support for Cointerra ASICs (default  disabled)
  --enable-drillbit       Compile support for Drillbit BitFury ASICs (default disabled)
  --enable-hashfast       Compile support for Hashfast (default disabled)
  --enable-icarus         Compile support for Icarus (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-klondike       Compile support for Klondike (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-minion         Compile support for Minion BlackArrow ASIC (default disabled)
  --enable-modminer       Compile support for ModMiner FPGAs(default disabled)

To run, go to cgminer-4.2.3 folder.
Code:
sudo ./cgminer

To use cgminer-api, you need to compile it first
Code:
sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api

To run
Code:
cgminer-api stats
Code:
cgminer-api pools
Code:
cgminer-api summary
Code:
cgminer-api devs

Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
April 05, 2014, 04:16:43 AM
Last edit: April 05, 2014, 04:38:04 AM by Zich
 #14804


Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.

Yes  Smiley

The different is you don't need sudo while compile cgminer & add --enable-icarus
Code:
1. git clone https://github.com/ckolivas/cgminer.git
2. mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury --enable-icarus
5. make
shortpocket
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 05, 2014, 07:19:06 AM
 #14805

ok iĺl be more specific...

last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it.
i need to get cgminer running now, as i have just received a package.

Make sure the following package already installed on your ubuntu system
Code:
1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo apt-get install autotools-dev autoconf automake libcurl3-dev
5. sudo apt-get install libtool libncurses-dev yasm
6. sudo apt-get install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo apt-get install pkg-config uthash-dev make git-core

Download & compile cgminer 4.2.3, no need to install.
Code:
1. sudo git clone https://github.com/ckolivas/cgminer.git
2. sudo mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury
5. sudo make

Step number 4  use additional option to enable specific device. Add the option based on available devices.
Code:
 --enable-ants1          Compile support for Antminer S1 Bitmain (default  disabled)
  --enable-avalon         Compile support for Avalon (default disabled)
  --enable-bab            Compile support for BlackArrow Bitfury (default disabled)
  --enable-bflsc          Compile support for BFL ASICs (default disabled)
  --enable-bitforce       Compile support for BitForce FPGAs (default disabled)
  --enable-bitfury        Compile support for BitFury ASICs (default disabled)
  --enable-cointerra      Compile support for Cointerra ASICs (default  disabled)
  --enable-drillbit       Compile support for Drillbit BitFury ASICs (default disabled)
  --enable-hashfast       Compile support for Hashfast (default disabled)
  --enable-icarus         Compile support for Icarus (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-klondike       Compile support for Klondike (default disabled)
  --enable-knc            Compile support for KnC miners (default disabled)
  --enable-minion         Compile support for Minion BlackArrow ASIC (default disabled)
  --enable-modminer       Compile support for ModMiner FPGAs(default disabled)

To run, go to cgminer-4.2.3 folder.
Code:
sudo ./cgminer

To use cgminer-api, you need to compile it first
Code:
sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api

To run
Code:
cgminer-api stats
Code:
cgminer-api pools
Code:
cgminer-api summary
Code:
cgminer-api devs

OK thanks. That helped.
I had to install linux again next to the one i had already installed to get it working. I tried autogen and make yesterday, but there where some errors and when it returned errors today when i tried it your way i decided to install linux again.
At first it did'nt work when entering sudo ./cgminer, but that was because there was no asics enabled.
I have tried to enable bitmine A1 asics, but it could'nt.

All i need now is to get the technobit 130 ghs running...

Any pointers?
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
April 05, 2014, 08:48:58 AM
 #14806


OK thanks. That helped.
I had to install linux again next to the one i had already installed to get it working. I tried autogen and make yesterday, but there where some errors and when it returned errors today when i tried it your way i decided to install linux again.
At first it did'nt work when entering sudo ./cgminer, but that was because there was no asics enabled.
I have tried to enable bitmine A1 asics, but it could'nt.

All i need now is to get the technobit 130 ghs running...

Any pointers?

Ahh, you are on wrong thread  Cheesy I can not answer here   Smiley

Try to ask here:
https://bitcointalk.org/index.php?topic=491551.msg5418228#msg5418228

or

https://bitcointalk.org/index.php?topic=376351.0

I will help you  Wink
patrike
Legendary
*
Offline Offline

Activity: 2464
Merit: 1070


View Profile WWW
April 06, 2014, 06:25:39 AM
 #14807

Hi, I have a question about the Cgminer API, and I hope this is the correct thread for these questions.

The Network Difficulty is reported by the Coin command, but if you have two pools with different coins, you don't know for which pool the Network Difficulty is reported. It looks like the Coin command reports the network difficulty for the pool/coin that had the last network difficulty change, but that isn't always the highest prioritized pool where you actually mine.

Isn't the Network Difficulty something that would be better to include in the Pool command, and specified for each pool?

Thanks for a great API and please let me know if I got all this wrong.

Awesome Miner - Complete solution to manage and monitor mining operations of ASIC, GPU and CPU miners
Optimized Antminer firmware - Increased hashrate, improved power efficiency and more features. For S9, S9i, S9j, T9+, L3+, S17, S17 Pro, S17+, T17, T17+
Up to 200,000 miners | Notifications | Native overclocking | Profit switching | Customizable rules | API | Windows application | Mobile web
-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 06, 2014, 08:26:25 AM
 #14808

Hi, I have a question about the Cgminer API, and I hope this is the correct thread for these questions.

The Network Difficulty is reported by the Coin command, but if you have two pools with different coins, you don't know for which pool the Network Difficulty is reported. It looks like the Coin command reports the network difficulty for the pool/coin that had the last network difficulty change, but that isn't always the highest prioritized pool where you actually mine.

Isn't the Network Difficulty something that would be better to include in the Pool command, and specified for each pool?

Thanks for a great API and please let me know if I got all this wrong.
We don't care about anything but bitcoin so we have no interest in making changes for multiple coin support.

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

Activity: 1428
Merit: 1015


HoneybadgerOfMoney.com Weed4bitcoin.com


View Profile WWW
April 07, 2014, 03:42:59 AM
 #14809

what does this mean?:

AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE

I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats.  Cannot get everything on and mining in harmony. 

-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 07, 2014, 03:58:44 AM
 #14810

what does this mean?:

AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE

I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats.  Cannot get everything on and mining in harmony. 
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc.

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

Activity: 1428
Merit: 1015


HoneybadgerOfMoney.com Weed4bitcoin.com


View Profile WWW
April 07, 2014, 04:08:28 AM
 #14811

what does this mean?:

AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE

I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats.  Cannot get everything on and mining in harmony. 
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc.

Its not that simple though - I've have them all up and running before but for some reason I see that after a little that a string of them would turn on (an entire hub wont seem to connect, I have 9 hubs, of those 3 are daisy chained to a 4th.

-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 07, 2014, 04:41:56 AM
 #14812

what does this mean?:

AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE

I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats.  Cannot get everything on and mining in harmony. 
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc.

Its not that simple though - I've have them all up and running before but for some reason I see that after a little that a string of them would turn on (an entire hub wont seem to connect, I have 9 hubs, of those 3 are daisy chained to a 4th.
Doesn't matter how complex your setup is, the error means the same thing. Often when something fails it can take out/reset a whole hub since the communication channel is shared.

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

Activity: 1428
Merit: 1015


HoneybadgerOfMoney.com Weed4bitcoin.com


View Profile WWW
April 07, 2014, 05:00:42 AM
 #14813

Thanks, you called it.  Problem down to one hub now I'm happy Grin

-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 07, 2014, 08:58:12 AM
 #14814

I'm willing to do some cgminer testing with the latest stable kernel (mainline 3.14), albeit I'll have to make some fake devices to test the cgminer API on the latest kernel (I don't own any ASICs).

On that note, I'm making my own GNU/Linux distribution - I've compiled the kernel (3.14) and bash (4.3) in its own fs/partition and I'm creating the linux directory hierarchy by hand. Smiley Basically my policy is everything mainline - everything latest stable. (Reason for creating this is if I want to run 3.14 none of the distros want to know about me, and I want to see the driver code for my hardware and muck around with it.)

And yes, Ted Ts'o is a bit of a smarty pants on the linux kernel mailing list, which I've found out personally. (Not sure how he treated you, conman)
The choice and features of each linux kernel pretty much has precisely zero impact on cgminer so there's nothing to test.

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

Activity: 4
Merit: 0


View Profile
April 07, 2014, 07:57:02 PM
 #14815

How to/What commnads to overclock miner? Using Hashcoins Apollo? Help) i'm newbie
everest556
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 07, 2014, 09:46:20 PM
 #14816

Any chance there'll be support for Technobit's HEX16A2 boards?
-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 07, 2014, 10:55:54 PM
 #14817

Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure.

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

Activity: 294
Merit: 251


View Profile
April 08, 2014, 07:14:53 AM
 #14818


Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.

Yes  Smiley

The different is you don't need sudo while compile cgminer & add --enable-icarus
Code:
1. git clone https://github.com/ckolivas/cgminer.git
2. mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury --enable-icarus
5. make

Hi guys.

I have a raspberry pi with a rosewill hub with 2 antminers U2.

I installed minepeon last version for raspberry pi and im mining with default bfgminer. Im getting default 1.95GH/s per miner.

I would like to know if its best to use cgminer instead of default bfgminer, and what are the steps to install it, and then run it.

That quote will work for me? thanks
everest556
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 08, 2014, 09:55:46 PM
 #14819

Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure.
There is a patch for these boards: https://bitcointalk.org/index.php?topic=355031.0
Is it possible to integrate it into the main code?
-ck
Legendary
*
Offline Offline

Activity: 3416
Merit: 1359


Ruu \o/


View Profile WWW
April 08, 2014, 10:47:19 PM
 #14820

Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure.
There is a patch for these boards: https://bitcointalk.org/index.php?topic=355031.0
Is it possible to integrate it into the main code?
No, we do not go out of our way to scrounge up patches from elsewhere and make them work in the master cgminer code. I already described the process above.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 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 779 780 781 782 783 784 785 786 787 788 789 790 791 ... 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!