OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 704. | Bitcointalksearch.org
Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 704. (Read 5806015 times)

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Well actually it's up to ckolivas Smiley

Though I will say that Luke didn't bother to do the api.c changes in his FPGA pull ... that's slack.
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
Although most of us do not agree with many of Luke's positions and actions, it is obvious from inspecting his code that he is a capable coder. If you wish to boycott anything that he has touched, then you can stop using Bitcoin - he has committed several fixes/improvements etc to it.
donator
Activity: 1218
Merit: 1080
Gerald Davis
YES, let him fork his own project and call it DOOSH-JR-MINER, but PLEASE do not allow any of his contributions to make into the master repository.

Why.  I haven't tested them yet but the code looks useful.  The 0.4% improvement code is a rather mundane bug fix.  Should we intentionally keep a bug in cgminer because we don't like the author?  Does that make the community better somehow?
sr. member
Activity: 462
Merit: 250
I heart thebaron
He has indicated that reverse engineering is lawful and an acceptable method of moving forward, so please take this into consideration when reviewing his patches and do everything you possibly can to MAKE THEM YOUR OWN so that his reputation doesn't leave any marks on this great project.

Reverse engineering is lawful.  Granted that right has been severly (and IMHO wrongly) degraded by provisions in DMCA but there is nothing wrong with reverse engineering.

Often when products or protocols are abandoned the ONLY way forward to new sustainable code is via reverse engineering.  Linux simply wouldn't exist without reverse engineering.  Before companies began to support it most drivers were created from reverse engineering.

I left the person of your attack out of the quote and response because it is off-topic but I felt I couldn't leave this perception unchallenged.


Also in a GPL project there is no such thing as MAKE THEM YOUR OWN.  If you want your own fork that makes fart sounds everytime a block is found you can pull it right now.  The license gives you the right and that right can never be taken away.

I should have clarified a bit.....so thank you for reminding me to post again.

YES, let him fork his own project and call it DOOSH-JR-MINER, but PLEASE do not allow any of his contributions to make into the master repository.
donator
Activity: 1218
Merit: 1080
Gerald Davis
He has indicated that reverse engineering is lawful and an acceptable method of moving forward, so please take this into consideration when reviewing his patches and do everything you possibly can to MAKE THEM YOUR OWN so that his reputation doesn't leave any marks on this great project.

Reverse engineering is lawful.  Granted that right has been severly (and IMHO wrongly) degraded by provisions in DMCA but there is nothing wrong with reverse engineering.

Often when products or protocols are abandoned the ONLY way forward to new sustainable code is via reverse engineering.  Linux simply wouldn't exist without reverse engineering.  Before companies began to support it most drivers were created from reverse engineering.

I left the person of your attack out of the quote and response because it is off-topic but I felt I couldn't leave this perception unchallenged.


Also in a GPL project there is no such thing as MAKE THEM YOUR OWN.  If you want your own fork that makes fart sounds everytime a block is found you can pull it right now.  The license gives you the right and that right can never be taken away.
hero member
Activity: 772
Merit: 500

Please do not allow Luke-Jr to become associated with CGMiner in any way. Frankly, he is nothing more than a stain on the community as a whole and if his past actions are any indication, you would be opening the door for him to create more havoc in the project than it is worth.

He has indicated that reverse engineering is lawful and an acceptable method of moving forward, so please take this into consideration when reviewing his patches and do everything you possibly can to MAKE THEM YOUR OWN so that his reputation doesn't leave any marks on this great project.

Your avatar SUX, but hey I guess freedom of speech, right Wink?

Dia
full member
Activity: 139
Merit: 100
Let luke roam free, heathens.
sr. member
Activity: 462
Merit: 250
I heart thebaron

Please do not allow Luke-Jr to become associated with CGMiner in any way. Frankly, he is nothing more than a stain on the community as a whole and if his past actions are any indication, you would be opening the door for him to create more havoc in the project than it is worth.

He has indicated that reverse engineering is lawful and an acceptable method of moving forward, so please take this into consideration when reviewing his patches and do everything you possibly can to MAKE THEM YOUR OWN so that his reputation doesn't leave any marks on this great project.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4

Well, that explains why I couldn't figure it out Smiley

Ignoring the fact that I still haven't even got around to my pool/cgminer changes that I want to do ... Smiley
At the moment the issue of CPU code and the Luke-jr changes mean I wont be touching any code until those are decided
(except helping ckolivas remove the CPU code from api.c if/when he does the CPU code removal)
there's also a minor bug in the example code: api-example.c that messes up the JSON (works fine otherwise of course)
The +1 in the send() needs removing - that I'll fix later also.
legendary
Activity: 1876
Merit: 1000

Well, that explains why I couldn't figure it out Smiley
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
They are yet to be implemented!
legendary
Activity: 1876
Merit: 1000


OK,  so maybe I am missing somthing..  but all the rpc requests I see can either start or stop a gpu, get summary of gpu.  but how do you change the clocks? or change the pool??
Code:
The list of requests and replies are:

 Request       Reply Section  Details
 -------       -------------  -------
 version       VERSION        CGMiner=cgminer version
                              API=API version

 summary       SUMMARY        The status summary of the miner
                              e.g. Elapsed=NNN,Found Blocks=N,Getworks=N,...|

 pools         POOLS          The status of each pool
                              e.g. Pool=0,URL=http://pool.com:6311,Status=Alive,...|

 devs          DEVS           Each available CPU and GPU with their details
                              e.g. GPU=0,Accepted=NN,MHS av=NNN,...,Intensity=D|

 gpu|N         GPU            The details of a single GPU number N in the same
                              format and details as for DEVS

 cpu|N         CPU            The details of a single CPU number N in the same
                              format and details as for DEVS

 gpucount      GPUS           Count=N| <- the number of GPUs

 cpucount      CPUS           Count=N| <- the number of CPUs

 gpuenable|N   none           There is no reply section just the STATUS section
                              stating the results of the enable request

 gpudisable|N  none           There is no reply section just the STATUS section
                              stating the results of the disable request

 gpurestart|N  none           There is no reply section just the STATUS section
                              stating the results of the restart request

 quit          none           There is no status section but just a single "BYE|"
                              reply before cgminer quits

I see how to get pool info, but no command to change the pool, or change the fan, or change the clock.? what am i missing?
hero member
Activity: 642
Merit: 500
woah...  Wasn't excpecting that.  Thanks!!  First donation.  Woo!

I'd gotten so used to the trolling and negativity on this forum that I forgot generous and fair people still exist...  Cheesy
legendary
Activity: 1876
Merit: 1000
Looks like you forgot "api-listen" : true in there.

Thank you sir.  1btc on its way!

edit:  i figured if you had api-network it was assumed you wanted it to listen Smiley
hero member
Activity: 642
Merit: 500
Looks like you forgot "api-listen" : true in there.
legendary
Activity: 1876
Merit: 1000
Has anyone had problems connecting to the rpc port for cgminer?  I continue to get the following error:

this is using the api-example.php from a machine on the network with access to the rig
"216ERR: socket connect(miner16,4028) failed 'No connection could be made because the target machine actively refused it. ' "

I have the latest miner: root@linuxcoin:/home/user/cgminer-2.1.2-x86_64-built#

here is my conf file that I start the miner with
Code:
{
"pools" : [
        {
                "url" : "http://us.eclipsemc.com:8337",
                "user" : "jjiimm_64_miner16",
                "pass" : "mypass"
        },
        {
                "url" : "http://192.168.1.100:8332",
                "user" : "myuser",
                "pass" : "mypass"
        }
],

"intensity" : "7",
"gpu-engine" : "850",
"gpu-fan" : "85",
"gpu-memclock" : "300",
"api-network" : true,
"api-port" : "4028",
"auto-fan" : true
}


I am using linuxcoin on a stick..  I am sure I have to push or pull some knob in linux, any help would be appreciated.
hero member
Activity: 632
Merit: 500
You aren't going to like it Brunic BUT it likely is your POS router built in to your modem.  The good news is it is possible to get a router and turn off all routing functions in the modem and get a router which has the ability to handle the high number of simultaneous connections.

It is called bridging the modem and can be "fun" depending on how crappy the modem is and how poor the documentation is.

An example:
http://www.no-ip.com/support/guides/routers/bridging_your_dsl_modem.html

If it were up to me modems w/ built in routers would be deemed a crime against humanity. 

Yeaaaaah!

It worked! Cheesy

It was the shitty Bell modem who caused all of this.
legendary
Activity: 1876
Merit: 1000
Yeah, even with the threads at 1, it didn't change anything. As soon as I get 4 mining rigs working (or around 16 gpus), apocalypse comes say hello.

I'll look into bridging the modem. I have a couple of router in a box here, I'm going to try that.

Thanks!

I had to buy a new router and install tomato on it before I could use cgminer for more then a couple of rigs..  no problems since.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
You aren't going to like it Brunic BUT it likely is your POS router built in to your modem.  The good news is it is possible to get a router and turn off all routing functions in the modem and get a router which has the ability to handle the high number of simultaneous connections.

It is called bridging the modem and can be "fun" depending on how crappy the modem is and how poor the documentation is.

An example:
http://www.no-ip.com/support/guides/routers/bridging_your_dsl_modem.html

If it were up to me modems w/ built in routers would be deemed a crime against humanity.  
Although I bridge my ADSL modem through my linux 'router' (rp-pppoe of course) I would never do that for any of my clients.
As soon as they have internet problems and they call their ISP, having a bridged modem either ends the support conversation, or the support ask them to plug it directly into their computer ... and that's the end of their internet ... until I go visit them - why I stopped doing it.

Maybe for someone who knows what they are doing, bridging is good, but for others there can be issues ...
hero member
Activity: 632
Merit: 500
Yeah, even with the threads at 1, it didn't change anything. As soon as I get 4 mining rigs working (or around 16 gpus), apocalypse comes say hello.

I'll look into bridging the modem. I have a couple of router in a box here, I'm going to try that.

Thanks!
Jump to: