Author

Topic: Terraminer IV - drops to 50% hashing after 24 - 30 hours... (Read 2833 times)

hero member
Activity: 756
Merit: 501
waldohoover - so are you saying that a remote reboot will get the TM back up and running at full hashing rate and that I don't need to physically unplu and replug in the PSU's?

Basically.  I am not going to speculate here but it is not "hacked".   Power stepping does work.  I have a hosting business and many of these units.  I have seen 4 different issues with these units that have similar symptoms. 


.02BTC
-D

In what way does power stepping work?  Can you get better performance from problem machines by stepping down the power setting?  Details would be appreciated.
full member
Activity: 188
Merit: 100
I have a Group Buy with a TerraMiner that likes to get hot and slow down.....I have our TM in a datacenter and I have a VPN from my house to the machine......I just remote in to my house from my iPhone and check on the TM....Its a pain in the A, but that way I can stay on top of the hash rate no matter where I am...(as long as I have internet/cell coverage)
legendary
Activity: 1330
Merit: 1026
Mining since 2010 & Hosting since 2012
waldohoover - so are you saying that a remote reboot will get the TM back up and running at full hashing rate and that I don't need to physically unplu and replug in the PSU's?

Basically.  I am not going to speculate here but it is not "hacked".   Power stepping does work.  I have a hosting business and many of these units.  I have seen 4 different issues with these units that have similar symptoms. 


.02BTC
-D
newbie
Activity: 60
Merit: 0
Well, I've had the problem twice now over the last 5 days.  Both times I brought up the Terraminer admin page and selected Restart System.  Within 4 -5 minutes the machine was back up to the normal 1.6Th/s rate.  This seems like a workable solution when I am out of town since I can use TeamViewer to log into a local machine and execute the restart.

Thanks for all the help!
full member
Activity: 210
Merit: 100
It could be one of two things, either one of your power supplies is tripping its breaker or your miner has been hacked since cointerras operating system is vulnerable to the HEARTBLEED malware.  To tell if your miner has been hacked, on the status page of the cointerras GUI if you see only CTA0 or only CTA1, almost as if its been erased from the GUI than you have been hacked.  I know this because it's happened to me and apparently alot of other cointerra customers according to the Cointerra support forum.  If that is the case than contact Cointerra customer support and they will walk you through on how to reset the embedded Linux controller, it's time consuming and you have to be comfortable with working on Linux.

I have my own data center, I'm not tripping breakers.

Nobody has 'hacked' my TerraMiners, I knew about this issue, I was unaffected.

I'm doubting it's only these "two things". These are possibilities, the real answer is shitty gear. I've RMAd them already and have received the same, crappy gear. Cointerra replies with an "oh well".


Sad hope you get it fixed
member
Activity: 117
Merit: 10

Ok, thank you very much for the help.

Just to clarify once more.

Every 4 hour reboot:

1. SSH into miner

2. Type: echo '0 0 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root
No need for this step 2., the next one (3.) will still do this (4 is a factor of 12), but there's no harm in doing it
Quote

3. Type: echo '0 0,4,8,12,16,20 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root

Anything else need to be done after this? (Save, quit etc)
Nothing other than a reboot. The file is saved, but the *actual* crontab isn't loaded yet, so a reboot is necessary.
Quote


And just to cover my steps again, if I wanted to disable the automatic reboot and bring it back default, would it be this?:

1. SSH into miner

2. Type: echo '0 0 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root
This isn't necessary either; again, if you do the following command in step 3., it doesn't matter if you perform step 2. or not.
Quote

3. Type: echo '*/5 * * * * /opt/restart_cgminer.sh' > /Angstrom/Cointerra/crontab.root



Thank you again for the help



I agree, my original post was a little terse. The unix way of *appending* the output of a program to a file is the '>>' syntax. To overwrite the entire contents of a file with the output of a program, you use the single '>' syntax. 'echo' is just a way to send some text to the "standard output" so that the '>>' or '>' syntax works.

