Bitcoin Forum
April 25, 2024, 12:04:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 792 793 794 795 796 797 798 799 800 ... 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.)
Killerloop
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
May 29, 2014, 06:56:36 AM
 #14981

Mine isn't

Yeah sorry, a little misunderstanding on my part  Smiley

Loan request: "I need 7 BTC because We hired an archaelogist and asked him: Is there a treasure? And he said yes!"
1714046689
Hero Member
*
Offline Offline

Posts: 1714046689

View Profile Personal Message (Offline)

Ignore
1714046689
Reply with quote  #2

1714046689
Report to moderator
1714046689
Hero Member
*
Offline Offline

Posts: 1714046689

View Profile Personal Message (Offline)

Ignore
1714046689
Reply with quote  #2

1714046689
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714046689
Hero Member
*
Offline Offline

Posts: 1714046689

View Profile Personal Message (Offline)

Ignore
1714046689
Reply with quote  #2

1714046689
Report to moderator
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
May 30, 2014, 01:39:20 PM
 #14982

Bitmain does some terrible things in their driver including ... discarding stale work in the driver before passing it to the work validation code.
This means on p2pool that if you find a stale block that is still a valid network block, it will be discarded. Oh well.

Use my driver for S1 if you don't want to throw such valid blocks away on p2pool.

My S2 driver is still in development - I'm still trying to work out why the device thinks it's a good idea to have >8000 work items queued in it - more than 30s of work - and to work out how to reduce that without letting it get idle - so I'm still waiting on source code from bitmain.

Hey Kano - did Bitmain get back to you yet my man?

My poor S2's are crying out to be set free......... Cheesy Cheesy

Peace.

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
MarketNeutral
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251


View Profile
May 30, 2014, 07:25:45 PM
 #14983

The mandatory solo mining parameter "btc-address" almost sneaked by me——don't want to be mining for someone else. A reminder to everyone to actually read the readme.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 30, 2014, 09:11:39 PM
 #14984

The mandatory solo mining parameter "btc-address" almost sneaked by me——don't want to be mining for someone else. A reminder to everyone to actually read the readme.
You can't mine for someone else. It simply wont mine without an address. There was only one older version that would mine somewhere else if you didn't put an address in and it was removed quickly because of the complaints.

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

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 30, 2014, 10:08:07 PM
 #14985


Hardware is actively cooled and working in air conditioned room - always below 42C.

Here is the debug:
Code:
Thanks. There's not much information in that. Did you use the debug cgminer.exe binary from that directory as well?

Yes I did. I've run it again.
On the miner console I get this:
Code:
[2014-05-27 07:50:08] BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT
[2014-05-27 07:50:14] BXF 2 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-05-27 07:50:14] BXF 2: Error 0 sending BXFWork sent 0 of 162
Debug:
Code:
cgminerDebug.exe caused an Access Violation at location 74de9a24 in module msvcrt.dll Reading from location 7881399c.

Registers:
eax=00000001 ebx=00000000 ecx=74616368 edx=00000003 esi=78813999 edi=78813d65
eip=74de9a24 esp=041fd4f0 ebp=041fd4f8 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Thanks. For whatever reason there's not enough information to know exactly why it's crashing suggesting it's crashing outside the debug built code within cgminer. I'll look through that particular code part of cgminer to see if I can figure out what might be triggering it.

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

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 31, 2014, 03:13:53 AM
 #14986

Yes I did. I've run it again.
On the miner console I get this:
Code:
[2014-05-27 07:50:08] BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT
[2014-05-27 07:50:14] BXF 2 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-05-27 07:50:14] BXF 2: Error 0 sending BXFWork sent 0 of 162
Debug:
Code:
cgminerDebug.exe caused an Access Violation at location 74de9a24 in module msvcrt.dll Reading from location 7881399c.

Registers:
eax=00000001 ebx=00000000 ecx=74616368 edx=00000003 esi=78813999 edi=78813d65
eip=74de9a24 esp=041fd4f0 ebp=041fd4f8 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Thanks. For whatever reason there's not enough information to know exactly why it's crashing suggesting it's crashing outside the debug built code within cgminer. I'll look through that particular code part of cgminer to see if I can figure out what might be triggering it.
Here try this experimental binary and see if it helps please:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

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

Activity: 50
Merit: 0



View Profile
May 31, 2014, 12:16:14 PM
 #14987

Is cgminerdownload.com a fake download site?
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
May 31, 2014, 12:18:16 PM
 #14988

Is cgminerdownload.com a fake download site?

Probably.  Why not use the known published legit one?

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
kefky
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
May 31, 2014, 12:25:21 PM
 #14989

Sure, I wouldn't download anything from this site!

Is cgminerdownload.com a fake download site?

Probably.  Why not use the known published legit one?

M
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 31, 2014, 01:50:51 PM
 #14990

Bitmain does some terrible things in their driver including ... discarding stale work in the driver before passing it to the work validation code.
This means on p2pool that if you find a stale block that is still a valid network block, it will be discarded. Oh well.

Use my driver for S1 if you don't want to throw such valid blocks away on p2pool.

My S2 driver is still in development - I'm still trying to work out why the device thinks it's a good idea to have >8000 work items queued in it - more than 30s of work - and to work out how to reduce that without letting it get idle - so I'm still waiting on source code from bitmain.

Hey Kano - did Bitmain get back to you yet my man?

My poor S2's are crying out to be set free......... Cheesy Cheesy

Peace.
No more source yet.
I have everything except the SPI kernel code (which I'll implement in cgminer if I can get it - and solve it all in one place)
Code, of course, is necessary since there are no Bitmain docs on the AntMiner hardware.

Bitmain US has been ever so helpful with my S2 though Smiley
Replacement boards and controllers after that pile of damage that originally arrived.

It's rather annoying though that mine doesn't work 100%, since I'm really not sure how my current replacement driver performs.
I can get it running at >990GH/s for hours, but then find it drops. At least I do also get the same issue with their version of the driver ... so it must be my S2 - but I simply cant be 100% certain if it is hardware, the SPI kernel module, or the driver.
I'll probably put out a test firmware next week anyway - with the new cgminer and also a small collection of changes here and there in the firmware itself - so I can see some comparisons on various S2s.

Running yet another overnight run to see how it goes ... after a few hours.
This time it's a new backplane AND a new controller ... fingers crossed.
(I'm 99% sure the 10 boards are OK since I can swap them around without effect)

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
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 31, 2014, 02:05:21 PM
 #14991

Is cgminerdownload.com a fake download site?
I've never heard of it so I would say it is guaranteed to be a fake. My site and kano's mirrored files listed in the opening post are the only official cgminer downloads.

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: 3780
Merit: 2496



View Profile
May 31, 2014, 04:26:02 PM
 #14992

@ckolivas

My Raspberry with Cgminer 4.3.4 is very unstable, it's possible that the Cgminer have a problem with BiFuryTwin and Antminers at the same time?

When i used only "./configure --enable-bitfury" the Raspberry would't crash, but when i used "./configure --enable-bitfury --enable-icarus" at the same time my Raspberry crash and restart!

Cgminer config:
Quote
"api-listen" : true,
"api-allow" : "W:192.168.0.15",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"log" : "5",
"no-pool-disable" : true,
"queue" : "2",
"scan-time" : "60",
"worktime" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"api-allow" : "0/0",
"bxm-bits" : "53",
"anu-freq" : "250"

regards and thanks for your answer Wink

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 31, 2014, 10:13:48 PM
 #14993

@ckolivas

My Raspberry with Cgminer 4.3.4 is very unstable, it's possible that the Cgminer have a problem with BiFuryTwin and Antminers at the same time?

When i used only "./configure --enable-bitfury" the Raspberry would't crash, but when i used "./configure --enable-bitfury --enable-icarus" at the same time my Raspberry crash and restart!
Does only cgminer crash or the whole RPi? If it's the whole RPi then you have an instability problem with your Pi which is common, not cgminer. Usually a different SD card or kernel upgrade or different distribution is the way to fix that. If it's just cgminer that crashes, try making a debug build using the instructions here:
http://ck.kolivas.org/apps/cgminer/debug/

As a workaround you can simply set cgminer to restart whenever there's a problem (if it's just cgminer crashing and not the whole Pi).

while true ; do ./cgminer [commands] && sleep 5 ; done

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: 3780
Merit: 2496



View Profile
June 01, 2014, 06:35:02 AM
 #14994

Hello and thanks for your answer. I think the problem is the Antminer (Icarus) driver, by me the Raspberry start a reboot when Cgminer hangs (Watchdog).

With the 8 x Bifurys (./configure --enable-bitfury) i have no problem the miners run without a reboot!

But whn i test my 8 x Antminers U2+ (./configure --enable-icarus) the Cgminer reboot my Raspberry about one time in a hour!?

With the command (./configure --enable-bitfury --enable-icarus) its the same?

Also the follow command i have set:

Quote
Raspberry Pi is locking up when running CGMiner

If your RPi is freezing randomly after some time (could be minutes, could be hours or days) with error like Oops: PREEMPT ARM, CPU0 Not tainted printed out over HDMI, and with locked up ethernet and USB interfaces, you have to add following option to the /boot/cmdline.txt file on SD card:
slub_debug=FP


regards

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
June 01, 2014, 07:35:18 AM
 #14995

Software should never make the operating system crash, even if it's always the same software driver in this case.

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: 3780
Merit: 2496



View Profile
June 01, 2014, 09:03:30 AM
Last edit: June 01, 2014, 05:24:18 PM by Buchi-88
 #14996

OK, when i make a debug file, help that?

Is this so correct when im using the ANT and BiFury?

Quote
./configure --enable-bitfury --enable-icarus

make -g

Then i build a debug file?

It's strange, I hardly use the ants launches the Pi always new (since Cgminer hangs) at the BiFurys there are no problems?

regards

Edit:

At time i use the Cgminer 4.2.3 and over 4 hours it's all OK with the configs no Pi restart...!!??

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
June 01, 2014, 05:34:31 PM
 #14997

It's rather annoying though that mine doesn't work 100%, since I'm really not sure how my current replacement driver performs.
I can get it running at >990GH/s for hours, but then find it drops. At least I do also get the same issue with their version of the driver ... so it must be my S2 - but I simply cant be 100% certain if it is hardware, the SPI kernel module, or the driver.
I'll probably put out a test firmware next week anyway - with the new cgminer and also a small collection of changes here and there in the firmware itself - so I can see some comparisons on various S2s.

I hear you, it's very frustrating - especially as I can't use it on p2pool without losing even more hashing rate. I must have been lucky with mine though, only minor courier impact (loose/disconnected cables) & it hashes at ~1050Gh/s steady. I'd be happy to help if you need any testers by the way - just let me know.

Thanks again Kano  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Buchi-88
Legendary
*
Offline Offline

Activity: 3780
Merit: 2496



View Profile
June 02, 2014, 04:06:08 PM
 #14998

OK, when i make a debug file, help that?

Is this so correct when im using the ANT and BiFury?

Quote
./configure --enable-bitfury --enable-icarus

make -g

Then i build a debug file?

It's strange, I hardly use the ants launches the Pi always new (since Cgminer hangs) at the BiFurys there are no problems?

regards

Edit:

At time i use the Cgminer 4.2.3 and over 4 hours it's all OK with the configs no Pi restart...!!??


Hello after a few of tests, I think its a compatibility problem between Cgminer and a other Software (RaspControl for the Cgminer) to Log the Cgminer!

Quote

But the crashes are only by the Antminers and very often with the new 4.3.4 with 4.2.0 it's better.

regards

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
June 03, 2014, 04:48:50 AM
 #14999

Hi again guys - another question about the S2 thing. I've noticed that there is an Ubuntu distro for the Beaglebone, which is the S2 controller, so was wondering if it would be possible to use cgminer on this instead of the current Linux distro? Would cgminer be able to detect the hashing boards via pci though? Maybe in the same way it used to detect GPU's? I'm not sure - just throwing stuff out there.........if only they were usb .......

Peace  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Aexcu
Full Member
***
Offline Offline

Activity: 130
Merit: 100


View Profile
June 03, 2014, 05:44:46 PM
 #15000

I've been solo mining with cgminer 3.12.3 and now updated to 4.3.4.

However, the same setup (BITMAIN AntMiner U1) which worked on the earlier version, no longer seems to work on the new. (Startup simply: "cgminer.exe -u blah -p blah -o 127.0.0.1:8332")

Running a --debug gives the following:

Popping work from get queue to get work
Testing pool stratum+tcp://localhost:8332
Succeeded delayed connect
Socket closed waiting in recv_line
Closing socket for stratum pool 0
Failed to parse a \n terminated string in recv_line
Initiate stratum failed
Closing socket for stratum pool 0
Waiting for work to be available from pools


I tried starting it with the --fix-protocol -option, but to no avail.
Pages: « 1 ... 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 792 793 794 795 796 797 798 799 800 ... 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!