I use MiningRigRentals (MRR) to sell my hashing power when I'm not actively experimenting/using it, but I keep getting segmentation faults when MRR points to a new pool while the MLD is mining.
As a temporary fix to this, I made a bash script so that it'll restart the program if it doesn't exit with code 0 which worked BARELY 50% of the time. I've been trying to figure out why this is happening by checking the CP210x drivers, reinstalling BFGMiner and rebooting my RPI, trying different configurations, clocking down, but what I noticed is that if I don't use MRR and instead mine directly to a pool myself, there's no problem when I tell BFGMiner to mine in a different pool.
I tried using NiceHash even to see if it was just MRR, but the instant BFGMiner tries to initialize MLD, it seg faults.
May someone please point me to the right direction as to where things could be going wrong?
Thanks in advance.
As a temporary fix to this, I made a bash script so that it'll restart the program if it doesn't exit with code 0 which worked BARELY 50% of the time. I've been trying to figure out why this is happening by checking the CP210x drivers, reinstalling BFGMiner and rebooting my RPI, trying different configurations, clocking down, but what I noticed is that if I don't use MRR and instead mine directly to a pool myself, there's no problem when I tell BFGMiner to mine in a different pool.
I tried using NiceHash even to see if it was just MRR, but the instant BFGMiner tries to initialize MLD, it seg faults.
May someone please point me to the right direction as to where things could be going wrong?
Thanks in advance.
I contacted MRR about this myself, and the only thing they told me was that BFG Miner was outdated.
Wrote the following script, which as it seems restarts the mining program 100% of the time.
Hope this helps.
Code:
#!/bin/bash
running=1
finish()
{
running=0
}
trap finish SIGINT
while (( running )); do
./moonlander2/bfgminer_5.4.2-futurebit2_linux_armv6/bfgminer --scrypt -o stratum+tcp://eu-01.miningrigrentals.com:3333/#skipcbcheck#xnsub -u *** -p x -S ALL --set MLD:clock=876 --no-gbt --no-getwork
echo "Restarting miner.."
sleep 5
done