kabopar
|
 |
September 08, 2014, 06:12:50 AM |
|
I don't have the build environment to create a full binary image, and the code will need a LOT of work to actually become part of mainline cgminer it seems, but for the time being here is a link to a bugfixed binary of cgminer 4.6.0 for the S3 based on the bitmain code. Copy the file into /usr/bin/ on the S3 overwriting the existing one: http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminerIs there an easy way to get this onto our boxes? Do I just get form command line or? Thx Fahlcor did this login root/root cd.. cd /usr/bin mkdir oldcgminer (to keep a copy of the old one) mv cgminer oldcgminer/cgminer wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminerreboot seemed to work to get it there but the permissions are wrong. sorry my nix is rusty. any help? Tried to follow the same steps, but it doesn't seem to start hashing - the status page parameters remain empty. I reinstated the original cgminer and it is hashing now. Cheers
|
|
|
|
suchmoon
Legendary
Offline
Activity: 4060
Merit: 9342
https://bpip.org
|
 |
September 08, 2014, 06:32:03 AM |
|
seemed to work to get it there but the permissions are wrong. sorry my nix is rusty. any help?
Tried to follow the same steps, but it doesn't seem to start hashing - the status page parameters remain empty. I reinstated the original cgminer and it is hashing now. Cheers Perhaps chmod 755 cgminer would help? Can you try running cgminer manually from the command line?
|
|
|
|
-ck
Legendary
Offline
Activity: 4536
Merit: 1670
Ruu \o/
|
 |
September 08, 2014, 06:40:06 AM |
|
Yes, make it executable with that chmod or 'chmod +x' as well. Alternatively you can download it to your pc and copy it to the root directory and then move it across at your leisure. Eg if you're on a linux pc: On your PC: wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminer scp cgminer root@192.168.1.99: [Or whatever IP address your S3 is] ssh -l root 192.168.1.99
If you're not on linux you can use winscp for the scp part and putty for the ssh part On the S3 after login: /etc/init.d/cgminer stop mv /usr/bin/cgminer /usr/bin/cgminer.bak mv cgminer /usr/bin /etc/init.d/cgminer start
Even after rebooting the S3 it will continue to use the new binary unless you issue a complete hardware reset.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
kabopar
|
 |
September 08, 2014, 07:15:27 AM |
|
seemed to work to get it there but the permissions are wrong. sorry my nix is rusty. any help?
Tried to follow the same steps, but it doesn't seem to start hashing - the status page parameters remain empty. I reinstated the original cgminer and it is hashing now. Cheers Perhaps chmod 755 cgminer would help? Can you try running cgminer manually from the command line? Thanks, this solved the permissions issue, and the new cgminer is running. Cheers
|
|
|
|
kabopar
|
 |
September 08, 2014, 07:20:08 AM |
|
Yes, make it executable with that chmod or 'chmod +x' as well. Alternatively you can download it to your pc and copy it to the root directory and then move it across at your leisure. Eg if you're on a linux pc: On your PC: wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminer scp cgminer root@192.168.1.99: [Or whatever IP address your S3 is] ssh -l root 192.168.1.99
If you're not on linux you can use winscp for the scp part and putty for the ssh part On the S3 after login: /etc/init.d/cgminer stop mv /usr/bin/cgminer /usr/bin/cgminer.bak mv cgminer /usr/bin /etc/init.d/cgminer start
Even after rebooting the S3 it will continue to use the new binary unless you issue a complete hardware reset. Thanks. Is there any way to check the running version from the gui? (it still says that the version is 3.12.0-1 under System, Software on the web gui) Cheers
|
|
|
|
-ck
Legendary
Offline
Activity: 4536
Merit: 1670
Ruu \o/
|
 |
September 08, 2014, 07:36:16 AM |
|
Thanks. Is there any way to check the running version from the gui? (it still says that the version is 3.12.0-1 under System, Software on the web gui)
That's just the installed package reference but you've overwritten the binary. If you are on a remote machine, from another copy of cgminer you can do the following command: java API version 192.168.1.99
Where 192.168.1.99 is the S3. Or on the S3 itself run
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
kabopar
|
 |
