Bitcoin Forum
November 24, 2017, 12:46:04 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 812 813 814 815 816 817 818 819 [820] 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5664874 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.
irritant
Sr. Member
****
Offline Offline

Activity: 442


Sodium hypochlorite, acetone, ethanol


View Profile
October 24, 2015, 11:34:30 PM
 #16381

Power seems to be my biggest enemy....

I am using a RaspberryPi 2 with an external powered USB hub. Even though it has 12 powered ports....It was too much to fill all the ports with the USB ASIC Miners. I was never able to get more than 4 running at a time because lack of power. Well today something happened to that hub and I need a new one.

I now know not just any powered USB hum will do.... What powered USB hub will someone recommend without breaking the bank?
Even if I have to use 2 powered USB hubs I would like to get more than 4 running from a single RaspberryPi.

Thank you

did you try those Y-cables (usb)
1511484364
Hero Member
*
Offline Offline

Posts: 1511484364

View Profile Personal Message (Offline)

Ignore
1511484364
Reply with quote  #2

1511484364
Report to moderator
1511484364
Hero Member
*
Offline Offline

Posts: 1511484364

View Profile Personal Message (Offline)

Ignore
1511484364
Reply with quote  #2

1511484364
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511484364
Hero Member
*
Offline Offline

Posts: 1511484364

View Profile Personal Message (Offline)

Ignore
1511484364
Reply with quote  #2

1511484364
Report to moderator
1511484364
Hero Member
*
Offline Offline

Posts: 1511484364

View Profile Personal Message (Offline)

Ignore
1511484364
Reply with quote  #2

1511484364
Report to moderator
1511484364
Hero Member
*
Offline Offline

Posts: 1511484364

View Profile Personal Message (Offline)

Ignore
1511484364
Reply with quote  #2

1511484364
Report to moderator
os2sam
Legendary
*
Offline Offline

Activity: 2282


Think for yourself


View Profile
October 25, 2015, 01:38:39 AM
 #16382

Power seems to be my biggest enemy....

I am using a RaspberryPi 2 with an external powered USB hub. Even though it has 12 powered ports....It was too much to fill all the ports with the USB ASIC Miners. I was never able to get more than 4 running at a time because lack of power. Well today something happened to that hub and I need a new one.

I now know not just any powered USB hum will do.... What powered USB hub will someone recommend without breaking the bank?
Even if I have to use 2 powered USB hubs I would like to get more than 4 running from a single RaspberryPi.

Thank you

I like the Gearmo 10 port hub the best.  It runs 9 BE's and one fan just fine.

You do know your not going to make anything on BE's, right?

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
studysession
Newbie
*
Offline Offline

Activity: 22


View Profile
October 25, 2015, 01:56:05 AM
 #16383

I like the Gearmo 10 port hub the best.  It runs 9 BE's and one fan just fine.

You do know your not going to make anything on BE's, right?

Thanks - and Yeah this is more for my knowledge on how it works than anything else. Right now I just want to keep it all going.
Thanks
cameloid
Newbie
*
Offline Offline

Activity: 10


View Profile
October 29, 2015, 06:34:54 PM
 #16384

I run cgminer 4.9.2 on Raspberry Pi 2 and experience constant segfaults (once in every half hour) when Antminer U3 is attached.

I use only minimum set of command line options to start cgminer, just a server URL and login/password (everything else is by default). Source code was taken from official git and compiled with gcc 4.9.2. I used CFLAGS="-O2 -Wall --march=native" compiler option and "--enable-icarus" configuration option. Linux version is 4.1.7.

Other instances of cgminer (configured for Avalon Nano ASICs) work just fine at the same time. Also, I tested same version of cgminer under MacOS X with U3, and it seems to work stable, too. So it looks like some issue with specific setup of cgminer + Antminer U3 + Raspberry Pi 2.

Is it a known problem? Is there any patch around? Anybody interested in core dumps?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
October 29, 2015, 10:55:29 PM
 #16385

I run cgminer 4.9.2 on Raspberry Pi 2 and experience constant segfaults (once in every half hour) when Antminer U3 is attached.

I use only minimum set of command line options to start cgminer, just a server URL and login/password (everything else is by default). Source code was taken from official git and compiled with gcc 4.9.2. I used CFLAGS="-O2 -Wall --march=native" compiler option and "--enable-icarus" configuration option. Linux version is 4.1.7.

