Bitcoin Forum
December 11, 2016, 10:16:57 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 [644] 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4828045 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.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 08:39:08 PM
 #12861

Yay windows. At this rate I'll inadvertently completely deprecate windows support  Roll Eyes

Gonna have to think on this. The rewrite started out trying to fix windows but instead linux keeps getting better and windows and osx worse.



+1
LOL, you want me to deprecate support for other OSes? I've gotta admit, I say that jokingly almost every single day. The reality is that 85% of my downloads from my site are for the windows binaries though. Let's call 3.5.1 the  last stable version for windows for the time being.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481451417
Hero Member
*
Offline Offline

Posts: 1481451417

View Profile Personal Message (Offline)

Ignore
1481451417
Reply with quote  #2

1481451417
Report to moderator
1481451417
Hero Member
*
Offline Offline

Posts: 1481451417

View Profile Personal Message (Offline)

Ignore
1481451417
Reply with quote  #2

1481451417
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 08:40:05 PM
 #12862

Hello,

I've updated cgminer to the latest one and now none of my bfl miners work. I get usb errors on all of them.  I'm running it on windows 7. Works fine on 3.4.3.. Any idea what may be wrong?

May not be related but if we changing lib do we have newer winusb to install now?
No, this issue is all in the libusb library built within cgminer.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 08:48:44 PM
 #12863

3.6.2 won't even run on Win7:
[2013-10-16 07:08:27] BAS 1 usb write err:(-5) LIBUSB_ERROR_NOT_FOUND
[2013-10-16 07:08:27] BAS1: RequestQueJob failed (err=-5 amt=0)

Works for me.
Totally utterly bizarre. Fine for one person and a completely random error from another. Yay libusb.

The only other ace I have up my sleeve is to go back to the libusb previously used and implement garbage collection to recover the lost memory that it leaks. This will make the binary a heck of a lot larger and probably impossible to run/build on small embedded hardware, so it will have to be for the non-linux versions only. Nothing's impossible, but this is starting to grate more than just a little  Tongue

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
ksenter
Member
**
Offline Offline

Activity: 90


View Profile
October 16, 2013, 09:28:38 PM
 #12864

Just fyi, the temp version that you put up a link to after 3.6.1 has been running fine for me for almost two days.  I haven't tried 3.6.2 yet.  I'll do that tonight.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 09:32:59 PM
 #12865

Just fyi, the temp version that you put up a link to after 3.6.1 has been running fine for me for almost two days.  I haven't tried 3.6.2 yet.  I'll do that tonight.
See that's odd, cos 3.6.2 should be the same as the temp version, but if you find something different on going to 3.6.2 it may point to a particular problem that isn't related to the libusbx merge. Thanks.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 16, 2013, 09:33:28 PM
 #12866

On the newest CGMiner 3.6.1 I have an issue on Linux. This problem is on a Raspberry Pi. It wasn't noticeable until I added more jalapeno's.
What happens is this. After running for a while it appears Linux runs out of USB devices. I know the problem is actually my USB devices errors.

The reason this seems like a problem is that when it runs out of devices in 22K shares or so 4 devices will not be working. It happens one at a time until it runs out completely. When it runs out the devices will be back to their initial numbering ex BAJ 7 and zombie. the only fix seems to be to quit cgminer so that it will start over. The hashrate is very low. I assume given enough other errors I would lose all 9.

Since no device was over 3% errors I would have assumed that it wouldn't get disabled as fast as it does. Most errors I notice are in response to a temp request. The reply is in process,0x(something),0x(something)(sometimes a third 0x(something) sometimes 0x00x00x00. At least that is how I remember it. I think that error was on 3.5.1. Current error looks like this
Code:
[2013-10-16 03:33:04] BAJ 28 usb read err:(1) **UNKNOWN**
 [2013-10-16 03:33:04] BAJ28: QueJobStatus failed (err=1 amt=0)
 [2013-10-16 03:33:04] BAJ 28 failure, disabling!

I am not running the newest raspbian. I use one from 2/13. It holds up longer while mining and less frequently locks up the UI.

I have a different problem on Windows. Using a USB 2 or USB 3 hub the error rate is low. Using usb 1  hub I get devices that have accepted in the single digits like 9 to 300+ errors. I will likely pick up a USB 2.0 hub tomorrow. I see this a lot. I don't think its an error though.
Code:
USB BAJ read 2 bugger buffering 2 extra bytes
On the former issue, you've probably run out of semaphores due to the limit being lower on an RPi. Can't remember offhand how to change them but they require a few sysctl options.

On the latter, that's not a bug but just verbose information you can ignore mostly.
It doesn't seem like the windows one is just informational. It starts with CGMiner and stops when the 4 hashing units on my old usb 1 hub stop hashing. It only shows up again when those units restart for their maybe 20 seconds before they stop working again for at least an hour. If it's not important that's ok. But something else is going on and that is all I see.

As far as  the Linux issue I can just have it stop every 800 shares. Script restarts it unless it fails on quit. So far that is only 3 times in 12 hours.

EDIT: replaced usb 1 hub with usb2 hub. happily hashing away now. Win information is gone and units don't stop working after around 20 seconds.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
October 16, 2013, 09:42:51 PM
 #12867

Yay windows. At this rate I'll inadvertently completely deprecate windows support  Roll Eyes

Gonna have to think on this. The rewrite started out trying to fix windows but instead linux keeps getting better and windows and osx worse.



You can do whatever if you can get a good image to use on my pi without it crashing after loading cgminer. Joke as you will if you could work around using winUSB That would get rid of your problems.

I'm still using windows and theres still other miners on windows if you find the need to kill a fork.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
October 17, 2013, 01:11:27 AM
 #12868

Anyone else have a random miner stop mining on 3.6.2.  I have 6 eroupters and one stopped working. I think CKolivias missed a bug somewhere. I ran it all night in 3.5.1 and didn't loose one soldier all night till I ran the new version for about half a day.


Also noting that 3.6.2 still won't close  it says "thread [2,1,5,3,4] failure exiting" when I press q to close. not sure if it has anything to do with my shown dead miner which was listed as amu 0.

BTW my total shares showed 64,000 if that's any magic number.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
October 17, 2013, 03:15:05 AM
 #12869

Yay windows. At this rate I'll ...  completely deprecate windows support  Roll Eyes



... actually expected that ages ago ...

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 17, 2013, 03:59:07 AM
 #12870

Yay windows. At this rate I'll ...  completely deprecate windows support  Roll Eyes



... actually expected that ages ago ...


Don't tempt me please it's hard enough to maintain motivation with windows support  Sad

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
October 17, 2013, 04:19:09 AM
 #12871

Yay windows. At this rate I'll ...  completely deprecate windows support  Roll Eyes



... actually expected that ages ago ...


Don't tempt me please it's hard enough to maintain motivation with windows support  Sad

Just sent you and Kano a little M$ Windoze support motivation.

Thanks for your efforts,
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?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 17, 2013, 05:38:23 AM
 #12872

Yay windows. At this rate I'll ...  completely deprecate windows support  Roll Eyes



... actually expected that ages ago ...


Don't tempt me please it's hard enough to maintain motivation with windows support  Sad

Just sent you and Kano a little M$ Windoze support motivation.

Thanks for your efforts,
Sam

Thanks man, much appreciated  Cheesy

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 17, 2013, 07:07:41 AM
 #12873

3.6.2 isn't quiting on Linux. Well it quits and doesn't ever stop completely.

Code:
cgminer version 3.6.2 - Started: [2013-10-17 00:53:31]
--------------------------------------------------------------------------------
 (2s):43.64G (avg):45.73Gh/s | A:5756  R:0  HW:11  WU:651.9/m
 ST: 2  SS: 0  NB: 1  LW: 5819  GF: 0  RF: 0
 Connected to multiple pools with block change notify
 Block: 000902dd937a4e9a...  Diff:268M  Started: [00:53:30]  Best share: 48.3K
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BAJ  0:  max 43C 3.93V | 5.278G/5.255Gh/s | A:555 R:0 HW: 0 WU: 70.8/m
 BAJ  1:  max 41C 3.85V | 5.207G/5.172Gh/s | A:615 R:0 HW: 0 WU: 76.4/m
 BAJ  2:  max 44C 3.60V | 5.186G/4.959Gh/s | A:506 R:0 HW: 0 WU: 74.1/m
 BAJ  6:  max 45C 3.90V | 5.662G/5.411Gh/s | A:804 R:0 HW: 0 WU: 78.9/m
 BAJ  7:  max 43C 3.55V | 5.067G/5.165Gh/s | A:613 R:0 HW:11 WU: 74.5/m
 BAJ 27:  max 44C 3.99V | 5.495G/5.556Gh/s | A:333 R:0 HW: 0 WU: 82.3/m
 BAJ 29:  max 45C 4.02V | 5.071G/5.383Gh/s | A: 41 R:0 HW: 0 WU: 86.4/m
 BAJ 32:  max 44C 3.50V | 5.494G/5.481Gh/s | A:123 R:0 HW: 0 WU: 82.8/m
 BAJ 33:  max 45C 2.46V | 5.909G/5.447Gh/s | A: 65 R:0 HW: 0 WU: 78.3/m
--------------------------------------------------------------------------------
 [2013-10-17 00:53:30] Pool 2 difficulty changed to 32
0)
 [2013-10-17 01:02:15] BAJ2: RequestResults failed no data returned  (err=0 amt=
0)
 [2013-10-17 01:02:15] BAJ1: RequestResults failed no data returned  (err=0 amt=
0)
 [2013-10-17 01:02:15] BAJ6: RequestResults failed no data returned  (err=0 amt=
0)
 [2013-10-17 01:02:15] BAJ33: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 01:02:15] Thread 33 failure, exiting
 [2013-10-17 01:02:15] BAJ2: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 01:02:15] BAJ0: RequestResults failed no data returned  (err=0 amt=
0)
 [2013-10-17 01:02:15] Thread 2 failure, exiting
 [2013-10-17 01:02:15] BAJ7: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 01:02:15] Thread 7 failure, exiting
 [2013-10-17 01:02:15] BAJ1: QueFlush failed no data returned  (err=0 amt=0)
I am guess that it shouldn't stop on que flush. Since this happens reguardless of the zombie units I can't just stop it by asking nicely for it to stop after a number of shares.

Anything I can do to help you find the problem I will be happy to do.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
October 17, 2013, 07:50:18 AM
 #12874

Yay windows. At this rate I'll ...  completely deprecate windows support  Roll Eyes



... actually expected that ages ago ...


Don't tempt me please it's hard enough to maintain motivation with windows support  Sad

Just sent you and Kano a little M$ Windoze support motivation.

Thanks for your efforts,
Sam
Oh wow! Thanks - very generous indeed Smiley
I can very well say the API still works perfectly on windows Cheesy
I don't suppose you want that 5s MHs added to the summary also?
I'll do it shortly just in case Smiley

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 17, 2013, 09:50:14 AM
 #12875

New version: 3.6.3 - 17th October 2013

Just because I can't stand having a release out that is causing lots of problems, here's a release capitalising on the least worst aspects of 3.6 so far (for windows). Linux users seem fine regardless of which 3.6 release they use Tongue


Human readable changelog:

- Rolled back to libusb-1.0.16-rc10 instead of libusbx. This one intrinsically had the least worst incidence of run-over timeouts but had the issue with memory leaks when they're all done manually from within cgminer on windows. So as a compromise, the linux version does all timeouts from cgminer and the other OS versions use libusb's own timeouts and try to cancel transfers if they go beyond the libusb timeouts only. This will not completely obliterate the timeout issues on windows but should ameliorate them. It also should avoid running out of memory on windows due to the intrinsic leaks. Linux users should be blissfully unaffected by any of these issues and just benefit from the better performance/lower overhead.
- Kano added the overall MHS to summary (amazing what a BTC donation can do as an incentive - people take note!)
- Reverted some other internal usb changes that were unhelpful and possibly counterproductive.


Full changelog:

- API add 'MHS %ds' to 'summary'
- Optional lock tracking and stats via the API
- Speed up polling repeat again in usb poll thread and handle async after the
message to disable polling is complete.
- Revert to using timeouts on !linux since libusb leaks memory without them.
- Revert to libusb instead of libusbx

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
October 17, 2013, 11:48:33 AM
 #12876

When I done paying off some things I give you something. it may just not have whatever they gave you to make you go wow. Huh Kiss

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
ksenter
Member
**
Offline Offline

Activity: 90


View Profile
October 17, 2013, 02:09:40 PM
 #12877

Shoot, I forgot to try 3.6.2 last night.  Sorry.  I just switched over to 3.6.3 though, so we'll see how that runs.  Thanks again for all of your hard work.
xzion
Member
**
Offline Offline

Activity: 96


View Profile
October 17, 2013, 03:19:44 PM
 #12878

Just updated to windows 8.1 and my BFL SC Jalepeno would no longer work.

Heads up for anyone else having issues, the problem is not with cgminer but the USB driver. You just need to open zadig again and apply the WinUSB driver.

X

 

Tips: 1xzionJBueq1AkPSmexA7suWkztAkNwSs
tonyca
Member
**
Offline Offline

Activity: 77


View Profile
October 17, 2013, 04:16:25 PM
 #12879

 [2013-10-17 10:02:15] BAJ33: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 10:02:15] Thread 33 failure, exiting
 [2013-10-17 10:02:15] BAJ2: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 10:02:15] BAJ0: RequestResults failed no data returned  (err=0 amt=
0)
 [2013-10-17 10:02:15] Thread 2 failure, exiting
 [2013-10-17 10:02:15] BAJ7: QueFlush failed no data returned  (err=0 amt=0)
 [2013-10-17 10:02:15] Thread 7 failure, exiting
 [2013-10-17 10:02:15] BAJ1: QueFlush failed no data returned  (err=0 amt=0)

got same error as version 3.61 with win 8

BTC: 1KS9rRw6uv7mptjEVhBHYMtGKK2QfWVju4
AMT order #645 and #962, where is my refund?
totally amount is US(645#for $ 5155+#962 for $6089)= US$11244
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 17, 2013, 04:30:23 PM
 #12880

3.6.3 is working on my router with a bit of crow-barring:
https://bitcointalk.org/index.php?topic=76685.msg3356610#msg3356610

Not using windows anymore.
Pages: « 1 ... 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 [644] 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 ... 830 »
  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!