If you run the command 'crontab -l' you'll get the output of what the system is currently using for cronjobs ("chronological jobs"). You'll notice that after you run 'echo '0 0 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root', you'll only see one line from 'crontab -l' before rebooting (the original one put in by Cointerra). *After* rebooting, it should have loaded the contents of what's in the file /Angstrom/Cointerra/crontab.root, which should contain the new reboot jobs.

Clear as mud? PM me if you need further clarification. Power cycling electronics isn't good, but this shitty hack might very well be worth the mild hurt.
newbie
Activity: 29
Merit: 0
I have a theory about the hashrate dropping... I think the PSU's are dying. For those of you suffering this problem can you tell me if your units have normal or reverse flow cooling on the PSU?

You see it seems like cointerra bought both reverse flow and normal flow power supplies and they also rely purely of the PSU fans to cool them. These PSU's are working pretty hard and might be overheating and causing the hashrate to drop. You can tell if your PSU's are reverse flow if there is an extra bit of metal sticking out the back of your case around where the power cables plug in. This is to prevent hot air being sucked back into the PSU's.

You can drastically improve the cooling of your PSU's by adding another fan on the side of the case where there is an exhaust/intake hole for reverse/normal PSU's. There is a spare fan power socket at the rear of the boards you can plug the new fan straight into there and just tape it onto the outside of your machine, an easy modification.

I think it is a good idea to include this extra fan no matter what airflow PSU's you have but if you have the reverse flow type I would say it is very important to do so as the PSU's will be alot hotter in this configuration.

@ waldohoover, As you have six machines and only there are dying can you tell us if the three that are dying are reverse or normal flow compared to the three that are alive? This would be very interesting to know.

sr. member
Activity: 327
Merit: 250
The question is why have they not patched SSL and released a Firmware.

Don't even get me started on that.. I send a weekly email asking this. Sometimes you just have to take it into your own hands and try to make it work.  Undecided

I tried to build it and patch it myself, however its above my ability. If it was a normal distribution it would be simple.

I remember someone (maybe you?) - had a Cointerra thread started about trying to fix/tweak the UI to work as it should have out of the factory but the end result never happened.

The SSL thing is such an annoying PITA to look at every time I log in.

Not me, I am great at fixing thing, but not much for coding.

I am just more annoyed my network is vulnerable to attack should they get entry. I have things locked down to make it difficult, but hackers these days, if they want it they will get it.
sr. member
Activity: 327
Merit: 250
The question is why have they not patched SSL and released a Firmware.

Don't even get me started on that.. I send a weekly email asking this. Sometimes you just have to take it into your own hands and try to make it work.  Undecided

I tried to build it and patch it myself, however its above my ability. If it was a normal distribution it would be simple.
sr. member
Activity: 327
Merit: 250
The question is why have they not patched SSL and released a Firmware.
member
Activity: 117
Merit: 10

If/when I may need to set it to default, would it be:

echo '* * * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root

No, just do this to reset to the default (what was in the file originally):
echo '*/5 * * * * /opt/restart_cgminer.sh' > /Angstrom/Cointerra/crontab.root
Quote
What would the code be if I wanted it to reboot every 4 hours (if possible?).

To have any of these changes take effect, you need to reboot.

I edited my original answer. A decent summary of cronjobs (and the crontab, which is indirectly what we're editing) can be found (via google) here:

http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/
member
Activity: 117
Merit: 10
Any ideas or suggestions?

1) ssh into your box
2) #: crontab -e
3) add the line:
     * 23 * * * /sbin/reboot
4) #: crontab -l
... should output something like this:

*/5 * * * * /opt/restart_cgminer.sh
* 23 * * * /sbin/reboot


I'm new to code, actually, I'm foreign to it but with that code is that telling it to reboot every day? Or 23rd hour?

What I'm getting at, I would like to add the job to reboot every 4 hours on a few of my miners but do not know exactly now to navigate to the file, edit it, etc.

Yes, it's supposed to reboot on every 23rd hour (11:00pm)

I'm very sorry, this is not an adequate solution. The system doesn't have persistent cron job files, so this doesn't work at all. I deleted the original post.