Other instances of cgminer (configured for Avalon Nano ASICs) work just fine at the same time. Also, I tested same version of cgminer under MacOS X with U3, and it seems to work stable, too. So it looks like some issue with specific setup of cgminer + Antminer U3 + Raspberry Pi 2.

Is it a known problem? Is there any patch around? Anybody interested in core dumps?
If it's a crash only with RPi then it's either a specific software bug that only shows up with the RPi build - or - it's an RPi hardware problem. It's very easy to get unreliability with the RPi simply with a dodgy flash card that's hard to figure out.
Get a backtrace if you can by following the directions here:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

If it changes every time it crashes and seems to be random memory corruption it's almost certainly an RPi problem and not a software problem. Many people have run this version of cgminer on RPi without any issues so my bet is on that.

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

Activity: 10


View Profile
October 30, 2015, 02:10:47 AM
 #16386

Actually, crashes do not look random, they always happen at the same place. Here is a couple of examples.

1st:
Code:
GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cgminer...done.
[New LWP 12843]
[New LWP 12852]
[New LWP 12847]
[New LWP 12850]
[New LWP 12844]
[New LWP 12849]
[New LWP 12848]
[New LWP 12846]
[New LWP 12851]
[New LWP 12838]
[New LWP 12839]
[New LWP 12841]
[New LWP 12840]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `cgminer -o stratum+tcp://eu.stratum.bitcoin.cz:3333 -u cameloid.worker2 -p x --'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0004e110 in usb_perform_transfer (cgpu=0xfbec88, intinfo=<optimized out>, epinfo=0, data=0x0, length=-1166715880, transferred=0x1, timeout=0, mode=0,
    cmd=C_REJECTED, seq=0, cancellable=24, tt=true, usbdev=<optimized out>, usbdev=<optimized out>) at usbutils.c:3097
3097 else if ((endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_IN && *transferred)
(gdb) #0  0x0004e110 in usb_perform_transfer (cgpu=0xfbec88, intinfo=<optimized out>, epinfo=0, data=0x0, length=-1166715880, transferred=0x1, timeout=0, mode=0,
    cmd=C_REJECTED, seq=0, cancellable=24, tt=true, usbdev=<optimized out>, usbdev=<optimized out>) at usbutils.c:3097
        callback_timeout = <optimized out>
        err_retries = <optimized out>
        dev_handle = 0xf882b0
        usb_epinfo = <optimized out>
        ut = {cgsem = {__size = "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}, transfer = 0x6fd0051c, cancellable = false, list = {
            next = 0x0, prev = 0x0}}
        endpoint = 129 '\201'
        interrupt = <optimized out>
        err = 0
        errn = 110
        tv_start = {tv_sec = 1446167091, tv_usec = 182376}
        tv_finish = {tv_sec = 1446167091, tv_usec = 217754}
        buf = "\000\000\000\000\205\361\340N\031\234\351\\", '\000' <repeats 499 times>
#1  0x00000000 in ?? ()
No symbol table info available.
(gdb) quit

2nd:
Code:
GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cgminer...done.
[New LWP 13102]
[New LWP 13106]
[New LWP 13099]
[New LWP 13107]
[New LWP 13101]
[New LWP 13100]
[New LWP 13103]
[New LWP 13105]
[New LWP 13111]
[New LWP 13110]
[New LWP 13109]
[New LWP 13108]
[New LWP 13098]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `cgminer -o stratum+tcp://eu.stratum.bitcoin.cz:3333 -u cameloid.worker2 -p x --'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0004e110 in usb_perform_transfer (cgpu=0x1622c88, intinfo=<optimized out>, epinfo=0, data=0x0, length=0, transferred=0x0, timeout=0, mode=0, cmd=C_REJECTED,
    seq=0, cancellable=false, tt=false, usbdev=<optimized out>, usbdev=<optimized out>) at usbutils.c:3097
3097 else if ((endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_IN && *transferred)
(gdb) #0  0x0004e110 in usb_perform_transfer (cgpu=0x1622c88, intinfo=<optimized out>, epinfo=0, data=0x0, length=0, transferred=0x0, timeout=0, mode=0, cmd=C_REJECTED,
    seq=0, cancellable=false, tt=false, usbdev=<optimized out>, usbdev=<optimized out>) at usbutils.c:3097
        callback_timeout = <optimized out>
        err_retries = <optimized out>
        dev_handle = 0x15ec2b0
        usb_epinfo = <optimized out>
        ut = {cgsem = {__size = "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}, transfer = 0x6fd0051c, cancellable = false, list = {
            next = 0x0, prev = 0x0}}
        endpoint = 129 '\201'
        interrupt = <optimized out>
        err = 0
        errn = 110
        tv_start = {tv_sec = 1446169096, tv_usec = 721899}
        tv_finish = {tv_sec = 1446169096, tv_usec = 774762}
        buf = "\000\354A\270\231\227\212~1\221\261\222\370?\002\000\b\000\000\000\b\000\000\000\004\000\000\000\004\000\000\000\006\000\000\000\064\000\000\000\064\000\001\000\064\000\001\000 \001\000\000 \001\000\000\005\000\000\000\004\000\000\000\003\000\000\000T\001\000\000T\001\001\000T\001\001\000\031\000\000\000\031\000\000\000\004\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000\000\000\001\000\000\000\001\000\004@\001\000\004@\001\000\005\000\000\000\000\000\001\000\001\000\000\000\374N\001\000\374N\003\000\374N\003\000\324\003\000\000\300\n\000\000\006\000\000\000\000\000\001\000\002\000\000\000\bO\001\000\bO\003\000\bO\003\000\370\000\000\000\370\000\000\000\006\000\000\000\004\000\000\000\004\000\000\000p\001\000\000"...
#1  0x00000000 in ?? ()
No symbol table info available.
(gdb) quit
kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
October 31, 2015, 03:02:37 AM
 #16387

You'd need to actually compile it -g -O0 to get some useful info out of gdb
The gdb dump shows no info about why the stack was corrupted.
As a wild guess try changing line 3000 to buf[1024] instead of buf[512]
This, however, can also simply move the problem if something else is causing it.
(and compiling the code differently can also move a problem)

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
mobiletalk
Member
**
Offline Offline

Activity: 98


View Profile
October 31, 2015, 06:04:15 PM
 #16388

You'd need to actually compile it -g -O0 to get some useful info out of gdb
The gdb dump shows no info about why the stack was corrupted.
As a wild guess try changing line 3000 to buf[1024] instead of buf[512]
This, however, can also simply move the problem if something else is causing it.
(and compiling the code differently can also move a problem)
Do you have skype or icq. I need help some problem with it.
kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
October 31, 2015, 10:49:03 PM
 #16389

You'd need to actually compile it -g -O0 to get some useful info out of gdb
The gdb dump shows no info about why the stack was corrupted.
As a wild guess try changing line 3000 to buf[1024] instead of buf[512]
This, however, can also simply move the problem if something else is causing it.
(and compiling the code differently can also move a problem)
Do you have skype or icq. I need help some problem with it.
Nope.
Read the README Smiley
https://github.com/ckolivas/cgminer/blob/master/README
I also don't do any linux teaching.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266



View Profile
November 01, 2015, 12:10:22 PM
 #16390

Well supposedly I'm getting an S7 - so it would be soon after that if it happens.

Hi kano,

A little birdy told me that Yoshi was going to contact you about the S7 actually - maybe drop him a line to remind him? He does forget things sometimes....  Wink Smiley

Hi kano,

Did you receive your S7 yet - or are you still waiting like the rest of us?  Wink
kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
November 02, 2015, 12:12:47 AM
 #16391

S7? What's that? Tongue

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Jay_Pal
Legendary
*
Offline Offline

Activity: 1340



View Profile
November 02, 2015, 01:08:29 PM
 #16392

S7? What's that? Tongue

Isn't that the one you should get after the S6 and before the S8?  Grin Grin Grin

Best faucet EVER! - Freebitco.in
Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
Why not mine from the browser?
mm5aes
Full Member
***
Offline Offline

Activity: 176

Unix Admin For Hire.


View Profile WWW
November 02, 2015, 01:15:37 PM
 #16393

S7? What's that? Tongue

Isn't that the one you should get after the S6 and before the S8?  Grin Grin Grin

No it's a new entity, a Nativity Calendar Miner, a new heat sink falls off every day apparently .....

Now job in IT? Try http://techwork.uk/
Jay_Pal
Legendary
*
Offline Offline

Activity: 1340



View Profile
November 02, 2015, 05:19:23 PM
 #16394

S7? What's that? Tongue

Isn't that the one you should get after the S6 and before the S8?  Grin Grin Grin

No it's a new entity, a Nativity Calendar Miner, a new heat sink falls off every day apparently .....

Uh!!! I'd love to buy such calendar!!! Cheesy
But they are still too expensive for me...

Best faucet EVER! - Freebitco.in
Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
Why not mine from the browser?
fullintegrity
Member
**
Offline Offline

Activity: 106


View Profile
November 06, 2015, 06:10:22 AM
 #16395

where do i find how to create the file to run the miners? a cgminer .bat file runs inside the extracted cgminer program files? on c drive? i dont get how to initiate the miner? using x3 thunder and ispace.co.uk pool, but dont know the exact .bat file. Anyone have sample, i could plug my pool credentials in or even better, a simple set of instructions?
thanks a mil

1Lfx2Dv69BUgs5v18LtcLqFYKuiJvhxPYh
kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
November 09, 2015, 04:35:04 AM
 #16396

where do i find how to create the file to run the miners? a cgminer .bat file runs inside the extracted cgminer program files? on c drive? i dont get how to initiate the miner? using x3 thunder and ispace.co.uk pool, but dont know the exact .bat file. Anyone have sample, i could plug my pool credentials in or even better, a simple set of instructions?
thanks a mil
https://github.com/ckolivas/cgminer/blob/master/README#L55

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
helipotte
Hero Member
*****
Offline Offline

Activity: 590


Pick and place? I need more coffee.


View Profile
November 09, 2015, 05:25:21 AM
 #16397

Anyone had any problems with poor performance of Monarchs using firmware 1.4.5?  Mine all hash at about 25% of their expected rate.  This problem

does not happen with the units I have using firmware 1.4.2 or 1.4.3.  I have tried CGminer 4.9.2 in Windows 7 X64 and with Minera on a beaglebone.

Same issue on both platforms.

kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
November 09, 2015, 05:53:18 AM
 #16398

My monarch died long ago ... that someone else (not BFL) supplied me with.

BFL never contacted us about firmware changes or anything like that (or even about the Monarch until LONG after they should have) so your on your own with support of newer firmware in them since I've no idea at all what might have changed and no way to test it.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
helipotte
Hero Member
*****
Offline Offline

Activity: 590


Pick and place? I need more coffee.


View Profile
November 10, 2015, 02:07:44 AM
 #16399

My monarch died long ago ... that someone else (not BFL) supplied me with.

BFL never contacted us about firmware changes or anything like that (or even about the Monarch until LONG after they should have) so your on your own with support of newer firmware in them since I've no idea at all what might have changed and no way to test it.

I am just guessing here but it seem like CGminer is treating this unit (Monarch W/1.4.5 FW) as a "single".  My units all hash at about 60-70Gh.  Maybe incorrect

identification in some way.
kano
Legendary
*
Online Online

Activity: 2282


Linux since 1997 RedHat 4


View Profile
November 10, 2015, 02:27:55 AM
 #16400

My monarch died long ago ... that someone else (not BFL) supplied me with.

BFL never contacted us about firmware changes or anything like that (or even about the Monarch until LONG after they should have) so your on your own with support of newer firmware in them since I've no idea at all what might have changed and no way to test it.

I am just guessing here but it seem like CGminer is treating this unit (Monarch W/1.4.5 FW) as a "single".  My units all hash at about 60-70Gh.  Maybe incorrect

identification in some way.
Well if you can try an older version of cgminer and if an older version works and a newer one doesn't then that would relate to identification issues.
However, that won't be the cause of slowing it down, that would more be a case of it not working.

Looking at
https://github.com/ckolivas/cgminer/blob/master/NEWS

I'd guess maybe try a real old one about the time it was working for me ...
I was running an old one back on 19-Jan (last day my moth worked for me)  but I was using 4.6.0 (or try 4.6.1)
If either of them work OK, then the problem is something that someone changed in cgminer since then.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Pages: « 1 ... 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 812 813 814 815 816 817 818 819 [820] 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 »
  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!