Bitcoin Forum
January 27, 2022, 06:53:31 PM *
News: Vote on the 2021 community awards
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5803065 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.)
sdjernes
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
November 06, 2014, 06:49:27 PM
 #15561

Having some issues with AM Prisma using the USB adapter

Cgminer 4.7.1
Rasp Pi running latest wheezy
compiled using: --enable-blockerupter --enable-icarus --without-curses

./cgminer -o stratum+tcp://us1.ghash.io:3333 -u xxxx -p xxxx --bet-clk 23

Cgminer spits out a bunch of errors

[2014-11-06 17:44:02] BET0: Unexpected value 00 received                   
[2014-11-06 17:44:02] BET0: Sync Error                   
[2014-11-06 17:44:02] BET0: Unexpected value 58 received                   
[2014-11-06 17:44:02] BET0: Sync Error                   
[2014-11-06 17:44:02] BET0: Unexpected value 58 received   

it then segfaults after a little bit.

I am not sure if my cgminer command is wrong or the USB dongle is the issue.. I have tried plugging directly into Pi and also a power USB hub with the same results.




I get this also but if I restart CGminer a few times it eventually starts hashing fine.  Seems that there is something odd with the driver or the chips put out some odd crap at first after power up.

However I have a question about the -bet-clk=23 thing  According to CGminer docs this value is x10 so to get 240 you would want 24, which is the default value of the setting.  Am I understanding this wrong?  Do we need to run the Prisma at 230 not 240?  At --bet-clk=23 my unit will not do stable over 800Ghs
1643309611
Hero Member
*
Offline Offline

Posts: 1643309611

View Profile Personal Message (Offline)

Ignore
1643309611
Reply with quote  #2

1643309611
Report to moderator
1643309611
Hero Member
*
Offline Offline

Posts: 1643309611

View Profile Personal Message (Offline)

Ignore
1643309611
Reply with quote  #2

1643309611
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Blazed
Casascius Addict
Legendary
*
Offline Offline

Activity: 2128
Merit: 1119



View Profile WWW
November 06, 2014, 10:15:53 PM
 #15562

I tried 24 with same results..does not seem to matter. I guess I will just try 1 board and see what it does for me.
-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 06, 2014, 10:54:49 PM
 #15563

Yep sorry the block erupter driver is absolutely submitted and maintained by AM and I don't have the hardware so I can't help you directly but I suspect the driver is buggy (it should never segfault for example). Hopefully they chime in here with support and fix the bugs.

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

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 06, 2014, 11:58:17 PM
 #15564

Sorry for stupid question.

Latest releases do not work at all Sad
Is it only me or Huh?
It's only you. We can't help you without you giving us any information whatsoever on what the problem is.

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

Activity: 378
Merit: 250


View Profile
November 07, 2014, 12:58:24 AM
 #15565

Sorry for stupid question.

Latest releases do not work at all Sad
Is it only me or Huh?
It's only you. We can't help you without you giving us any information whatsoever on what the problem is.

My bad Sad

Downloaded 4 latest version(4.7.1, 4.7.0, 4.6.1, 4.6.0), created .bat file and nothing, just black window appeared for a split of a second.
Same bat file works with 4.5.0 version.

I'm using Win 7 and I have habanero board.
(I'm mining with 4.5.0 but wanted to try newer versions)

Thank you very much
-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 07, 2014, 01:01:02 AM
 #15566

Downloaded 4 latest versions, created .bat file and nothing, just black window appeared for a split of a second.
Same bat file works with 4.5.0 version.

I'm using Win 7 and I have habanero board.
(I'm mining with 4.5.0 but wanted to try newer versions)
Open a command prompt and run cgminer directly with your commands (and add -T) instead of clicking on the bat file and it will tell you what's wrong instead of just disappearing taking the error with it.

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

Activity: 2128
Merit: 1119



View Profile WWW
November 07, 2014, 01:09:03 AM
 #15567

Yep sorry the block erupter driver is absolutely submitted and maintained by AM and I don't have the hardware so I can't help you directly but I suspect the driver is buggy (it should never segfault for example). Hopefully they chime in here with support and fix the bugs.

"Hopefully they chime in here with support and fix the bugs" LOL not going to hold my breath on that one.
SVK
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
November 07, 2014, 01:14:14 AM
 #15568

Downloaded 4 latest versions, created .bat file and nothing, just black window appeared for a split of a second.
Same bat file works with 4.5.0 version.

I'm using Win 7 and I have habanero board.
(I'm mining with 4.5.0 but wanted to try newer versions)
Open a command prompt and run cgminer directly with your commands (and add -T) instead of clicking on the bat file and it will tell you what's wrong instead of just disappearing taking the error with it.

Many thanks for your help Smiley
I have noticed that there is missing Cgminer.exe in all of above mentioned versions.

I will try it tomorrow morning.

Open command prompt and paste everything from bat file and I will add -T at the end.

Thank you very much
-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 07, 2014, 01:16:48 AM
 #15569

Yep sorry the block erupter driver is absolutely submitted and maintained by AM and I don't have the hardware so I can't help you directly but I suspect the driver is buggy (it should never segfault for example). Hopefully they chime in here with support and fix the bugs.

"Hopefully they chime in here with support and fix the bugs" LOL not going to hold my breath on that one.
They did manage to submit the code to mainline cgminer which is infinitely more than I was expecting.

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

Activity: 49
Merit: 0


View Profile
November 07, 2014, 05:44:20 PM
 #15570

The following is a questing from the Debian pkg-bitcoin-dev group and I am interested too:

Quote
If you are familiar, could you explain this? Why should we not be
 using system libusb?
Quote
- Added yet more warnings suggesting not to use the system libusb in configure.

Debian Jessie and Unstable (SID) libusb
libusb-1.0-0 (2:1.0.19-1)

-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 07, 2014, 11:39:27 PM
Last edit: November 07, 2014, 11:58:21 PM by ckolivas
 #15571

The following is a questing from the Debian pkg-bitcoin-dev group and I am interested too:

Quote
If you are familiar, could you explain this? Why should we not be
 using system libusb?
Quote
- Added yet more warnings suggesting not to use the system libusb in configure.

Debian Jessie and Unstable (SID) libusb
libusb-1.0-0 (2:1.0.19-1)


This is an annoying issue we've been dealing with for as long as we've been using libusb and the answer to your question is as frustrating as can be.

Libusb had a hostile fork a few years back with libusbx and the main libusb development had slowed to a crawl. Virtually every distribution eventually moved to libusbx simply because it was the more actively developed branch. However at the time we found that every time we tried to migrate to libusbx it added substantial instability to the devices we were communicating with as most asic usb miners were actually pretty hastily slapped together and not very tolerant. Kano did a lot of investigation and found that there were numerous occasions where sending timeout based requests to libusb it simply would not return. The issue was amplified on windows and almost universal on usb1.1 devices which unfortunately many asic manufacturers decided to use (despite being a 15 year old protocol instead of usb2). Eventually the development of libusb was stopped and there was an alleged merge between the libusbx and libusb code and libusbx inherited the original libusb name with what appears to have been a somewhat strained truce between the original libusb developer and the libusbx devs. Unfortunately what happened was they built on the libusbx code and it appears that whatever it was that made the original libusb more stable never made it back into the maintained branch. We ended up finding the end of life libusb that we were using was still the most stable and none of the extra features in the newer libusbx based code were of any advantage and it conferred more instability. Here is the last time I tried moving to the merged libusbs:
https://bitcointalk.org/index.php?topic=28402.msg4816354#msg4816354

If you follow the few pages of testing (and ignore the pages of trolling) you'll see how I end up giving up on libusbx again.
And here is where I reverted to our own included libusb code :
https://bitcointalk.org/index.php?topic=28402.msg4989440#msg4989440

The same problems still exist with the current libusb included in distributions.

Now you're probably saying we should have submitted bug reports to libusbx instead of including libusb however we spent a ridiculous amount of time trying to find where the problem was in the first place and asic driver development was nothing short of frantic at the time and the amount of time we spent on it was far in excess of what we wanted already and it was detracting from further cgminer and driver development so I gave up and stuck to the libusb we included since it basically worked and was stable - what else can one ask? It also was not clear which was the real libusb... You'll also see that I was dependent on users to do the testing since I wasn't the one reproducing the problems so I couldn't do any cycle of test and report upstream. I doubt you'll be able to get any of those users with the old hardware engaged in that cycle of discussion now with libusb devs.

EDIT: Here's where Kano first tracked down the problem:
https://bitcointalk.org/index.php?topic=28402.msg2948402;topicseen#msg2948402
https://bitcointalk.org/index.php?topic=28402.msg2970018;topicseen#msg2970018

Adding the --with-system-libusb was put there for platforms where there was no udev support and building would fail (eg openwrt) forcing them to use the system libusb instead of the included one. However I've since added a --disable-udev option which makes it build even there. If I removed the system-libusb option and silently built my own included libusb for the packagers they'd be none the wiser.

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

Activity: 2968
Merit: 1619


First 100% Liquid Stablecoin Backed by Gold


View Profile
November 08, 2014, 07:25:16 PM
 #15572

New release: Version 4.7.1, 4th November 2014

Minor bugfix release after dusk.


Human readable changelog:


- If different USB devices contain the same communication chip, provided the USB device has a product id set, cgminer will no longer try to use the wrong driver on it (eg LIN vs BFLSC).


THX for your efforts  Grin

Xian01
Legendary
*
Offline Offline

Activity: 1596
Merit: 1050


Christian Antkow


View Profile
November 08, 2014, 09:27:34 PM
 #15573

Con.

Why do you suck so much ? </s>

https://forums.butterflylabs.com/bitcoin-pools/350-eclipse-mining-consortium-no-fee-pps-dgm-sms-2fa-gbt-stratum-vardiff-162.html#post86766

-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 08, 2014, 09:55:18 PM
 #15574

Hah is there anything that guy won't attack? Now I'm really worried that my reputation will be tarnished by someone so esteemed in the bitcoin community.

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

Activity: 28
Merit: 0


View Profile
November 11, 2014, 01:36:47 AM
 #15575

I am very new to mining and want to try my luck solo mining. I can get the cgminer to run on a pool no problem. I plan on pool mining too. My problem is when I try and set up cgminer for solo mining I keep getting pool0 slow/down or url or credentials invalid. I am going to keep cgminer pool mining for now. What information do I need to supply in order to get help with fixing this issue? Thank you in advance.  Huh
kano
Legendary
*
Offline Offline

Activity: 3738
Merit: 1581


Linux since 1997 RedHat 4


View Profile
November 11, 2014, 02:45:43 AM
 #15576

I am very new to mining and want to try my luck solo mining. I can get the cgminer to run on a pool no problem. I plan on pool mining too. My problem is when I try and set up cgminer for solo mining I keep getting pool0 slow/down or url or credentials invalid. I am going to keep cgminer pool mining for now. What information do I need to supply in order to get help with fixing this issue? Thank you in advance.  Huh
Try solo.ckpool.org ...
https://bitcointalk.org/index.php?topic=763510.0

The page there even explains how to mine there Smiley

Otherwise you'll need to setup a local bitcoind and learn all about doing that and also tuning it so you don't lose the block if you ever find one.

Also, don't "expect" to find one very soon using solo, unless you have something like 400THs or more of mining.

Pool: https://kano.is - lowest fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
knowndragon
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 11, 2014, 04:08:44 AM
 #15577

I am very new to mining and want to try my luck solo mining. I can get the cgminer to run on a pool no problem. I plan on pool mining too. My problem is when I try and set up cgminer for solo mining I keep getting pool0 slow/down or url or credentials invalid. I am going to keep cgminer pool mining for now. What information do I need to supply in order to get help with fixing this issue? Thank you in advance.  Huh
Try solo.ckpool.org ...
https://bitcointalk.org/index.php?topic=763510.0

The page there even explains how to mine there Smiley

Otherwise you'll need to setup a local bitcoind and learn all about doing that and also tuning it so you don't lose the block if you ever find one.

Also, don't "expect" to find one very soon using solo, unless you have something like 400THs or more of mining.
This is what I was afraid of. I did invest in some miners and have bitcoin-qt downloading and syncing transactions. I am running cgminer and have followed some strange guides. I know solo mining isn't the best and most of my hashing power is going to be involved in a pool. I want to set up some major hash for a lottery for none the less.

bitcoin.conf in the appdata is has follows.

server=1
gen=1
rpcuser=?
rpcpassword=?
rpcallowip=127.0.0.1
rpcport=8332
daemon=1
listen=1

cgminer.conf is has follows.

{
"pools" : [
   {
      "url" : "http://127.0.0.1:8332",
      "user" : "?",
      "pass" : "?"
   }
],

"intensity" : "15",
"gpu-engine" : "0-1050,",
"gpu-fan" : "0-85,",
"gpu-memclock" : "1500,",
"gpu-powertune" : "20,",
"temp-cutoff" : "95,",
"temp-overheat" : "85,",
"temp-target" : "75,",

"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"failover-only" : true,
"gpu-threads" : "2",
"log" : "5",
"queue" : "1",
"scan-time" : "30",
"temp-hysteresis" : "3",

"kernel-path" : "/usr/local/bin"
}

My deliveries don't start coming in till Wed. I would like to be able to have it sorted out and ready to go by then. Mining Bitcoin is not for the faint of heart. It isn't cheap but I believe I have the equipment coming to pay out my investment and keep me vested in it and bring a little profit. The equipment I speak of is not graphics cards either but some major hashing power. I am not trying to offend anyone but I am trying to take this serious. I will have two computer running five miners by the end of the month. I also have two computers sitting by idle and 4 800+ psu's.

I will say this I was able to stratum proxy solo mine but I didn't do it for long because of still learning how to tune things. If I don't use the mining proxy I get the pool0 slow/down error. Any help would be appreciated and has well I know I am late to the game but still see a profit to be made. At least I know I don't want to buy a pizza with 10,000 bitcoins. Also any tuning tutorials for bitcoin-qt that way I don't destroy or burn any bitcoins.

Thank you in advance for any help. It will be appreciated.
-ck
Legendary
*
Offline Offline

Activity: 3486
Merit: 1382


Ruu \o/


View Profile WWW
November 11, 2014, 04:14:33 AM
 #15578

cgminer.conf is has follows.

Code:
{
"pools" : [
{
"url" : "http://127.0.0.1:8332",
"user" : "?",
"pass" : "?"
}
],

"intensity" : "15",
"gpu-engine" : "0-1050,",
"gpu-fan" : "0-85,",
"gpu-memclock" : "1500,",
"gpu-powertune" : "20,",
"temp-cutoff" : "95,",
"temp-overheat" : "85,",
"temp-target" : "75,",

"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"failover-only" : true,
"gpu-threads" : "2",
"log" : "5",
"queue" : "1",
"scan-time" : "30",
"temp-hysteresis" : "3",

"kernel-path" : "/usr/local/bin"
}
Your cgminer configuration shouldn't even include any GPU commands whatsoever. This suggests to me that you're starting with some absolutely ancient version of cgminer. The solo mining component in cgminer was heavily rewritten a long time after GPU mining was removed. Please grab the latest cgminer and start again.

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

Activity: 28
Merit: 0


View Profile
November 11, 2014, 04:56:19 AM
 #15579

cgminer.conf is has follows.

Code:
{
"pools" : [
{
"url" : "http://127.0.0.1:8332",
"user" : "?",
"pass" : "?"
}
],

"intensity" : "15",
"gpu-engine" : "0-1050,",
"gpu-fan" : "0-85,",
"gpu-memclock" : "1500,",
"gpu-powertune" : "20,",
"temp-cutoff" : "95,",
"temp-overheat" : "85,",
"temp-target" : "75,",

"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"failover-only" : true,
"gpu-threads" : "2",
"log" : "5",
"queue" : "1",
"scan-time" : "30",
"temp-hysteresis" : "3",

"kernel-path" : "/usr/local/bin"
}
Your cgminer configuration shouldn't even include any GPU commands whatsoever. This suggests to me that you're starting with some absolutely ancient version of cgminer. The solo mining component in cgminer was heavily rewritten a long time after GPU mining was removed. Please grab the latest cgminer and start again.

Nice to meet you guys by the way. Yes I was using some old software. 3.3.1 I believe. I was following a guide off youtube. I was just hoping to get use to cgminer seeing has rockminer has a download of it. I plan on having a small farm though. I guess I am just chomping at the bit. I just download 4.7 don't know how to run it without the miners but atleast I will have it when the first one shows. Thank you guys for the help and hope you will be there in the future.
Askit2
Hero Member
*****
Offline Offline

Activity: 983
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 11, 2014, 10:57:06 AM
 #15580

Hah is there anything that guy won't attack? Now I'm really worried that my reputation will be tarnished by someone so esteemed in the bitcoin community.

At this point I would say he won't attack his employers. Or should that be previous employers if the BTC wallet in the other thread belongs to a principal and they liquidated it while being under investigation.

I'm glad you have a sense of humor.

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

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

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

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
Pages: « 1 ... 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 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 ... 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!