Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 120. (Read 5805527 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Code:
pi@raspberrypi $ git clone https://github.com/ckolivas/cgminer
pi@raspberrypi $ cd cgminer
pi@raspberrypi $ ./autogen.sh
pi@raspberrypi $ CFLAGS="-O2 -Wall -march=native"
pi@raspberrypi $ ./configure --enable-icarus
pi@raspberrypi $ make
pi@raspberrypi $ sudo ./cgminer -o "socks5:127.0.0.1:9151|http://p2pool.org:9332" -u -p xxx --anu-freq 200
Worked. Thanks Smiley
Great. You don't even need --anu-freq since 200 is the default, but you can usually easily overclock these to 250.
newbie
Activity: 6
Merit: 0
Code:
pi@raspberrypi $ git clone https://github.com/ckolivas/cgminer
pi@raspberrypi $ cd cgminer
pi@raspberrypi $ ./autogen.sh
pi@raspberrypi $ CFLAGS="-O2 -Wall -march=native"
pi@raspberrypi $ ./configure --enable-icarus
pi@raspberrypi $ make
pi@raspberrypi $ sudo ./cgminer -o "socks5:127.0.0.1:9151|http://p2pool.org:9332" -u -p xxx --anu-freq 200
Worked. Thanks Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Quote from: ckolivas
Then you have not compiled with icarus support from the latest official cgminer code. There is only one official place to download cgminer.
I cloned it from git at https://github.com/ckolivas/cgminer. With http://ck.kolivas.org/apps/cgminer/3.9/cgminer-3.9.0-1.tar.bz2 same issue:
Code:
./cgminer: --anu-freq: unrecognized option
Go back to my original instructions then, as it should build from git. cgminer 3.9.0 is also ancient and anu support has only been very recent so that's pointless.
newbie
Activity: 6
Merit: 0
Quote from: ckolivas
Then you have not compiled with icarus support from the latest official cgminer code. There is only one official place to download cgminer.
I cloned it from git at https://github.com/ckolivas/cgminer. With http://ck.kolivas.org/apps/cgminer/3.9/cgminer-3.9.0-1.tar.bz2 same issue:
Code:
./cgminer: --anu-freq: unrecognized option
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
Also when I ssh into the pi and start the miner when I close the connection it stops the miner, how can I stop this?
...
https://github.com/kanoi/cgminer-run

Edit: of course that requires 'screen' to be installed
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Code:
pi@raspberryp$ sudo ./cgminer --anu-freq 200
Gives me:
Code:
pi@raspberryp$ ./cgminer: --anu-freq: unrecognized option
Instead this works:
Code:
pi@raspberryp$ sudo ./cgminer -o http://p2pool.org:9332 -u -p xxx
Then you have not compiled with icarus support from the latest official cgminer code. There is only one official place to download cgminer.
newbie
Activity: 6
Merit: 0
Code:
pi@raspberryp$ sudo ./cgminer --anu-freq 200
Gives me:
Code:
pi@raspberryp$ ./cgminer: --anu-freq: unrecognized option
Instead this works:
Code:
pi@raspberryp$ sudo ./cgminer -o http://p2pool.org:9332 -u -p xxx
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hi guys. I need help (I read a lot of topic but I can't find a solution) with a Raspberry pi (raspbian distro) an a Antminer U1.
I compiled CGMINER:
Code:
pi@raspberrypi$: ./configure --enable-bmsc
I launched it with:
Code:
pi@raspberrypi$: sudo ./cgminer --bmsc-options 115200:20 -o http://p2pool.org:9332 -u -p xxx --bmsc-freq 0781 -D
You're using commands from an unofficial fork. Please read the readme as the complicated commands have been replaced and vastly simplified in the official cgminer:

./configure --enable-icarus
sudo ./cgminer --anu-freq 200
newbie
Activity: 6
Merit: 0
Hi guys. I need help (I read a lot of topic but I can't find a solution) with a Raspberry pi (raspbian distro) an a Antminer U1.
I compiled CGMINER:
Code:
pi@raspberrypi$: ./configure --enable-bmsc
I launched it with:
Code:
pi@raspberrypi$: sudo ./cgminer --bmsc-options 115200:20 -o http://p2pool.org:9332 -u -p xxx --bmsc-freq 0781 -D
I have:
Code:
...
AMU0: GetResults (amt=0 err=-7 ern=110)
Send freq getstatus ok
AMU0: GetResults (amt=0 err=-7 ern=110)
AMU0: Read freq Comms timeout (rerr=-7 relen=0)
AMU0: GetResults (amt=0 err=-7 ern=110)
AMU0: Read freq Comms timeout (rerr=-7 relen=0)
Send freq getstatus 84000400
AMU0: GetResults (amt=0 err=-7 ern=110)
Send freq getstatus ok
Read data(5):800f00011d
...
So I tried:
Code:
pi@raspberrypi $ sudo ./cgminer -n
And this is the result:
Code:
USB all: found 10 devices - listing known devices
.USB dev 0: Bus 1 Device 15 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
 1 known USB devices

I have a powered USB hub (DLINK 7 ports 2A). What's wrong?
Thanks
newbie
Activity: 3
Merit: 0
Hi
I am a noob to this
I have just installed cgminer 4.0.0 onto my raspberry pi
I have a nanofury connected to my usb hub, the pi is running raspbian.
How can I get the nano fury working on this version of cgminer? I have managed to start cgminer but the miner is found. Do I need to enable it in the configuration file? How do I do this retrospectively? (There was the option to edit it while installing cgminer)

Also when I ssh into the pi and start the miner when I close the connection it stops the miner, how can I stop this?

Any help would be much appreciated

Thanks
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
If you're on a modern ubuntu, I provide binaries for it already.

Code:
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:

Code:
./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.
full member
Activity: 133
Merit: 100
Bitcoin Enthusiast
If you're on a modern ubuntu, I provide binaries for it already.

Code:
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:

Code:
./cgminer: 1: ./cgminer: ELF: not found
./cgminer: 2: ./cgminer: Syntax error: "(" unexpected

I'm not sure what this is telling me...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
legendary
Activity: 2576
Merit: 1186
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
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
legendary
Activity: 2576
Merit: 1186
Disclaimer: Con's rewriting history there.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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://bitcointalksearch.org/topic/m.4869039
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
newbie
Activity: 5
Merit: 0
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

Jump to: