Bitcoin Forum
December 10, 2016, 05:01:12 PM *
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 ... 593 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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4826768 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.
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 16, 2013, 09:38:25 AM
 #12841

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

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=
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481389272
Hero Member
*
Offline Offline

Posts: 1481389272

View Profile Personal Message (Offline)

Ignore
1481389272
Reply with quote  #2

1481389272
Report to moderator
1481389272
Hero Member
*
Offline Offline

Posts: 1481389272

View Profile Personal Message (Offline)

Ignore
1481389272
Reply with quote  #2

1481389272
Report to moderator
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 16, 2013, 09:50:11 AM
 #12842


Won't really help. The debug version only does something if it crashes.

Oh.

Thought you have some other trickery in there :/
I wish. The debug builds in there are based on 3.6.1 currently so they will likely have the memory leak bug inherent in the included libusb. That said, sometimes strangely issues go away on debug builds due to a bug showing up only with optimisations enabled (debug builds have no compiler optimisations).


yeah, stopped working with a stream of mem errors again. actually -11, not -7
giving 3.5.1 another bash now.
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 16, 2013, 09:52:12 AM
 #12843

Why's my API output garbled???
(3.6.1 windows binary)

...
Does java API summary get the same result?

Edit: or to see the JSON version: java API "{\"command\":\"summary\"}"

comes out fine both formats there.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
October 16, 2013, 10:09:37 AM
 #12844

Why's my API output garbled???
(3.6.1 windows binary)

...
Does java API summary get the same result?

Edit: or to see the JSON version: java API "{\"command\":\"summary\"}"

comes out fine both formats there.
That means the problem is the code you are using to read the API, not the API.
e.g. a php, json,python or whatever you are using update issue?

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 16, 2013, 12:50:37 PM
 #12845

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.

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

Activity: 924


View Profile WWW
October 16, 2013, 01:03:20 PM
 #12846

Why's my API output garbled???
(3.6.1 windows binary)

...
Does java API summary get the same result?

Edit: or to see the JSON version: java API "{\"command\":\"summary\"}"

comes out fine both formats there.
That means the problem is the code you are using to read the API, not the API.
e.g. a php, json,python or whatever you are using update issue?

Yeah, seems to be the php json_decode() function has stopped working. Bizzare.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 01:34:31 PM
 #12847

New version: 3.6.2, 17th October 2013

New release, 2 new library versions. Finally gave up and moved to libusbx which works less bad on windows with the asynchronous code cgminer uses. Also a new jansson in tree full build.

Human readable changelog:

- New version of jansson has some minor bugfixes, but more importantly now is built properly from within the build tree such that changes to configuration will rebuild it. Alas this makes ./configure now take even longer.
- Change from libusb-1.0.16-rc10 to libusbx-1.0.17. libusb on windows with asynchronous transfers had memory leaks galore and eventually would fail. libusbx does not have this problem, but some people are reporting write timeout issues with it on prolonged use. Linux has no such issues.
- Updates to the way usb work is "scheduled" which might help decrease the risk of timeouts on windows.
- Fixes to the shutdown routine that would get stuck waiting for usb transfers that would never be able to complete.
- Changed the driver model in icarus devices to a slightly lower overhead newer code.
- BF1s weren't showing any WU when hashing, this has been fixed.
- Some earlier BFL SC minirigs were not being properly detected due to inconsistencies in the firmware responses.
- Workarounds to the ./autogen stage of building when people build from git. Note this still does not fully work on macosx but 'autoreconf -fi' should be enough to have the same effect for now.


Full changelog:

- Remove unused components of jansson
- Remove unused parts of libusb
- Work around older libtoolize that fails without top ltmain.sh not being
present during autogen
- Fix open coded use of autoreconf in autogen
- Update jansson to only build parts we require and suited to our build
environment.
- Initial import of jansson-2.5
- Prevent further USB transfers from occurring once the shutdown signal has been
sent to prevent transfers getting stuck and libusb failing to shut down.
- Make the USB polling thread poll every second to potentially aid longer
timeout transfers.
- Set device_diff on work in get_work to not be missed with drivers that use
get_work directly.
- Convert icarus driver to hash_driver_work model.
- bflsc - also allow ' 0' in DEVICES IN CHAIN
- bflsc - allow a 0 in DEVICES IN CHAIN
- Add needed EXTRA_DIST for libusbx.
- Update libusbx configure.ac changes.
- Revert libusb Makefile changes from going to libusbx.
- Fix trivial libusbx warnings.
- Convert libusb-1.0.16-rc10 to libusbx-1.0.17

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

