Author

Topic: ANTMINER S3+ Discussion and Support Thread - page 204. (Read 710164 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 08, 2014, 09:00:11 AM
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.
full member
Activity: 139
Merit: 100
September 08, 2014, 08:56:25 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

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?
full member
Activity: 139
Merit: 100
September 08, 2014, 08:33:51 AM
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.
full member
Activity: 139
Merit: 100
September 08, 2014, 08:27:54 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

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
newbie
Activity: 11
Merit: 0
September 08, 2014, 08:26:19 AM
when i login and check stats of miner i can see the reject rate is ridiculously high. would it effect my mining?
full member
Activity: 195
Merit: 100
September 08, 2014, 08:24:03 AM
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
hero member
Activity: 616
Merit: 500
September 08, 2014, 08:01:48 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

I updated all my S3's to 4.6 and they all show up fine on Ant Monitor (v3.1).

Cheers
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 08, 2014, 07:47:55 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

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.
hero member
Activity: 518
Merit: 500
September 08, 2014, 07:23:57 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?

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
legendary
Activity: 1540
Merit: 1001
September 08, 2014, 07:21:11 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

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
newbie
Activity: 17
Merit: 0
September 08, 2014, 07:13:08 AM
Mantmonitor worked for me, are you using API access or web?   Web didn't seem overly happy when I tried it
full member
Activity: 139
Merit: 100
September 08, 2014, 06: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
hero member
Activity: 616
Merit: 500
September 08, 2014, 02: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:
Code:
java API version 192.168.1.99
Where 192.168.1.99 is the S3.

Or on the S3 itself run
Code:
cgminer-api version

Thanks.  Running this from a Win7 command window produces
....[VERSION] =>
(
   
  • => VERSION
[CGMiner] => 4.6.0
.......

Cheers
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 08, 2014, 02: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:
Code:
java API version 192.168.1.99
Where 192.168.1.99 is the S3.

Or on the S3 itself run
Code:
cgminer-api version
hero member
Activity: 616
Merit: 500
September 08, 2014, 02: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:
Code:
wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminer
scp cgminer [email protected]:  [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:
Code:
/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
hero member
Activity: 616
Merit: 500
September 08, 2014, 02: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
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 08, 2014, 01: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:
Code:
wget http://ck.kolivas.org/apps/cgminer/antminer/s3/4.6.0-140908/cgminer
scp cgminer [email protected]:  [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:
Code:
/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.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
September 08, 2014, 01: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?
hero member
Activity: 616
Merit: 500
September 08, 2014, 01: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/cgminer

Is 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/cgminer
reboot

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
full member
Activity: 139
Merit: 100
September 08, 2014, 12:13:58 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/cgminer

Is 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/cgminer
reboot

seemed to work to get it there but the permissions are wrong.  sorry my nix is rusty.  any help?
Jump to: