Title: S9 Solo troubleshooting Post by: Danthepermanentman on January 08, 2018, 02:34:15 PM 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! Title: Re: S9 Solo troubleshooting Post by: t0nyst4r on January 08, 2018, 07:46:25 PM 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?
Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 08, 2018, 08:20:51 PM 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...? Title: Re: S9 Solo troubleshooting Post by: wavelengthsf on January 08, 2018, 08:36:23 PM 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. Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 08, 2018, 08:39:09 PM 110..
Title: Re: S9 Solo troubleshooting Post by: t0nyst4r on January 08, 2018, 09:24:02 PM Have you read this thread? https://bitcointalk.org/index.php?topic=1788349.0
Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 08, 2018, 09:34:55 PM Have you read this thread? https://bitcointalk.org/index.php?topic=1788349.0 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? Title: Re: S9 Solo troubleshooting Post by: fanatic26 on January 08, 2018, 09:58:14 PM 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.
Title: Re: S9 Solo troubleshooting Post by: Raymond_B on January 09, 2018, 01:33:56 AM And do away with the junk surge protector.
Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 09, 2018, 04:34:22 PM 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 ! Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 09, 2018, 06:58:28 PM 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] I read somewhere that stratum was for pools, i.e. not solo... but at least they're showing up... Any ideas? Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 10, 2018, 03:01:16 PM 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? <edit>sorry - I meant to ask, how did you get it to work? Did you build the executable? I'm stuck...</edit> I posted to its forum and I was told that S9's are not supported... Thanks Title: Re: S9 Solo troubleshooting Post by: NotFuzzyWarm on January 10, 2018, 07:47:05 PM 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? <edit>sorry - I meant to ask, how did you get it to work? Did you build the executable? I'm stuck...</edit>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? Title: Re: S9 Solo troubleshooting Post by: wavelengthsf on January 10, 2018, 08:04:35 PM 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 Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 10, 2018, 08:23:51 PM 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? <edit>sorry - I meant to ask, how did you get it to work? Did you build the executable? I'm stuck...</edit>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? 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 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] 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...) Title: Re: S9 Solo troubleshooting Post by: wavelengthsf on January 10, 2018, 08:39:21 PM 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) Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 10, 2018, 08:44:33 PM 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.. Title: Re: S9 Solo troubleshooting Post by: wavelengthsf on January 10, 2018, 08:57:15 PM 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) Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 10, 2018, 09:15:33 PM 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 gives: Code: bfgminer version 5.4.2 - Started: [2018-01-10 16:13:15] - [ 0 days 00:01:42] got 3 proxies? Title: Re: S9 Solo troubleshooting Post by: wavelengthsf on January 10, 2018, 11:41:27 PM 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 Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on January 11, 2018, 04:10:21 PM 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] Thanks.. Title: Re: S9 Solo troubleshooting Post by: Danthepermanentman on March 12, 2018, 01:14:22 PM 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 |