Activity: 441


Ego auri metalla, ergo sum


View Profile WWW
October 16, 2013, 02:11:06 PM
 #12848

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)

P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 16, 2013, 02:13:19 PM
 #12849

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.
jamesg
VIP
Legendary
*
Offline Offline

Activity: 1330


AKA: gigavps


View Profile
October 16, 2013, 02:13:37 PM
 #12850

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)

Pro tip: Don't use Windoze for mining.  Tongue
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
October 16, 2013, 02:19:47 PM
 #12851

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)

Pro tip: Don't use Windoze for mining.  Tongue

What else is there?

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?
Joshwaa
Hero Member
*****
Offline Offline

Activity: 489



View Profile
October 16, 2013, 03:26:20 PM
 #12852

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)

Pro tip: Don't use Windoze for mining.  Tongue

What else is there?

Was that just sarcasm from sam? Your getting the hang of it!

Like what I said : 1JosHWaA2GywdZo9pmGLNJ5XSt8j7nzNiF
Don't like what I said : 1FuckU1u89U9nBKQu4rCHz16uF4RhpSTV
Don't Like BFL's Project Management : 1FuckbFLZpmWLuyHyFJw1RGkWm3yRM1L5D
Karin
Member
**
Offline Offline

Activity: 109



View Profile WWW
October 16, 2013, 04:21:01 PM
 #12853

I've tried on my Mac build environments and while I can compile and launch cgminer just fine, as well as GPU mine, when attempting to use a USB-based Block Erupter I get the following message and cgminer subsequently quits.

Code:
Failed pipe errno=24 in usbutils.c init_usb_transfer():2215

It looks as though it is perhaps able to do a brief moment (before the first poll?(?)) of hashing, as sometimes I get an accepted share out from it and sometimes not, as shown on the "Summary of runtime statistics" output after cgminer quits.

The last successful version for me on Mac is 3.5.1.  I've tested 3.6.1 and 3.6.2 and both generate the error.  cgminer is built entirely from the included source, no other libs used.  Using "--usb-dump 0" and "--verbose" provides no additional details.  Please let me know if I can help further! Smiley

Easiest to use bitcoin/litecoin miner for Mac: AsteroidApp.com | @AsteroidApp | Bitcointalk forum thread
Unofficial cgminer for Mac OS X | sgminer for Mac OS X
TR4L
Member
**
Offline Offline

Activity: 78



View Profile
October 16, 2013, 05:55:32 PM
 #12854

Just an FYI to ckolivas and kano.  I was trying to mine with 3.6.1 but it wouldn't allow me to run scrypt. I thought I was doing something wrong until I tried 2.11.4 and 3.1.1 and it worked.  Didn't change anything (copied and pasted my .conf files).  I'm running Ubuntu 12.04 LTS, I tried both:  "kernel" : "scrypt", and "scrypt" : true,  and neither worked. 

LordTheron
Full Member
***
Offline Offline

Activity: 197


View Profile WWW
October 16, 2013, 06:41:54 PM
 #12855

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?
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
October 16, 2013, 06:52:00 PM
 #12856

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?

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

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 08:09:27 PM
 #12857

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.


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

Activity: 150



View Profile
October 16, 2013, 08:11:06 PM
 #12858

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
TR4L
Member
**
Offline Offline

Activity: 78



View Profile
October 16, 2013, 08:16:52 PM
 #12859

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.



Are you also dropping scrypt mining?

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 16, 2013, 08:36:51 PM
 #12860

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.



Are you also dropping scrypt mining?
I didn't say I was intentionally doing anything. However, since you asked, scrypt mining is being deprecated at some stage in the future. While there is still incentive for me to maintain it I will do so, but if it becomes a support maintenance burden and there is no incentive for me to maintain it, I will deprecate it. For the time being it is not like that. If scrypt has suddenly stopped working then it is almost certainly the same old problem of having done a system upgrade between versions and that is what has broken scrypt since the cgminer code for it has not changed in many many versions. If you have an older version of cgminer that is still working despite the system upgrade, that is normal - because cgminer caches the old kernel binary (as a .bin file) and the system upgrade can't affect it.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 593 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 ... 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!