Bitcoin Forum
September 24, 2018, 12:58:24 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 695 696 697 698 699 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5762357 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.
kano
Legendary
*
Offline Offline

Activity: 2576
Merit: 1054


Linux since 1997 RedHat 4


View Profile
October 21, 2013, 09:21:41 AM
 #12961

im trying to get 2>name.file logging working from a startup script that starts a cgminer instance inside a detached GNU screen window.


screen -S cgminer -d -m sudo ./cgminer --queue 4 -o stratum.btcguild.com:3333 -u *************** -p **** 2>logs/test.activity.log



this creates the test.activity.log file in the logs folder and starts hashing away happily but nothing gets written to the log. any ideas?

At a guess, the log is the output of 'screen' not 'cgminer' ?

is there a hidden option to log to  a file or will i have to delve deep into the innards of linux to figure out how to redirect the output of cgminers display within that screen session to  file
As suggested above used a script to run cgminer (and log it) and have screen only run that script and do nothing else.
I think I've posted this or similar in here a few times now ...
Code:
while true ; do
 echo "`date`: Starting cgminer"
 ulimit -c 2097152
 #
 now="`date +%Y%m%d%H%M%S`"
 #
 ./cgminer --api-listen --api-allow W:127.0.0.1,R:0/0 --api-description MyMiner --api-mcast --api-mcast-des MyMiner --no-restart "$@" 2> ~/run.$now.$$.log
 s="$?"
 echo "`date`: cgminer exited status ($s)"
 echo "`date`: Sleeping for 5..."
 sleep 5
done
This will create a log file in your home directory for each time cgminer runs with the date stamp it started and the process number in case you run 2 at the same time.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
1537793904
Hero Member
*
Offline Offline

Posts: 1537793904

View Profile Personal Message (Offline)

Ignore
1537793904
Reply with quote  #2

1537793904
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537793904
Hero Member
*
Offline Offline

Posts: 1537793904

View Profile Personal Message (Offline)

Ignore
1537793904
Reply with quote  #2

1537793904
Report to moderator
Askit2
Hero Member
*****
Offline Offline

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
October 21, 2013, 10:46:26 AM
 #12962

snip
Well that definitely sounds better than it was. The only other thing I've seen suggested is using a good powered USB supply to the RPi. Perhaps a shorter, thicker cable from a USB3 slot if running off a PC, or a well powered hub if not.
My Usb cable was the shortest I could find It looks like 12" it was a monster brand one. Supply is rated at 1.5A and all devices attached to raspberry pi have hubs (they are usb3...) and are powered off a 12V supply (they have an internal switch mode circuit) and will deliver 1.5A per port and only 4 ports so no internal hub on hub action. It shouldn't be a lack of power. Then again I can't be sure it isn't somehow related to power.

It could be USB 3 related but I have used these hubs since I started getting asics.  My only asics are BFL and don't seem to draw power from the USB. I am expecting this will be like it used to be stable 24/7 for months at a time.

Thank You for all that you do.

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

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

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

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
juhakall
Sr. Member
****
Offline Offline

Activity: 591
Merit: 250



View Profile
October 21, 2013, 01:01:49 PM
 #12963

If you don't specify stratum+tcp:// cgminer will try a few different ways to connect first. Some pools might not like the multiple attempts to connect so it is always cleaner and faster to specify the stratum+tcp:// prefix.

Thanks for mentioning this! I'd been having a problem connecting to ghash.io, it would always take ~5 minutes after a miner restart. Specifying the stratum+tcp:// removed this delay.

Elitehash PPS Pools: Bitcore, Gentarium, Gincoin, Raven
kano
Legendary
*
Offline Offline

Activity: 2576
Merit: 1054


Linux since 1997 RedHat 4


View Profile
October 21, 2013, 01:13:35 PM
 #12964

snip
Well that definitely sounds better than it was. The only other thing I've seen suggested is using a good powered USB supply to the RPi. Perhaps a shorter, thicker cable from a USB3 slot if running off a PC, or a well powered hub if not.
My Usb cable was the shortest I could find It looks like 12" it was a monster brand one. Supply is rated at 1.5A and all devices attached to raspberry pi have hubs (they are usb3...) and are powered off a 12V supply (they have an internal switch mode circuit) and will deliver 1.5A per port and only 4 ports so no internal hub on hub action. It shouldn't be a lack of power. Then again I can't be sure it isn't somehow related to power.

It could be USB 3 related but I have used these hubs since I started getting asics.  My only asics are BFL and don't seem to draw power from the USB. I am expecting this will be like it used to be stable 24/7 for months at a time.

Thank You for all that you do.
The other thing to consider is Arch rather than Raspbian.
The Arch USB network driver seems to be more reliable than the Raspbian one.
As mentioned before, the network device on the RPi is actually USB.

The basics of RPi Arch setup:
http://www.kano-kun.net/?p=87

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
greek_hephaestus
Full Member
***
Offline Offline

Activity: 126
Merit: 100


Three Blue Dots


View Profile WWW
October 21, 2013, 06:39:07 PM
 #12965

Helo CKolivas and Kano,
Do you have any plans to release a KnCMiner version of CGMiner?
Thank you very much for your contribution to Cryptocoin Mining!!!

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
October 21, 2013, 08:07:43 PM
 #12966

Helo CKolivas and Kano,
Do you have any plans to release a KnCMiner version of CGMiner?
Thank you very much for your contribution to Cryptocoin Mining!!!
KFC sent me a saturn unit for development. I am currently swamped with other work but will eventually get around to working on integrating support for it into master cgminer and hopefully improve on the driver too.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
wolfskill
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 22, 2013, 12:30:18 AM
 #12967

Still getting the error below with 3.6.4:

 [2013-10-21 20:25:38] BAL0: empty result (INPROCESS:10x0aCOUN0x00) ignored
 [2013-10-21 20:25:39] BAL0: Error: Get temp returned nothing (0:0)
 [2013-10-21 20:25:40] BAL0: GetResults failed no data returned  (err=0 amt=0)
 [2013-10-21 20:25:41] BAL 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-21 20:25:41] BAL0: RequestResults failed (err=-7 amt=0)
 [2013-10-21 20:25:42] BAL 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-21 20:25:42] BAL0: RequestResults failed (err=-7 amt=0)
 [2013-10-21 20:25:44] BAL0: GetResults failed (err=-7 amt=0)
 [2013-10-21 20:26:06] BAL0: GetResults failed (err=-7 amt=16)
 [2013-10-21 20:26:07] BAL0: GetResults failed no data returned  (err=0 amt=0)
 [2013-10-21 20:26:08] BAL0: GetResults failed (err=-7 amt=0)
 [2013-10-21 20:26:09] BAL 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-21 20:26:09] BAL0: RequestResults failed (err=-7 amt=0)
 [2013-10-21 20:26:10] BAL 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-21 20:26:10] BAL0: RequestResults failed (err=-7 amt=0)
 [2013-10-21 20:26:11] BAL 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-21 20:26:11] BAL0: RequestResults failed (err=-7 amt=0)
 [2013-10-21 20:26:13] BAL0: GetResults failed no data returned  (err=0 amt=0)

Using USB 2.0 ports directly on the motherboard, restarting CGMINER seems to fix the issue.  Tried different USB ports, same issue.  Can happen 20 minuter or hours after CGMINER.

WolfSkill
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
October 22, 2013, 12:33:40 AM
 #12968

Still getting the error below with 3.6.4:

 [2013-10-21 20:26:13] BAL0: GetResults failed no data returned  (err=0 amt=0)

Using USB 2.0 ports directly on the motherboard, restarting CGMINER seems to fix the issue.  Tried different USB ports, same issue.  Can happen 20 minuter or hours after CGMINER.
It's possible you're having a hardware issue that only shows up after it's been under load for a while. I had this sort of failure with a bad power brick on a single.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
wolfskill
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 22, 2013, 12:48:55 AM
 #12969

Ok, thank you for the information.

WolfSkill
ewibit
Legendary
*
Offline Offline

Activity: 2346
Merit: 1000


"Highest ROI crypto infrastructure"


View Profile
October 22, 2013, 09:46:07 AM
 #12970

Still getting the error below with 3.6.4:
Using USB 2.0 ports directly on the motherboard, restarting CGMINER seems to fix the issue.  Tried different USB ports, same issue.  Can happen 20 minuter or hours after CGMINER.
here the same
Code:
[2013-10-22 11:43:43] AMU11: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:43] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:43] AMU 8 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:43] AMU8: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:43] AMU 11 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:43] AMU11: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:43] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:44] AMU 8 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:44] AMU8: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:44] AMU 11 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:44] AMU11: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:44] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:44] AMU 8 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 11:43:44] AMU8: Comms error (werr=-7 amt=0)
 [2013-10-22 11:43:44] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT





           ▄████████▄           ▄███████▄
          ████████████▄       ▄███████████
         ██████████████████████████████████
         ██████████████████████████████████
         ██████████████████████████████████                                              █████
          ████████████▀       ▀███████████                                               █████
            ▀██████▀            ▀██████▀                                                     
   ▄▄▄▄▄▄              ▄▄▄▄▄▄             █████████      ███████████    ████▒     █████  █████     ▄█████████▄     ███████████
 ██████████          ██████████          ███████████▒    ████████████    ████     ████   █████    █████████████    ████████████
█████████████       ████████████        ████     ████    ████    ▒████   █████   ████    █████   ▒████     ████▒   ████▒  ░░████
█████████████      ██████████████      ██████████████▒   ████     ████    ████   ████    █████   ████      ▒████   ████▒    ████
█████████████      ██████████████      █████▒▒▒▒▒▒▒▒▒    ████     ████     ████ ████     █████   ████▒     ▒████   ████▒    ████
█████████████       ████████████        ████▒            ████     ████      ███████      █████    ████     ████    ████▒    ████
 ▀█████████▀         ▀████████▀          ███████████     ████     ████      ▒█████       █████     ███████████     ████▒    ████
                                           ▀██████▒      ████     ████       ▒███        █████       ▀█████▀       ████▒    ████
           ▄████████▄          ▄████████▄
          ████████████▄      ▄████████████
         ██████████████████████████████████
         ██████████████████████████████████
          ████████████████████████████████
           ██████████▀        ▀██████████ 
            ▀██████▀            ▀██████▀ 
    WORLD'S MOST PROFITABLE STANDARD
  OF SELF-EXPANDING CRYPTO INFRASTRUCTURE
FACEBOOK 】【 TWITTER
        ANN THREAD
TELEGRAM MEDIUM
 
  Join our ICO: 
Dec. 1-31 │ Whitepaper 
greek_hephaestus
Full Member
***
Offline Offline

Activity: 126
Merit: 100


Three Blue Dots


View Profile WWW
October 22, 2013, 12:54:58 PM
 #12971

Helo CKolivas and Kano,
Do you have any plans to release a KnCMiner version of CGMiner?
Thank you very much for your contribution to Cryptocoin Mining!!!
KFC sent me a saturn unit for development. I am currently swamped with other work but will eventually get around to working on integrating support for it into master cgminer and hopefully improve on the driver too.

Thank you Very much for your answer!!!

c1010010
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250



View Profile
October 22, 2013, 12:58:33 PM
 #12972

Do you always plan to edit the subject line with the new version #?
Makes it easy to see if there was a change, or if there was just a comment on the thread.

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
October 22, 2013, 01:11:07 PM
 #12973

...it is always edited with the current version.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
c1010010
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250



View Profile
October 22, 2013, 04:09:24 PM
 #12974

...it is always edited with the current version.

Thanks.  Apparently my window is truncating it... I see that you are completely right.

Thanks.

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
October 22, 2013, 07:05:10 PM
 #12975

More 3.6.4 feedback:

I moved all my USB erupters to another machine.  I found cgminer doesn't see any of those plugged into my blue USB 3.0 ports.  This is the same experience I had with my laptop.  They work fine on the non blue ports.  I'm also getting problems with devices zombifying, and the AMU write errors.  I did not see any of these errors on the old PC, so it seems once again this is hardware specific.  Last time it was AMU 7 that zombified.

Code:
cgminer version 3.6.4 - Started: [2013-10-22 14:59:20]
-------------------------------------------------------------------------------
 (5s):11.27G (avg):10.52Gh/s | A:436  R:2  HW:14  WU:162.2/m
 ST: 2  SS: 1  NB: 2  LW: 791  GF: 0  RF: 0
 Connected to llllll diff 8 with stratum as user kkkkk
 Block: 0000075bdc49ed00...  Diff:268M  Started: [15:00:47]  Best share: 4.07K
-------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 AMU  0:                 | 335.4M/326.9Mh/s | A:17 R:0 HW:2 WU: 11.3/m
 AMU  1:                 | 335.7M/337.2Mh/s | A:40 R:0 HW:0 WU:  7.0/m
 AMU  2:                 | 335.7M/332.3Mh/s | A: 8 R:2 HW:0 WU:  4.8/m
 AMU  3:                 | 335.4M/325.6Mh/s | A:16 R:0 HW:0 WU:  2.9/m
 AMU  4:                 | 335.6M/332.1Mh/s | A: 8 R:0 HW:1 WU:  4.8/m
 AMU  5:                 | 335.4M/315.4Mh/s | A:24 R:0 HW:0 WU:  6.6/m
 AMU  6:                 | 335.5M/324.8Mh/s | A:16 R:0 HW:0 WU:  3.7/m
 AMU  7:                 | 335.7M/333.9Mh/s | A:12 R:0 HW:1 WU:  5.9/m
 AMU  8:                 | 335.6M/336.4Mh/s | A: 8 R:0 HW:0 WU:  4.8/m
 AMU  9:                 | 335.6M/334.5Mh/s | A: 8 R:0 HW:0 WU:  3.7/m
 AMU 11:                 | 335.6M/336.7Mh/s | A:17 R:0 HW:1 WU:  6.6/m
 AMU 12:                 | 335.6M/331.3Mh/s | A: 8 R:0 HW:1 WU:  2.2/m
 AMU 13:                 | 335.2M/325.4Mh/s | A: 0 R:0 HW:0 WU:  3.7/m
 AMU 14:                 | 335.8M/324.8Mh/s | A: 0 R:0 HW:1 WU:  4.0/m
 AMU 15:                 | 335.4M/332.2Mh/s | A:32 R:0 HW:0 WU:  5.5/m
 AMU 16:                 | 335.7M/332.6Mh/s | A:24 R:0 HW:0 WU:  4.4/m
 AMU 17:                 | 335.2M/313.6Mh/s | A:16 R:0 HW:0 WU:  6.2/m
 AMU 18:                 | 335.5M/315.4Mh/s | A: 1 R:0 HW:0 WU:  4.0/m
 AMU 19:                 | 335.7M/320.8Mh/s | A: 0 R:0 HW:1 WU:  3.3/m
 AMU 20:                 | 335.6M/334.4Mh/s | A: 0 R:0 HW:0 WU:  7.0/m
 AMU 21:                 | 335.5M/325.1Mh/s | A: 8 R:0 HW:0 WU:  4.4/m
 AMU 22:                 | 335.6M/335.8Mh/s | A:32 R:0 HW:0 WU:  3.3/m
 AMU 23:                 | 335.4M/329.7Mh/s | A:16 R:0 HW:1 WU:  5.9/m
 AMU 24:                 | 335.6M/315.4Mh/s | A: 1 R:0 HW:0 WU:  5.1/m
 AMU 25:                 | 335.7M/324.9Mh/s | A:48 R:0 HW:1 WU:  6.6/m
 AMU 26:                 | 335.7M/331.0Mh/s | A:32 R:0 HW:1 WU:  5.5/m
 AMU 27:                 | 335.6M/320.1Mh/s | A: 9 R:0 HW:0 WU:  2.2/m
 AMU 28:                 | 335.7M/329.1Mh/s | A: 1 R:0 HW:0 WU:  4.4/m
 AMU 29:                 | 335.5M/333.1Mh/s | A: 0 R:0 HW:1 WU:  5.9/m
 AMU 30:                 | 335.5M/324.5Mh/s | A:24 R:0 HW:0 WU:  6.6/m
 AMU 31:                 | 335.4M/330.4Mh/s | A: 8 R:0 HW:0 WU:  5.1/m
 AMU 32:                 | 335.8M/324.1Mh/s | A: 0 R:0 HW:2 WU:  4.4/m
 AMU 10:                 | ZOMBIE/93.54Mh/s | A: 2 R:0 HW:0 WU:  1.8/m
