Author

Topic: S9 Solo troubleshooting (Read 426 times)

newbie
Activity: 19
Merit: 0
March 12, 2018, 08:14:22 AM
#22
Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?


When you say it works fine, do you mean as part of a pool ? (i.e. a opposed to solo)

thanks
newbie
Activity: 19
Merit: 0
January 11, 2018, 11:10:21 AM
#21
Sorry, the command should be:

bfgminer -o http://127.0.0.1:8332 -u username -p USerpass1 --stratum-port 3333


Then your S9 should connect. I just tested it with my S9 and it works as expected.

Post a pic of your miner config page (you can blur or black out the secret stuff)

I believe the 3 proxies are the one S9 testing if the backup pools are live.

You could check to make sure the port is open and forwarding correctly, and nothing is blocking it. For example, a firewall isn't dropping the connections


Cool..

Here's the config:
https://i.imgur.com/uTXYAGd.png

Miner status *before* running BFGMiner  (slushpool - hashing no prob)
https://i.imgur.com/uRSqsHP.png

Console with BFGMiner running
https://i.imgur.com/RCY2BCY.png


Miner status *after* running BFGMiner  
https://i.imgur.com/r3jqucz.png


and after "q", here's the summary of runtime statistics:
Code:
 [2018-01-11 10:41:44]
