Bitcoin Forum
November 19, 2024, 04:54:16 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 695 696 697 698 699 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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805645 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.)
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
April 22, 2014, 10:19:55 PM
 #14881

...
Update: Just found surfing internet
Code:
command = "{\"command\": \"devs\"}";
https://github.com/ckolivas/cgminer/blob/master/API-README#L65

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
qqqq
Legendary
*
Offline Offline

Activity: 1596
Merit: 1011


View Profile
April 24, 2014, 11:17:09 AM
 #14882

...
Update: Just found surfing internet
Code:
command = "{\"command\": \"devs\"}";
https://github.com/ckolivas/cgminer/blob/master/API-README#L65
Ok i see.

I think i found a little bug. When you get reply it's white space in the end of line and JSONsimple have exeption like Unexpected character in the position N (end of line). I fix it by deleting last element from this string and parsing by JsonSimple is ok now. But i guess it need to be fixed. I'm using cgminer 3.7.2.
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
April 24, 2014, 11:58:23 PM
 #14883

The sockets sends a 0x00 on the end.
It's there on purpose - it marks the termination of the data.

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

Activity: 546
Merit: 500


View Profile WWW
April 25, 2014, 01:14:16 AM
Last edit: April 26, 2014, 01:37:21 AM by techman05
 #14884

I have to keep an eye on it, but I noticed cgwatcher was saying it was loosing api control of cgminer 4.2.3 which was the last one I found I was using and have now updated to 4.3.

It's listed like this
Code:
[4/24/2014 8:08:58 PM]       API access lost at 4/24/2014 8:08:58 PM!
[4/24/2014 8:08:58 PM]       Full API access became read-only access at 4/24/2014 8:08:58 PM!

I didn't see some kind of api re-established message as I restarted and them both

Was there any tweaks to the api in this newest update?

I'm now using cgminer 4.3 with cgwatcher 1.3.8

edit:
  Still seems not to be working . I'd just like to make sure command haven't changed recently for api commands. I'm going to go post over on cgwatchers page and see whats going on.

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

Activity: 1064
Merit: 253


View Profile
April 28, 2014, 10:10:42 AM
Last edit: April 28, 2014, 10:20:57 AM by SamboNZ
 #14885

Hi guys,

Is someone able to assist me with an API issue I have?  Searching this mammoth thread has unfortunately not revealed an answer.

Basically I'm leasing my rig via LeaseRig.net, which is fine for the most part, but I had an issue today where the client setup 2 pools to mine from (primary and backup), both of which eventually went down.  Meanwhile CGWatcher saw the drop in accepted shares and restarted CGMiner.  This would have been fine, however the issue then became that CGMiner then paused during startup, waiting for a pool to become available before attempting to commence mining, but it appeared that the API wasn't started and /or listening while the app was in this state.

At this point there was a catch 22; the API was down due to CGMiner's partially started state which was due to the pools being unavailable, but because the API was down, the remote client couldn't change the pool setup...

Is there any way for me to get around this situation?

Cheers.
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
May 01, 2014, 12:35:44 PM
 #14886

I was poking around the README file when I noticed what seems to be a missing line:
Code:
  --with-system-libusb    Compile against dynamic system libusb (default use

Basic *nix build instructions:
It seems there should be another line continuing the parenthetical comment on the --with-system-libusb line, but there's nothing there.

That aside, I was wondering what the list of compile-time options is that you use for creating the official binaries? That might be handy to include in the README as well. My goal is to compile a binary that's almost identical to the official binary, but with one driver tweaked a little to my satisfaction.

Many thanks.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
May 01, 2014, 04:11:45 PM
 #14887

I was poking around the README file when I noticed what seems to be a missing line:
Code:
  --with-system-libusb    Compile against dynamic system libusb (default use

Basic *nix build instructions:
It seems there should be another line continuing the parenthetical comment on the --with-system-libusb line, but there's nothing there.

That aside, I was wondering what the list of compile-time options is that you use for creating the official binaries? That might be handy to include in the README as well. My goal is to compile a binary that's almost identical to the official binary, but with one driver tweaked a little to my satisfaction.

Many thanks.
Firstly, unless you want to do extensive testing, don't use that option.
libusb is broken on many linux distros.

Secondly, all the USB devices are enabled in ckolivas' binaries.
My binary git, the README says.

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

Activity: 295
Merit: 250


View Profile WWW
May 01, 2014, 04:40:22 PM
 #14888

Firstly, unless you want to do extensive testing, don't use that option.
libusb is broken on many linux distros.
Heh, believe me, I have no intention of using it! In fact, I switched to Linux just because of the insane headaches of dealing with USB miners on Windows. Smiley I was just pointing out that the readme seemed incomplete.

Thanks for the info on the binaries; much appreciated! Smiley

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
RusellPower
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
May 01, 2014, 05:52:39 PM
 #14889

I am mining using a Raspberry Pi with cgminer and it hangs after a little while or few hours.

I did read on some pages over the internet that this is due to a "memory paging issue". I don't know what this is and if or it's the correct reason.

Can someone help me with this issue?

PS: I am running Arch Linux on my RPi
GrapeApe
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
May 01, 2014, 07:17:02 PM
 #14890

Does CGMiner support SSL/TLS?

If not are there any plans to include it it in the future, if so does anyone think the pool operators will/should be supporting it given the recent round of attacks?
Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
May 02, 2014, 01:56:20 AM
 #14891

I am mining using a Raspberry Pi with cgminer and it hangs after a little while or few hours.

I did read on some pages over the internet that this is due to a "memory paging issue". I don't know what this is and if or it's the correct reason.

Can someone help me with this issue?

PS: I am running Arch Linux on my RPi
Here you go: http://projectklondike.org/how-to-run#rpi-freeze

Make sure you're adding this option as described to the existing line, it should look like this:



Good luck!

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
May 02, 2014, 05:40:22 AM
Last edit: May 02, 2014, 07:32:43 AM by ckolivas
 #14892

New release - version 4.3.2, 2nd May 2014


Human readable changelog:

- There's a workaround in this version to minimise the risk of the man-in-the-middle attack of redirecting you to a different pool you don't want to be hashing on. Stratum reconnect will only honour the request if the reconnect is to a server with the same domain name.
- Fix for some overflow errors on stats with massive hashrates/shares.
- Fix a major memory leak which mostly affected hashfast users.
- Fix for a failed connection after a redirection that would then never return.
- Devices with unique serial numbers of 4 or more characters will now be displayed by their serial number in the status bar.
- Support for new firmware for OneStringMiners that will identify themselves as OSM devices.
- Support for OSM debugging and LED modes.
- A1 driver updates.


Full changelog:

- Make reconnection messages more explanatory
- Fix accounting bug with nrolltime drivers
- upgrade some int to int64_t to avoid overflows in reporting
- Stratum client.reconnect require matching URL
- Fix memory leak in submit_noffset_nonce
- Clean up any work that may not have been used in the work scheduler
- Avoid unnecessary deref now that it's done within discard_work
- Clean work pointers after one way usage functions
- Avoid unnecessary total_work_inc in generating local work
- Cosmetic fixes
- Fix idle bug, when redirected client can't auth
- Rename spond temp rate to asics total rate
- Build fixes
- Set the unique id only for usb devices with serial strings longer than 4 chars
long
- Use usb serial strings as unique id if devices have them
- Discretely identify the onestring miners as OSM
- Add bxf debugging option and osm led modes
- A1: modularize board selector / add initial CCR support
- A1: cleanup tca9535 logging
- A1: fix and extend PLL parameters
- A1: clean up compile warnings
- A1: use real level in hexdump
- Add identification for onestring miner variants
- Avalon2: Parser the power good signal
- driver-avalon2: this functions used on detect, which don't have thr setup yet

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

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 02, 2014, 05:50:23 AM
 #14893

Does CGMiner support SSL/TLS?

If not are there any plans to include it it in the future, if so does anyone think the pool operators will/should be supporting it given the recent round of attacks?


btcguild & bfgminer are working on support for ssl/tls

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
RusellPower
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
May 02, 2014, 11:41:32 AM
 #14894

I am mining using a Raspberry Pi with cgminer and it hangs after a little while or few hours.

I did read on some pages over the internet that this is due to a "memory paging issue". I don't know what this is and if or it's the correct reason.

Can someone help me with this issue?

PS: I am running Arch Linux on my RPi
Here you go: http://projectklondike.org/how-to-run#rpi-freeze

Make sure you're adding this option as described to the existing line, it should look like this:

https://i.imgur.com/a4opFyb.png

Good luck!

Thank you! I will try it out...
ManeBjorn
Legendary
*
Offline Offline

Activity: 1288
Merit: 1004



View Profile
May 02, 2014, 02:33:42 PM
 #14895

Thanks for the OSM update.  I am going to dl and get using it now.
 Smiley

New release - version 4.3.2, 2nd May 2014


Human readable changelog:

- There's a workaround in this version to minimise the risk of the man-in-the-middle attack of redirecting you to a different pool you don't want to be hashing on. Stratum reconnect will only honour the request if the reconnect is to a server with the same domain name.
- Fix for some overflow errors on stats with massive hashrates/shares.
- Fix a major memory leak which mostly affected hashfast users.
- Fix for a failed connection after a redirection that would then never return.
- Devices with unique serial numbers of 4 or more characters will now be displayed by their serial number in the status bar.
- Support for new firmware for OneStringMiners that will identify themselves as OSM devices.
- Support for OSM debugging and LED modes.
- A1 driver updates.


Full changelog:

- Make reconnection messages more explanatory
- Fix accounting bug with nrolltime drivers
- upgrade some int to int64_t to avoid overflows in reporting
- Stratum client.reconnect require matching URL
- Fix memory leak in submit_noffset_nonce
- Clean up any work that may not have been used in the work scheduler
- Avoid unnecessary deref now that it's done within discard_work
- Clean work pointers after one way usage functions
- Avoid unnecessary total_work_inc in generating local work
- Cosmetic fixes
- Fix idle bug, when redirected client can't auth
- Rename spond temp rate to asics total rate
- Build fixes
- Set the unique id only for usb devices with serial strings longer than 4 chars
long
- Use usb serial strings as unique id if devices have them
- Discretely identify the onestring miners as OSM
- Add bxf debugging option and osm led modes
- A1: modularize board selector / add initial CCR support
- A1: cleanup tca9535 logging
- A1: fix and extend PLL parameters
- A1: clean up compile warnings
- A1: use real level in hexdump
- Add identification for onestring miner variants
- Avalon2: Parser the power good signal
- driver-avalon2: this functions used on detect, which don't have thr setup yet


-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
May 02, 2014, 02:38:54 PM
 #14896

Thanks for the OSM update.  I am going to dl and get using it now.
 Smiley
Be aware the OSM update is for firmware which is only for testing for now, so if you're using the stable firmware release by OneString it will still come up as MXF but work the same in every other way; it's just the cosmetic change of missing the name OSM.

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

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
May 02, 2014, 09:31:33 PM
 #14897

I am mining using a Raspberry Pi with cgminer and it hangs after a little while or few hours.

I did read on some pages over the internet that this is due to a "memory paging issue". I don't know what this is and if or it's the correct reason.

Can someone help me with this issue?

PS: I am running Arch Linux on my RPi
Here you go: http://projectklondike.org/how-to-run#rpi-freeze

Make sure you're adding this option as described to the existing line, it should look like this:



Good luck!

I am not absolutely sure that is a fix for ARCH Linux. The fix you posted is to fix a long standing Raspbian problem. Now I can't say it won't fix it. I can say that mine doesn't exhibit this behavior with ARCH.

Best of luck to the person with the problem and I hope they find a solution.

EDIT: If you are running out of memory try the newest version maybe a memory leak is causing you grief with the limited RAM.

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

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

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

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

Activity: 1288
Merit: 1004



View Profile
May 03, 2014, 02:37:54 AM
 #14898

Yes I have not updated the new firmware yet.  I have been keeping up with Ben about it.
I am going to try it in a few days though and give him some feedback.
Your update saved me having to compile it in.  I appreciate it greatly.  I am not good at that stuff anymore.


Thanks for the OSM update.  I am going to dl and get using it now.
 Smiley
Be aware the OSM update is for firmware which is only for testing for now, so if you're using the stable firmware release by OneString it will still come up as MXF but work the same in every other way; it's just the cosmetic change of missing the name OSM.

matagatoz
Newbie
*
Offline Offline

Activity: 8
Merit: 0



View Profile
May 03, 2014, 03:39:46 AM
 #14899

Hi, After updating to 4.3.2 , if you go Settings, then save, cgminer will just close ( no error )

im on Ubuntu 13.10 64x , runing cgminer with
Code:
su ./cgminer
Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
May 03, 2014, 05:16:17 AM
 #14900

I am mining using a Raspberry Pi with cgminer and it hangs after a little while or few hours.

I did read on some pages over the internet that this is due to a "memory paging issue". I don't know what this is and if or it's the correct reason.

Can someone help me with this issue?

PS: I am running Arch Linux on my RPi
Here you go: http://projectklondike.org/how-to-run#rpi-freeze

Make sure you're adding this option as described to the existing line, it should look like this:



Good luck!

I am not absolutely sure that is a fix for ARCH Linux. The fix you posted is to fix a long standing Raspbian problem. Now I can't say it won't fix it. I can say that mine doesn't exhibit this behavior with ARCH.

Best of luck to the person with the problem and I hope they find a solution.

EDIT: If you are running out of memory try the newest version maybe a memory leak is causing you grief with the limited RAM.

Not 100% sure but Raspbian and Arch using the same Raspberry Firmware/Kernel as far as I understood. I've seen the same behavior on Arch (at least with 3.6.11 up to 3.10.?) and the hint above solved all issues with my 'freezing' Raspberry (in fact it's alive, but USB including the network port is gone). Most likely you'll never see the behavior as long as the number of connected USB devices is fairly low. With let's say 10 or 15+ you will notice issues sooner or later. At least from my experience.

Anyway, it's worth a try and of course the latest cgminer is always the best. Smiley

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
Pages: « 1 ... 695 696 697 698 699 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 ... 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!