-------------------------------------------------------------------------------

 [2013-10-22 15:01:51] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 15:01:52] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 15:01:58] Accepted 1a733b3e Diff 9/8 AMU 21 pool 0
 [2013-10-22 15:02:01] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 15:02:02] AMU 0 usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-10-22 15:02:02] Accepted 08989b2a Diff 29/8 AMU 15 pool 0

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
October 22, 2013, 08:42:37 PM
 #12976

More 3.6.4 feedback:

I moved all my USB erupters to another machine.  I found cgminer doesn't see any of those plugged into my blue USB 3.0 ports.  This is the same experience I had with my laptop.  They work fine on the non blue ports.  I'm also getting problems with devices zombifying, and the AMU write errors.  I did not see any of these errors on the old PC, so it seems once again this is hardware specific.  Last time it was AMU 7 that zombified.

M
Thanks M. It seems the massive rewrite I did to fix random timeouts fixed something intrinsic in libusb's own timeouts, but USB 3 slot vs USB1.1 device related issues are different again. I do know that the WinUSB driver itself is not complete with USB3 support and some hardware the devices won't even show up, so there is still hope. I will keep chipping away at whatever other internals I can on cgminer and hopefully newer versions of WinUSB come out that get better (the version on my site bundled with zadig is still the latest version).

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
October 22, 2013, 10:05:42 PM
 #12977

More 3.6.4 feedback:

I moved all my USB erupters to another machine.  I found cgminer doesn't see any of those plugged into my blue USB 3.0 ports.  This is the same experience I had with my laptop.  They work fine on the non blue ports.  I'm also getting problems with devices zombifying, and the AMU write errors.  I did not see any of these errors on the old PC, so it seems once again this is hardware specific.  Last time it was AMU 7 that zombified.

M
Thanks M. It seems the massive rewrite I did to fix random timeouts fixed something intrinsic in libusb's own timeouts, but USB 3 slot vs USB1.1 device related issues are different again. I do know that the WinUSB driver itself is not complete with USB3 support and some hardware the devices won't even show up, so there is still hope. I will keep chipping away at whatever other internals I can on cgminer and hopefully newer versions of WinUSB come out that get better (the version on my site bundled with zadig is still the latest version).

One additional note: the cgminer-nogpu app hasn't been able to end properly for me for ages.  If I press Q, it starts the shutdown routine, I see thread errors all over the place, and it doesn't end.  Closing the box has always ended it however.

Until now.

Whatever was going wrong under the hood is severe enough I can't get it to end.  Closing it doesn't work, q doesn't work, end task doesn't work.  All the lights came back on my erupters, so it did stop mining.  It just won't end.  I fear this app will be with me until my next reboot. Sad  Just a reminder, this is win7x64 with all updates.

M

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

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
October 22, 2013, 10:11:14 PM
 #12978

snip
Well that definitely sounds better than it was. The only other thing I've seen suggested is using a good powered USB supply to the RPi. Perhaps a shorter, thicker cable from a USB3 slot if running off a PC, or a well powered hub if not.
My Usb cable was the shortest I could find It looks like 12" it was a monster brand one. Supply is rated at 1.5A and all devices attached to raspberry pi have hubs (they are usb3...) and are powered off a 12V supply (they have an internal switch mode circuit) and will deliver 1.5A per port and only 4 ports so no internal hub on hub action. It shouldn't be a lack of power. Then again I can't be sure it isn't somehow related to power.

It could be USB 3 related but I have used these hubs since I started getting asics.  My only asics are BFL and don't seem to draw power from the USB. I am expecting this will be like it used to be stable 24/7 for months at a time.

Thank You for all that you do.
The other thing to consider is Arch rather than Raspbian.
The Arch USB network driver seems to be more reliable than the Raspbian one.
As mentioned before, the network device on the RPi is actually USB.

The basics of RPi Arch setup:
http://www.kano-kun.net/?p=87
I apparently have the wrong version of arch. Well not version as much as wrong image dated file. Mine was 2013-7-22. The partition is kinda messing me up. I know I can't partition as you did with 3 partitions.

Code:
[root@alarmpi ~]# fdisk -ls

Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes, 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00057540

        Device Boot         Start          End            Blocks       Id   System
/dev/mmcblk0p1          2048         186367       92160       c     W95 FAT32 (LBA)
/dev/mmcblk0p2          186368     3667967     1740800    5    Extended
/dev/mmcblk0p5          188416     3667967     1739776    83   Linux
[root@alarmpi ~]#

I think but can't be sure that /dev/mmcblk0p5 is the one I want to delete and recreate. I am a little confused by the extended and Linux partitions using the same space. It looks wrong to me to have two partitions sharing space.

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

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

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

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
kano
Legendary
*
Offline Offline

Activity: 2576
Merit: 1054


Linux since 1997 RedHat 4


View Profile
October 22, 2013, 10:44:28 PM
 #12979

...
The basics of RPi Arch setup:
http://www.kano-kun.net/?p=87
I apparently have the wrong version of arch. Well not version as much as wrong image dated file. Mine was 2013-7-22. The partition is kinda messing me up. I know I can't partition as you did with 3 partitions.

Code:
[root@alarmpi ~]# fdisk -ls

Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes, 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00057540

        Device Boot         Start          End            Blocks       Id   System
/dev/mmcblk0p1          2048         186367       92160       c     W95 FAT32 (LBA)
/dev/mmcblk0p2          186368     3667967     1740800    5    Extended
/dev/mmcblk0p5          188416     3667967     1739776    83   Linux
[root@alarmpi ~]#

I think but can't be sure that /dev/mmcblk0p5 is the one I want to delete and recreate. I am a little confused by the extended and Linux partitions using the same space. It looks wrong to me to have two partitions sharing space.
Yeah I never updated that did I Smiley
I actually have one of these sitting on an SD card on an RPi next to me (switched off) that I've not got around to resizing.

p5 is inside p2
Let me think ... I'm pretty sure it is:
so you need to remember both 186368 and 188416
delete them both
create a new extended p2 from 186368 to the end
then create a new Linux partition p5 from 188416 to the end
then continue as before. Edit: no I should say, resize2fs /dev/mmcblk0p5

Let me know how it goes then I'll add it to the blog.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
October 22, 2013, 11:01:45 PM
 #12980

To the various windows victims valued testers out there, I have uploaded new experimental binaries that now use windows' own low level clocks and timers to support higher resolution timeouts and hopefully be more reliable than using mingw's wrappers. I also found a bug in the windows code while working on these. For people with timeout issues on windows, please grab one of the exes from this directory and put it into your current cgminer directory:
http://ck.kolivas.org/apps/cgminer/temp/

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 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 695 696 697 698 699 ... 847 »
  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!