Bitcoin Forum
May 26, 2024, 08:38:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Official FutureBit Moonlander 2 Driver and Support Thread on: May 27, 2020, 06:57:09 AM
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.

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
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!