Summary of runtime statistics:

 [2018-01-11 10:41:44] Started at [2018-01-11 10:31:47]
 [2018-01-11 10:41:44] Runtime: 0 hrs : 9 mins : 56 secs
 [2018-01-11 10:41:44] Average hashrate: 0.0 Megahash/s
 [2018-01-11 10:41:44] Solved blocks: 0
 [2018-01-11 10:41:44] Best share difficulty: 0
 [2018-01-11 10:41:44] Share submissions: 0
 [2018-01-11 10:41:44] Accepted shares: 0
 [2018-01-11 10:41:44] Rejected shares: 0 + 0 stale (-1.#J%)
 [2018-01-11 10:41:44] Accepted difficulty shares: 0
 [2018-01-11 10:41:44] Rejected difficulty shares: 0
 [2018-01-11 10:41:44] Hardware errors: 0
 [2018-01-11 10:41:44] Network transfer: 29.42 /  0.02 MB  ( 49.4 /   0.0 kB/s)
 [2018-01-11 10:41:44] Efficiency (accepted shares * difficulty / 2 KB): 0.00
 [2018-01-11 10:41:44] Utility (accepted shares / min): 0.00/min

 [2018-01-11 10:41:44] Unable to get work from server occasions: 0
 [2018-01-11 10:41:44] Work items generated locally: 49
 [2018-01-11 10:41:44] Submitting work remotely delay occasions: 0
 [2018-01-11 10:41:44] New blocks detected on network: 2

 [2018-01-11 10:41:44] Pool: http://localhost:8332
 [2018-01-11 10:41:44]  Share submissions: 0
 [2018-01-11 10:41:44]  Accepted shares: 0
 [2018-01-11 10:41:44]  Rejected shares: 0 + 0 stale (-1.#J%)
 [2018-01-11 10:41:44]  Accepted difficulty shares: 0
 [2018-01-11 10:41:44]  Rejected difficulty shares: 0
 [2018-01-11 10:41:44]  Network transfer: 14.63 /  0.01 MB  ( 23.7 /   0.0 kB/s)
 [2018-01-11 10:41:44]  Efficiency (accepted * difficulty / 2 KB): 0.00
 [2018-01-11 10:41:44]  Items worked on: 22
 [2018-01-11 10:41:44]  Unable to get work from server occasions: 0
 [2018-01-11 10:41:44]  Submitting work remotely delay occasions: 0

 [2018-01-11 10:41:44] Pool: http://127.0.0.1:8332/#getcbaddr#allblocks
 [2018-01-11 10:41:44]  Share submissions: 0
 [2018-01-11 10:41:44]  Accepted shares: 0
 [2018-01-11 10:41:44]  Rejected shares: 0 + 0 stale (-1.#J%)
 [2018-01-11 10:41:44]  Accepted difficulty shares: 0
 [2018-01-11 10:41:44]  Rejected difficulty shares: 0
 [2018-01-11 10:41:44]  Network transfer: 14.80 /  0.01 MB  ( 24.0 /   0.0 kB/s)
 [2018-01-11 10:41:44]  Efficiency (accepted * difficulty / 2 KB): 0.00
 [2018-01-11 10:41:44]  Items worked on: 1
 [2018-01-11 10:41:44]  Unable to get work from server occasions: 0
 [2018-01-11 10:41:44]  Submitting work remotely delay occasions: 0

 [2018-01-11 10:41:44] Summary of per device statistics:

 [2018-01-11 10:41:44] PXY0        | 20s:  0.0 avg:  0.0 u:  0.0  h/s | A:0 R:0+0(none) HW:0/none
 [2018-01-11 10:41:44] PXY1        | 20s:  0.0 avg:  0.0 u:  0.0  h/s | A:0 R:0+0(none) HW:0/none
 [2018-01-11 10:41:44]
Shutdown signal received.

C:\bfgminer-5.4.2-win64>


Thanks..

full member
Activity: 658
Merit: 118
January 10, 2018, 06:41:27 PM
#20
Sorry, the command should be:

bfgminer -o http://127.0.0.1:8332 -u username -p USerpass1 --stratum-port 3333


Then your S9 should connect. I just tested it with my S9 and it works as expected.

Post a pic of your miner config page (you can blur or black out the secret stuff)

I believe the 3 proxies are the one S9 testing if the backup pools are live.

You could check to make sure the port is open and forwarding correctly, and nothing is blocking it. For example, a firewall isn't dropping the connections
newbie
Activity: 19
Merit: 0
January 10, 2018, 04:15:33 PM
#19
Try with the command:

bfgminer -o http://192.168.1.193:8332 -u username -p userpass --stratum-port=3333


Then, in your S9 config, type:

mynetwork.net:3333
username
userpass

(no http or even stratum+tcp)



trying on just one S9....

Code:
\bfgminer-5.4.2-win64\bfgminer-5.4.2-win64>bfgminer -o http://127.0.0.1:8332 -u username
g -p USerpass1 --stratum-port=3333

gives:

Code:
 bfgminer version 5.4.2 - Started: [2018-01-10 16:13:15] - [  0 days 00:01:42]
 [M]anage devices [P]ool management [S]ettings [D]isplay options                                         [H]elp [Q]uit
 Pool 1: ...baddr#allblocks  Diff:1.93T  + GBT   LU:[16:14:48]  User:username
 Block: ...3ccc1d1ed3ad9714  Diff:1.93T (13.82Eh)  Started: [16:14:48]  I:?
 ST:9  F:0  NB:5  AS:0  BW:[ 28/  0kB/s]  E:0.00  BS:0
 0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------
 PXY 0:       | SICK /  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
 PXY 1:       | SICK /  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
 PXY 2:       | SICK /  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------
 [2018-01-10 16:13:09] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2018-01-10 16:13:09] Added local bitcoin RPC server on 127.0.0.1:8332 as pool 1
 [2018-01-10 16:13:09] Probing for an alive pool
 [2018-01-10 16:13:10] Pool 0 slow/down or URL or credentials invalid
 [2018-01-10 16:13:14] Now using coinbase address 1KYKLWeBzzqSuaKMnhrXFCsCgQaHXU4sU8, provided by pool 1
 [2018-01-10 16:13:14] Network difficulty changed to 1.93T (13.82Eh)
 [2018-01-10 16:13:14] Switching to pool 1 http://127.0.0.1:8332/#getcbaddr#allblocks - first alive pool
 [2018-01-10 16:13:14] Long-polling activated for http://127.0.0.1:8332/#getcbaddr#allblocks (getblocktemplate)
 [2018-01-10 16:13:56] Longpoll from pool 1 detected new block
 [2018-01-10 16:14:09] Longpoll from pool 1 detected new block
 [2018-01-10 16:14:19] PXY 0: Idle for more than 60 seconds, declaring SICK!
 [2018-01-10 16:14:27] PXY 1: Idle for more than 60 seconds, declaring SICK!
 [2018-01-10 16:14:27] PXY 2: Idle for more than 60 seconds, declaring SICK!
 [2018-01-10 16:14:28] Longpoll from pool 1 detected new block
 [2018-01-10 16:14:48] Longpoll from pool 1 detected new block


got 3 proxies?
full member
Activity: 658
Merit: 118
January 10, 2018, 03:57:15 PM
#18
Try with the command:

bfgminer -o http://192.168.1.193:8332 -u username -p userpass --stratum-port=3333


Then, in your S9 config, type:

mynetwork.net:3333
username
userpass

(no http or even stratum+tcp)

newbie
Activity: 19
Merit: 0
January 10, 2018, 03:44:33 PM
#17
Why are you using these switches:

-S bitmain:auto --set btm:model=S9 --no-longpoll



The first two because I dunno what I'm doing and thought it might helpful to recognize the S9;  and longpoll because I read somewhere it had to do with pools, and to use it if I want to mine solo - I may have been tired..but it stayed there with every new attempt..
full member
Activity: 658
Merit: 118
January 10, 2018, 03:39:21 PM
#16
Why are you using these switches:

-S bitmain:auto --set btm:model=S9 --no-longpoll

Post your S9 miner config and miner status (although you could blur out the usernames and IPs if needed)
newbie
Activity: 19
Merit: 0
January 10, 2018, 03:23:51 PM
#15
Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?
Are you using BFGMiner?  sorry - I meant to ask, how did you get it to work?   Did you build the executable?  I'm stuck...

I posted to its forum and I was told that S9's are not supported...
Thanks

My questions as well.
The s9's are stand-alone miners with their own controllers and BMminer miner software (Bitmains ripped off version of cgminer).
So,
a. Why on earth would you want to try and re-invent the wheel by using a different controller/software?
b. How did you write a driver to interface between the s9 hash boards and BFGminer?


Let me try to answer a and b  :

S9 is offsite so I pointed the URL to
http://mynetwork.net:3333
   and the backup to
   stratum+tcp://mynetwork.net:3333


I opened port 3333 on mynetwork.net to allow 3333 traffic from the off-site's ip


On my pc, I run bitcoind with -server in the config, along with
Code:
txindex=1
server=1
rpcuser=username
rpcpassword=USerpass1
rpcport=8332
rpcconnect=127.0.0.1
gen=0

On that same pc, I run an utter hack, using my palms to type:

Code:
C:\bfgminer-5.4.2-win64\bfgminer-5.4.2-win64>bfgminer -o http://127.0.0.1:8332 -u username -p USerpass1 --stratum-port=3333 -S bitmain:auto --set btm:model=S9 --no-longpoll

and get


Code:
bfgminer version 5.4.2 - Started: [2018-01-10 15:09:11] - [  0 days 00:00:16]
 [M]anage devices [P]ool management [S]ettings [D]isplay options                                         [H]elp [Q]uit
 Pool 0: 127.0.0.1           Diff:1.93T  - GBT   LU:[15:09:11]  User:username
 Block: ...0ecf5579a7b6f1d6  Diff:1.93T (13.82Eh)  Started: [15:09:11]  I:?
 ST:4  F:0  NB:1  AS:0  BW:[199/  0kB/s]  E:0.00  BS:0

-----------------------------------------------------------------------------------------------------------------------
 PXY 0:       |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
 PXY 1:       |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------
 [2018-01-10 15:09:03] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2018-01-10 15:09:03] Added local bitcoin RPC server on 127.0.0.1:8332 as pool 1
 [2018-01-10 15:09:03] Probing for an alive pool
 [2018-01-10 15:09:11] Now using coinbase address 1KYKLWeBzzqSuaKMnhrXFCsCgQaHXU4sU8, provided by pool 1
 [2018-01-10 15:09:11] Network difficulty changed to 1.93T (13.82Eh)
 [2018-01-10 15:09:11] Pool 0 http://127.0.0.1:8332 alive
 [2018-01-10 15:09:11] Pool 1 http://127.0.0.1:8332/#getcbaddr#allblocks alive



Then they get sick.   During this time the 3rd backup (slushpool) shows degrading hashrates until zero - shows my pc has taken control of the miners...


Stranger things sidenote : I don't want to confuse anything, but I actually got it working at the beginning :
https://i.imgur.com/JxYUEyt.png

Went to bed so happy I couldn't feel anything - Next morning, pc had rebooted from windows update, and no more nirvana. Just not working anymore - just zeros...)
full member
Activity: 658
Merit: 118
January 10, 2018, 03:04:35 PM
#14
You want to run BFG in stratum proxy mode.

So, imagine your BFG was running on 192.168.1.193:

bfgminer -o http://192.168.1.193:8332 -u username -p userpass --stratum-port=3333


Then, you'd point your S9s to

192.168.1.193:3333

with username and userpass



legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
January 10, 2018, 02:47:05 PM
#13
Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?
Are you using BFGMiner?  sorry - I meant to ask, how did you get it to work?   Did you build the executable?  I'm stuck...

I posted to its forum and I was told that S9's are not supported...
Thanks

My questions as well.
The s9's are stand-alone miners with their own controllers and BMminer miner software (Bitmains ripped off version of cgminer).
So,
a. Why on earth would you want to try and re-invent the wheel by using a different controller/software?
b. How did you write a driver to interface between the s9 hash boards and BFGminer?
newbie
Activity: 19
Merit: 0
January 10, 2018, 10:01:16 AM
#12
Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?


Are you using BFGMiner?  sorry - I meant to ask, how did you get it to work?   Did you build the executable?  I'm stuck...

I posted to its forum and I was told that S9's are not supported...


Thanks
newbie
Activity: 19
Merit: 0
January 09, 2018, 01:58:28 PM
#11
argh...


Ok - Power properly done.


Pool URLs on the 2xS9's:

http://myawesomeminingsite:3333
stratum+tcp://myawesomeminingsite.org:3333
stratum+tcp://us-east.stratum.slushpool.com:3333
      ...with worker1 and worker2 in the second fields; arbitrary passwords in 3rd field


Network is ok  - (I'm pretty sure)  - allowed TCP port 3333 by ip on FW


Now:

bfgminer -o http://localhost:8332 -u username -p userpass --http-port=3333 -S bitmain:auto --no-longpoll --no-stratum

yields

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NO DEVICES FOUND: Press 'M' and '+' to add
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------


but running

bfgminer -o http://192.168.1.193:8332 -u username -p userpass --stratum-port=3333 -S bitmain:auto --no-longpoll --nostratum

yields:

Code:
 bfgminer version 5.4.2 - Started: [2018-01-09 14:13:31] - [  0 days 00:01:22]
 [M]anage devices [P]ool management [S]ettings [D]isplay options                                                                                          
 Pool 0: 192.168.1.193       Diff:1.93T  - GBT   LU:[14:13:30]  User:username
 Block #503380: ...5d5e73b3  Diff:1.93T (13.82Eh)  Started: [14:13:30]  I: 0.00 BTC/hr
 ST:4  F:0  NB:1  AS:0  BW:[ 47/  0kB/s]  E:0.00  BS:0
 0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 PXY 0:       | SICK /  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
 PXY 1:       | SICK /  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 [2018-01-09 14:13:30] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2018-01-09 14:13:30] Added local bitcoin RPC server on port 8332 as pool 1
 [2018-01-09 14:13:30] Probing for an alive pool
 [2018-01-09 14:13:30] Now using coinbase address 16KcpDZ1qguWQozBikcRuUqP4Qg6QTo8af, provided by pool 1
 [2018-01-09 14:13:30] Network difficulty changed to 1.93T (13.82Eh)
 [2018-01-09 14:13:30] Pool 0 http://192.168.1.193:8332 alive
 [2018-01-09 14:13:30] Pool 1 http://localhost:8332/#getcbaddr#allblocks alive
 [2018-01-09 14:13:30] Pool 1 http://localhost:8332/#getcbaddr#allblocks alive
 [2018-01-09 14:14:35] PXY 0: Idle for more than 60 seconds, declaring SICK!
 [2018-01-09 14:14:35] PXY 1: Idle for more than 60 seconds, declaring SICK!



I read somewhere that stratum was for pools, i.e. not solo... but at least they're showing up...



Any ideas?

newbie
Activity: 19
Merit: 0
January 09, 2018, 11:34:22 AM
#10
220V dual setup complete !

https://imgur.com/WazNMsC


(That's all my friend Phil btw..)




Still having connection issue tho

Netstat shows

TCP    192.168.1.xxx:3333     84.39.112.56:44543     ESTABLISHED


so it *is* connected to the machine running BFGMiner,
but slushpool (listed in the S9 backup URL) keeps on hashing at 14 Th/s
 
I'll keep hacking away and come back here.



BTW, do we have to *compile* BFGMiner or can we just use the provided exe?




Thanks !









member
Activity: 504
Merit: 71
Just Getting Started...
January 08, 2018, 08:33:56 PM
#9
And do away with the junk surge protector.
hero member
Activity: 756
Merit: 560
January 08, 2018, 04:58:14 PM
#8
If you are running the APW3 off of 110v power that is obviously the problem You are using a 1200w PSU on a 1400w miner. It will run for a while but eventually overwhelm the power supply. Run it on 220 like you are supposed to and your problems will go away.
newbie
Activity: 19
Merit: 0
January 08, 2018, 04:34:55 PM
#7

Yes, but maybe I missed something - I understood the main takeaway to be to not run more than 1 S9 per circuit breaker...


The machine is running, and slush reports more 13.5 Th/s for last couple days..


If we don't put anyting between the bitmain PSU (APW3++ PSU 1600W)  and the wall, are we heading for trouble?    Can this really also be the cause of BCGMiner not working with the S9 anymore?   
newbie
Activity: 18
Merit: 0
newbie
Activity: 19
Merit: 0
January 08, 2018, 03:39:09 PM
#5
110..
full member
Activity: 658
Merit: 118
January 08, 2018, 03:36:23 PM
#4
Are you running it on 110v or 220v?

Most standard surge protectors have a 15amp cut off. At 110v, you're triggering that with an S9.
newbie
Activity: 19
Merit: 0
January 08, 2018, 03:20:51 PM
#3


I was able to properly setup the network and both configs (BFGMiner and bitcoind) in large part thanks to *your older post I might add, and actually did some mining for at least a few hours, so the network has got to be ok..

(if anyone is interested I can post a diagram of the network setup I put together from the various posts)




For the power, we blew up 2 surge protectors at the very beginning, so we are doing without for now... I'm starting to think this may have been a bad idea.. do you think that's the issue?   if so, why is it working fine with slush for the past few days 24/7...?



newbie
Activity: 18
Merit: 0
January 08, 2018, 02:46:25 PM
#2
Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?
newbie
Activity: 19
Merit: 0
January 08, 2018, 09:34:15 AM
#1
Hi,

I was finally able to plug an S9 in after what seems like a long, long time waiting.

I want to mine on the edge, so to speak, i.e. solo, in order to better understand bitcoin at every level, including as much control as possible, including adding transactions on the fly.   



After perusing this forum, am I to understand that as of today in Jan 2018 it is not possible to provide the proxy needed between my bitcoind and the S9?



BFGminer seems to only support S1-S5;  I tried BFGMiner and it worked fine at the start.  I left it as is, but the next morning I saw it had stopped.

Restarting now yields PXY 0 : and 0's all across


It's weird because I know it's connecting to the S9 because the slushpool (backup #1) shows a degradation in hashrate until it goes completely offline - BFGMiner takes control of the S9 away from the pool.  After waiting a few more minutes, slush is 100% dead and BFGMiner shows PXY0 as SICK, and then DEAD.     


The behavior is the same on both Windows and Ubuntu.



Should I stop looking for a solution? 


Cheers!
Jump to: