Bitcoin Forum
August 15, 2025, 02:47:58 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 [312] 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 ... 515 »
  Print  
Author Topic: ANTMINER S3+ Discussion and Support Thread  (Read 710568 times)
kabopar
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
September 08, 2014, 06:12:50 AM
 #6221

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

Activity: 4060
Merit: 9342


https://bpip.org


View Profile WWW
September 08, 2014, 06:32:03 AM
 #6222

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 Offline

Activity: 4536
Merit: 1670


Ruu \o/


View Profile WWW
September 08, 2014, 06:40:06 AM
 #6223

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 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:
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.

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

Activity: 616
Merit: 500


View Profile
September 08, 2014, 07:15:27 AM
 #6224

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

Activity: 616
Merit: 500


View Profile
September 08, 2014, 07:20:08 AM
 #6225

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 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:
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
-ck
Legendary
*
Offline Offline

Activity: 4536
Merit: 1670


Ruu \o/


View Profile WWW
September 08, 2014, 07:36:16 AM
 #6226

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

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

Activity: 616
Merit: 500


View Profile
September 08, 2014, 07:45:02 AM
 #6227

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
Fahlcor
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
September 08, 2014, 11:58:31 AM
 #6228

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 Offline

Activity: 17
Merit: 0


View Profile
September 08, 2014, 12:13:08 PM
 #6229

Mantmonitor worked for me, are you using API access or web?   Web didn't seem overly happy when I tried it
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 08, 2014, 12:21:11 PM
 #6230

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

Activity: 518
Merit: 500



View Profile WWW
September 08, 2014, 12:23:57 PM
 #6231

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 Offline

Activity: 4536
Merit: 1670


Ruu \o/


View Profile WWW
September 08, 2014, 12:47:55 PM
 #6232

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

Activity: 616
Merit: 500


View Profile
September 08, 2014, 01:01:48 PM
 #6233

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
Full Member
***
Offline Offline

Activity: 195
Merit: 100


View Profile
September 08, 2014, 01:24:03 PM
 #6234

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 Offline

Activity: 11
Merit: 0


View Profile
September 08, 2014, 01:26:19 PM
 #6235

when i login and check stats of miner i can see the reject rate is ridiculously high. would it effect my mining?
Fahlcor
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
September 08, 2014, 01:27:54 PM
 #6236

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
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
September 08, 2014, 01:33:51 PM
 #6237

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
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
September 08, 2014, 01:56:25 PM
 #6238

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 Offline

Activity: 4536
Merit: 1670


Ruu \o/


View Profile WWW
September 08, 2014, 02:00:11 PM
 #6239

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

Activity: 518
Merit: 500



View Profile WWW
September 08, 2014, 03:33:31 PM
 #6240

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)?

Pages: « 1 ... 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 [312] 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 ... 515 »
  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!