September 08, 2014, 07:45:02 AM |
|
Thanks. Is there any way to check the running version from the gui? (it still says that the version is 3.12.0-1 under System, Software on the web gui)
That's just the installed package reference but you've overwritten the binary. If you are on a remote machine, from another copy of cgminer you can do the following command: java API version 192.168.1.99
Where 192.168.1.99 is the S3. Or on the S3 itself run Thanks. Running this from a Win7 command window produces ....[VERSION] => ( [CGMiner] => 4.6.0 ....... Cheers
|
|
|
|
Fahlcor
|
 |
September 08, 2014, 11:58:31 AM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
|
|
|
|
shadow2
Newbie
Offline
Activity: 17
Merit: 0
|
 |
September 08, 2014, 12:13:08 PM |
|
Mantmonitor worked for me, are you using API access or web? Web didn't seem overly happy when I tried it
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
 |
September 08, 2014, 12:21:11 PM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
Bitmain used a, um, hacked version of cgminer. The API output isn't even close to accurate. That's why one of the later versions of the firmware broke M's Ant Monitor, as the output from the API was actually malformed (incorrect) JSON. I had to compensate for it in my code for it to work again. Therefore it's not a surprise that the proper API from 4.6 doesn't work. I'll see if I can put it on my S3 in a manner that I can go back. I think I can manage that. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
pekatete
|
 |
September 08, 2014, 12:23:57 PM |
|
seemed to work to get it there but the permissions are wrong. sorry my nix is rusty. any help?
Tried to follow the same steps, but it doesn't seem to start hashing - the status page parameters remain empty. I reinstated the original cgminer and it is hashing now. Cheers Perhaps chmod 755 cgminer would help? Can you try running cgminer manually from the command line? Here's what I've used and it started hashing as usual. 1. SSH into the S3 and login 2. Issue the following commands sequentially. a) cd /usr/bin b) mv cgminer cgminer.bak c) wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminer d) chmod +x cgminer e) reboot
|
|
|
|
-ck
Legendary
Offline
Activity: 4536
Merit: 1670
Ruu \o/
|
 |
September 08, 2014, 12:47:55 PM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
Bitmain used a, um, hacked version of cgminer. The API output isn't even close to accurate. That's why one of the later versions of the firmware broke M's Ant Monitor, as the output from the API was actually malformed (incorrect) JSON. I had to compensate for it in my code for it to work again. Therefore it's not a surprise that the proper API from 4.6 doesn't work. I'll see if I can put it on my S3 in a manner that I can go back. I think I can manage that. Actually I used their git master tree driver specifically to try and not break their luci web which shouldn't have changed their API output too much from what they expect though it needed a few basic fixes. A proper merge and rewrite would likely break all their interfaces and this binary I posted was just as a service to provide the bugfixes in later versions, especially for the protection against the redirect attack. I don't anticipate I'll be doing the proper rewrite, but Kano probably will when we free him up from pool code work.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
kabopar
|
 |
September 08, 2014, 01:01:48 PM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
I updated all my S3's to 4.6 and they all show up fine on Ant Monitor (v3.1). Cheers
|
|
|
|
SMB-2525
|
 |
September 08, 2014, 01:24:03 PM |
|
ANTMINER S3 Wireless configuration.
My B7 S3 is able to detect my wireless router without having the antenna mod discussed above. Has that been the case with the earlier versions?
Given the large number of thumbs on my two hands, it would be nice if I did not have to do the mod.
TIA
|
|
|
|
hochiroku
Newbie
Offline
Activity: 11
Merit: 0
|
 |
September 08, 2014, 01:26:19 PM |
|
when i login and check stats of miner i can see the reject rate is ridiculously high. would it effect my mining?
|
|
|
|
Fahlcor
|
 |
September 08, 2014, 01:27:54 PM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
I updated all my S3's to 4.6 and they all show up fine on Ant Monitor (v3.1). Cheers yeah I switch Ant MOnitor to use Web and is looking nice now. I'll do the other 11 now. Could someone sticky that post and host the file long term for the others that might want to upgrade? Seems simple enough as I doubt Bitmain would do it any time soon... Anyone see any reason not to do this? Fahlcor
|
|
|
|
Fahlcor
|
 |
September 08, 2014, 01:33:51 PM |
|
when i login and check stats of miner i can see the reject rate is ridiculously high. would it effect my mining?
Post your actual rates for hash as a comparison.
|
|
|
|
Fahlcor
|
 |
September 08, 2014, 01:56:25 PM |
|
I have 4.6 running and according to TOP it is hashing.
But M's Ant monitor does not talk to it any more.
according to miner status it web page it is hashing fine also.
maybe I'll waiting until M gets the ant monitor updted to the 4.6 API?
I can't live without Ant Monitor.
Fahlcor
I updated all my S3's to 4.6 and they all show up fine on Ant Monitor (v3.1). Cheers yeah I switch Ant MOnitor to use Web and is looking nice now. I'll do the other 11 now. Could someone sticky that post and host the file long term for the others that might want to upgrade? Seems simple enough as I doubt Bitmain would do it any time soon... Anyone see any reason not to do this? Fahlcor I also noticed the load average is way lower on the CPU now that it was. was always above 2 before. now hovers around 1.2. any additional benefit to these devices to run with lower/higher loads?
|
|
|
|
-ck
Legendary
Offline
Activity: 4536
Merit: 1670
Ruu \o/
|
 |
September 08, 2014, 02:00:11 PM |
|
I also noticed the load average is way lower on the CPU now that it was. was always above 2 before. now hovers around 1.2. any additional benefit to these devices to run with lower/higher loads?
That's likely the advantage of the newer version. In principle it will lead to less lag time in keeping the device busy and less time to process and send shares. However cgminer is so heavily multithreaded that it probably won't matter since the latency critical parts of the cgminer code are already prioritised.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
pekatete
|
 |
September 08, 2014, 03:33:31 PM |
|
I also noticed the load average is way lower on the CPU now that it was. was always above 2 before. now hovers around 1.2. any additional benefit to these devices to run with lower/higher loads?
That's likely the advantage of the newer version. In principle it will lead to less lag time in keeping the device busy and less time to process and send shares. However cgminer is so heavily multithreaded that it probably won't matter since the latency critical parts of the cgminer code are already prioritised. Still early days since I updated my S3 with the latest cgminer (3 hrs+) but I have noticed an improvement in the pool-side reported hashrate AND I suspect a reduced DiffR. This is on top of a faster UI (which I attribute to the lower load average). Just a question, would this cgminer run on an S1 (like to earlier Kano cgminer)?
|
|
|
|
|