Ok thanks for the clarification. Still trying to learn/teach myself.

That is too bad it won't work though, that would of been a very handy bit of code to take a load off having to check it every hour.

**edit:** Speak of the devil, and as I just went to check TM3 is down and TM4 dropped in rate. Sigh.

Do this instead:
1) ssh into the box, then issue this command:
 
echo '0 0 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root

If you want to reboot every 4 hours, do this instead:

echo '0 0,4,8,12,16,20 * * * /sbin/reboot' >> /Angstrom/Cointerra/crontab.root

This is totally untested, but I'd be surprised if it didn't work.
newbie
Activity: 60
Merit: 0
If you really want to remote power on/off your miner, this company makes Web Power Switches that connect to your Ethernet network and has 10 outlets and you login to a web page and control your outlets remotely.

Which company? I think you forgot to name it....?  

They are called Web Power Switches, the actual company.

Honestly, my way will work 99% of the time.. and it's free. Do not spend more $$ on the problem if you do not need to. If in the case the remote cycle doesn't work (again, it always 99% does) then go with an adapter to reboot. But first you need to verify these switches can handle all the wattage and amperage that comes out of the miners. Most of these power cycle switches are made for servers and desktop pcs.

Thanks.  I am going to try the power step / reboot option when I get home. 
newbie
Activity: 60
Merit: 0
If you really want to remote power on/off your miner, this company makes Web Power Switches that connect to your Ethernet network and has 10 outlets and you login to a web page and control your outlets remotely.

Which company? I think you forgot to name it....? 
sr. member
Activity: 327
Merit: 250
If you really want to remote power on/off your miner, this company makes Web Power Switches that connect to your Ethernet network and has 10 outlets and you login to a web page and control your outlets remotely.
newbie
Activity: 60
Merit: 0
waldohoover - so are you saying that a remote reboot will get the TM back up and running at full hashing rate and that I don't need to physically unplu and replug in the PSU's?
newbie
Activity: 60
Merit: 0
It could be one of two things, either one of your power supplies is tripping its breaker or your miner has been hacked since cointerras operating system is vulnerable to the HEARTBLEED malware.  To tell if your miner has been hacked, on the status page of the cointerras GUI if you see only CTA0 or only CTA1, almost as if its been erased from the GUI than you have been hacked.  I know this because it's happened to me and apparently alot of other cointerra customers according to the Cointerra support forum.  If that is the case than contact Cointerra customer support and they will walk you through on how to reset the embedded Linux controller, it's time consuming and you have to be comfortable with working on Linux.

I have my own data center, I'm not tripping breakers.

Nobody has 'hacked' my TerraMiners, I knew about this issue, I was unaffected.

I'm doubting it's only these "two things". These are possibilities, the real answer is shitty gear. I've RMAd them already and have received the same, crappy gear. Cointerra replies with an "oh well".


Are you saying this is a "known" issue?.....if so, that sucks.  Since I am out of town 4 - 5 days a week it makes reseting these things difficult.  I guess I need to come up with some type of solution....
newbie
Activity: 27
Merit: 0
It could be one of two things, either one of your power supplies is tripping its breaker or your miner has been hacked since cointerras operating system is vulnerable to the HEARTBLEED malware.  To tell if your miner has been hacked, on the status page of the cointerras GUI if you see only CTA0 or only CTA1, almost as if its been erased from the GUI than you have been hacked.  I know this because it's happened to me and apparently alot of other cointerra customers according to the Cointerra support forum.  If that is the case than contact Cointerra customer support and they will walk you through on how to reset the embedded Linux controller, it's time consuming and you have to be comfortable with working on Linux.
newbie
Activity: 60
Merit: 0
Hi,

I have a Terraminer IV and have been running it for about 3 weeks.  I've noticed that after about 24 - 30 hours it drops to 50% hashing.  If I restart it (unplug both PSU's and then plug them back in) it resets and runs fine for about another 24- 30 hours.  It has been doing this consistently for about 10 days now.

Has anyone else experienced this problem?  Any ideas or suggestions?

Thanks.
Jump to: