Bitcoin Forum
April 26, 2024, 02:15:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 830 831 832 833 834 835 836 837 838 839 840 841 842 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805212 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.)
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
May 31, 2015, 02:08:22 AM
 #15961

The configuration option
--enable-blockerupter is for the Tube/Prisma's only right?

whereas
--enable-icarus is for the old ASIC Miner Block Erupters?
Thanks,
Sam


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?
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714140953
Hero Member
*
Offline Offline

Posts: 1714140953

View Profile Personal Message (Offline)

Ignore
1714140953
Reply with quote  #2

1714140953
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
May 31, 2015, 10:10:00 PM
 #15962

The configuration option
--enable-blockerupter is for the Tube/Prisma's only right?

I guess so, I've never seen one.
It matches USB devices with
 .idVendor = 0x10c4,
 .idProduct = 0xea60,
and calls them "BET"


whereas
--enable-icarus is for the old ASIC Miner Block Erupters?
Thanks,
Sam
Icarus:
Old Asicminer USB, Bitmain U1 + U2, Avalon USB, Cairnsmore, Icarus, Lancelot ... and RBox
and anything that pretends to be one of the above.

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
May 31, 2015, 11:38:10 PM
 #15963

Kano,
Thanks for the clarification.

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?
Wh1teKn1ght
Sr. Member
****
Offline Offline

Activity: 339
Merit: 251


View Profile
June 01, 2015, 04:29:50 AM
 #15964

I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?

Thanks!

Are you running Windoze or Linux?

If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it.  Don't know if it will make a difference for you or not but that got my Monarchs working.
Sam

I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference...
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 01, 2015, 10:34:50 PM
 #15965

I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?

Thanks!

Are you running Windoze or Linux?

If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it.  Don't know if it will make a difference for you or not but that got my Monarchs working.
Sam

I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference...
Well there was this commit
https://github.com/ckolivas/cgminer/commit/666f0059caee111ba40ab4cbe505a8aaae7b5be2
that -ck did but I don't know what's in the cgminer.exe you tried
Post here the output of cgminer -n and that should say what the updated commit will detect it as

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Wh1teKn1ght
Sr. Member
****
Offline Offline

Activity: 339
Merit: 251


View Profile
June 03, 2015, 03:22:10 AM
 #15966

I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?

Thanks!

Are you running Windoze or Linux?

If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it.  Don't know if it will make a difference for you or not but that got my Monarchs working.
Sam

I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference...
Well there was this commit
https://github.com/ckolivas/cgminer/commit/666f0059caee111ba40ab4cbe505a8aaae7b5be2
that -ck did but I don't know what's in the cgminer.exe you tried
Post here the output of cgminer -n and that should say what the updated commit will detect it as

Here's the output:
 [2015-06-02 22:21:44] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 7 Device 2 ID: 0403:6014
  Manufacturer: 'FTDI'
  Product: 'BitFORCE SHA256 SC'                   
 [2015-06-02 22:21:44] 1 known USB devices     
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 03, 2015, 11:13:47 PM
 #15967

OK that reply says the latest git should detect it as a BFL SC
So I guess stick with 4.9.0 and when 4.9.2 comes out it should be fixed.
https://github.com/ckolivas/cgminer/blob/master/usbutils.c#L437

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
luthermarcus
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
June 04, 2015, 03:14:12 AM
 #15968

hey kano are you working on the s3+ firmware as well?

Donate Bitcoin
1Mz7ZHxPhoH1ZK2yQvo62NdHvvsS2quhzc
Donate TRX
TB3WiLEj6iuSBU5tGUKyZkjB4vqrBDvoYM
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 04, 2015, 05:03:49 AM
 #15969

hey kano are you working on the s3+ firmware as well?
I don't have an S3+ only two S3s
But I expect it will work, and I'll ask a guy at Bitmain to check it I guess since he has hundreds of them Tongue
- probably just need to select the S3+ advanced menu setting to get S3+ performance.

I've put the basic changes into my git but still a few wrinkles to iron out.

It turns out from a driver point of view, the S3 is a USB S2 with a few settings different.
However they also changed things in the last firmware that means it requires a factory reset after installing the last firmware before it works properly ... and also, that I've not done yet, update the pic firmware, coz the speed dropped considerably on the S3 that I simply updated the firmware without adding any of my changes

Getting there ...

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
June 04, 2015, 09:35:32 AM
 #15970

I've updated the AntS1 binary in my binaries git hub of 4.9.1c cgminer including an IPv6 fix.
https://github.com/kanoi/cgminer-binaries/tree/master/AntS1

I've also put up a new AntS2 full firmware of current git cgminer 4.9.1+
https://github.com/kanoi/cgminer-binaries/tree/master/AntS2

Just had the chance to update to 4.9.1c from 4.9.1a
I had 4.6.1 installed prior to updating to 4.9.1a (and 4.3.2a before that), and can say without doubt that with 4.9.1a the API was broken 4.9.1c seems to have restored it (at least the non privileged stats polling).

I know this was mentioned before (and I have not yet tried it on the latest), but is it possible to now run the privileged API commands remotely (ie not through putty) with the latest 4.9.1c?

kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 04, 2015, 11:05:54 AM
 #15971

I've updated the AntS1 binary in my binaries git hub of 4.9.1c cgminer including an IPv6 fix.
https://github.com/kanoi/cgminer-binaries/tree/master/AntS1

I've also put up a new AntS2 full firmware of current git cgminer 4.9.1+
https://github.com/kanoi/cgminer-binaries/tree/master/AntS2

Just had the chance to update to 4.9.1c from 4.9.1a
I had 4.6.1 installed prior to updating to 4.9.1a (and 4.3.2a before that), and can say without doubt that with 4.9.1a the API was broken 4.9.1c seems to have restored it (at least the non privileged stats polling).

I know this was mentioned before (and I have not yet tried it on the latest), but is it possible to now run the privileged API commands remotely (ie not through putty) with the latest 4.9.1c?
Well the fix was related to the problem of using partial addresses like 192.168.0/24 instead of 192.168.0.0/24
(the IPv6 code added, removed the commented code that did that Tongue)

Using priv commands is to do with the W/R options
To enable remote access priv commands you can allow the local subnet IP/24
e.g. W:192.168.0/24 (if your local subnet is 192.168.0.*)
Or give specific remote IPs access with W:RemoteIP

So for normal access it would look something like:
W:127.0.0.1,W:192.168.0/24,W:A.B.C.D

and thus priv access is given to the local cgminer-api on the miner, any computer in the 192.168.0.* subnet and the remote computer A.B.C.D

You should always have W:127.0.0.1
The others can be R: for read access instead of W: for write/priv access

And of course you can do a lot more than that Smiley
https://github.com/ckolivas/cgminer/blob/master/API-README

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
June 04, 2015, 12:18:22 PM
 #15972

Using priv commands is to do with the W/R options
To enable remote access priv commands you can allow the local subnet IP/24
e.g. W:192.168.0/24 (if your local subnet is 192.168.0.*)
Or give specific remote IPs access with W:RemoteIP

So for normal access it would look something like:
W:127.0.0.1,W:192.168.0/24,W:A.B.C.D

and thus priv access is given to the local cgminer-api on the miner, any computer in the 192.168.0.* subnet and the remote computer A.B.C.D

You should always have W:127.0.0.1
The others can be R: for read access instead of W: for write/priv access

And of course you can do a lot more than that Smiley
https://github.com/ckolivas/cgminer/blob/master/API-README

Just to clarify, the documentation referenced above sems to contain notation for latter filesystem layouts. For the S1, the config file "seems" to be /etc/config/cgminer, which (at least on my S1's) is not in JSON format.
Here's mine, though I still can not access the priv command remotely (note that I've tried with the specific IP, with just the network and both as below). Also, is it necessary to restart cgminer after editing the file?

Code:
root@antMinerS1:~# vi /etc/config/cgminer

config cgminer 'default'
        option chip_frequency '282'
        option miner_count '24'
        option api-listen 'true'
        option api_allow 'W:127.0.0.1,192.168.1.60,192.168.1/24'
        option more_options '--quiet --api-network'
        option target '60'
        option overheat '70'
        option pool2pw 'x'
        option pool1user 'my.worker3'
        option pool1pw 'x'
        option pool2user '1WQgqP7A2KuQ4WT4273JXZPUf29BAbxf6'
        option pool1url 'stratum+tcp://stratum.bitcoin.cz:3333'
        option pool2url 'stratum+tcp://stratum.kano.is:3333'

kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 04, 2015, 02:19:29 PM
 #15973

W:127.0.0.1,192.168.1.60,192.168.1/24

The W: doesn't pass on to the others so the others are effectively R:

You need a W: on the front each one you want full access

e.g.

W:127.0.0.1,W:192.168.1.60,192.168.1/24

will also give 192.168.1.60 full access


... and yes you need to restart cgminer - you can't change the API settings ever on a running cgminer

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
June 04, 2015, 02:25:02 PM
 #15974

W:127.0.0.1,192.168.1.60,192.168.1/24

The W: doesn't pass on to the others so they others are effectively R:

You need a W: on the front each one you want full access

e.g.

W:127.0.0.1,W:192.168.1.60,192.168.1/24

will also give 192.168.1.60 full access

Ahh! The detail of prepending the W on each IP / range evaded me ..... and that for ages! I had resorted to the insecure S5 default of W:0/0
Thanks for clarifying .....

EDIT: I've been palying with this today and had reverted to 4.9.1a to check .... and it seems to be working OK (even for non priv polling), so I'll have to strike out my earlier comment about 4.9.1a breaking the API (and blame it on the gremlins).

minerjoen
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
June 06, 2015, 08:47:09 AM
 #15975

Hey guys,

There were i am still using CGminer 4.8.0 i also want to test the newest version 4.9 / 4.9.1, however when i use the same .bat file from 4.8.0 ( what is working perfectly ) my command prompt is opening and close directly.
So the only thing i did was taking the .bat file from 4.8.0 and place it in the 4.9 and 4.9.1 ( tested both ) but cgminer wont open, yeah well just for 0.5 sec and it close directly.

I try to read as much as possible on this topic, but i cant find the answer on my question. I dont get a message that he dont support or see my miner ( because that's easy to fix ), but my miner (cgminer) just wont start running..

The miner i am using for test is an antminer u3. 4.8 is working ''fine'' but i hope the newer version give me a stable hash rate, because with 4.8 i get on the U3 a hashrate from 50ghs / 66 ghs. So 4.8 is not that stable.

The .bat file i am using on 4.8 (but not working on 4.9/4.9.1) on Windows7 is:
cgminer.exe --bmsc-options 115200:0.57 -o stratum+tcp://notimportant.com -u 2XdsyV7ThMVPalsonotimportantoL1ctW1rJDk -p x --bmsc-voltage 0800  --bmsc-freq 1286


Hope to get a sollution in here

Bitcoin: 1GPjrqoWGQfqyCEYnPhbA3nWN9dmMwFHRE
Elementrem: 0xF4789b95826C4474B3E7C780Fd90f639b51C4B6c
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 06, 2015, 10:23:40 AM
 #15976

You at least need to open a command prompt and run the command and see what the error is.
More details if you add -D --verbose to the cgminer options.
But most likely it will show without them.
Also ... cgminer -n will tell you what hardware it finds.

Pool: https://kano.is - low 0.5% 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
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
minerjoen
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
June 06, 2015, 10:39:44 AM
 #15977

You at least need to open a command prompt and run the command and see what the error is.
More details if you add -D --verbose to the cgminer options.
But most likely it will show without them.
Also ... cgminer -n will tell you what hardware it finds.

like: cgminer.exe -D --verbose --bmsc-options 115200:0.57 -o stratum+tcp://hashgoal.com:3332 -u 2XdsyV7ThMVPp65PxSmWmjpoL1ctW1rJDk -p x --bmsc-voltage 0800  --bmsc-freq 1286
?
because of i do this, i get nothing to see.

Bitcoin: 1GPjrqoWGQfqyCEYnPhbA3nWN9dmMwFHRE
Elementrem: 0xF4789b95826C4474B3E7C780Fd90f639b51C4B6c
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
June 06, 2015, 12:42:37 PM
 #15978

You at least need to open a command prompt and run the command and see what the error is.
More details if you add -D --verbose to the cgminer options.
But most likely it will show without them.
Also ... cgminer -n will tell you what hardware it finds.

like: cgminer.exe -D --verbose --bmsc-options 115200:0.57 -o stratum+tcp://hashgoal.com:3332 -u 2XdsyV7ThMVPp65PxSmWmjpoL1ctW1rJDk -p x --bmsc-voltage 0800  --bmsc-freq 1286
?
because of i do this, i get nothing to see.

That's what you do 2nd.  First you run your original command line in a DOS window and see what you get.

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?
hurricandave
Legendary
*
Offline Offline

Activity: 966
Merit: 1003



View Profile
June 06, 2015, 02:16:53 PM
Last edit: June 06, 2015, 04:23:19 PM by hurricandave
 #15979

When he wrote and saved the original bat file, it was saved in the 4.8* folder and most likely has that path defined in the hidden part of the titled path. Try deleting the bat file in 4.9*. Navigate to 4.8*,  open the old bat file in edit, then left click and drag over its text, select copy. Close that session. Open the 4.9* CGminer folder and create a new text file in it. Open that file with notebook/edit and right click to Paste your text/only from the original bat file. Now save it in 4.9* as a bat and see if it works.

Quote- So the only thing i did was taking the .bat file from 4.8.0 and place it in the 4.9 and 4.9.1 ( tested both ) but cgminer wont open, yeah well just for 0.5 sec and it close directly.
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
June 06, 2015, 04:10:48 PM
 #15980

I had a Monarch die so I had to send it in.  It came back from repair and now it only hashes around 70 to 80 Ghs with CGMiner 4.9.1 with the replacement .exe.  If I use the "special" version of BFGMiner on a 64 bit machine it hash's fine.  It used to hash fine with CGMiner too.  Any idea's?
Thanks,
Sam

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?
Pages: « 1 ... 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 830 831 832 833 834 835 836 837 838 839 840 841 842 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!